header change
This commit is contained in:
parent
b06e96266d
commit
dd09d6d9ce
1 changed files with 3 additions and 3 deletions
|
@ -7,7 +7,7 @@ import Link from 'next/link';
|
||||||
const Header = async () => {
|
const Header = async () => {
|
||||||
const session = await getServerSession(authOptions);
|
const session = await getServerSession(authOptions);
|
||||||
return (
|
return (
|
||||||
<header className="p-4 border border-b-[#9BBEC8] px-10">
|
<header className="p-4 border border-b-[#9BBEC8] px-4 md:px-10">
|
||||||
<div className='flex justify-between items-center'>
|
<div className='flex justify-between items-center'>
|
||||||
<Link href="/" className="logo text-[#427D9D] font-semibold">Task Management</Link>
|
<Link href="/" className="logo text-[#427D9D] font-semibold">Task Management</Link>
|
||||||
<div>
|
<div>
|
||||||
|
@ -20,10 +20,10 @@ const Header = async () => {
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
{!session && (
|
{!session && (
|
||||||
<>
|
<div className='text-sm md:text-base'>
|
||||||
Not logged in
|
Not logged in
|
||||||
<LoginButton/>
|
<LoginButton/>
|
||||||
</>
|
</div>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Add table
Reference in a new issue