header change

This commit is contained in:
Juthatip McDevitt 2024-03-31 14:23:31 -05:00
parent b06e96266d
commit dd09d6d9ce

View file

@ -7,7 +7,7 @@ import Link from 'next/link';
const Header = async () => {
const session = await getServerSession(authOptions);
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'>
<Link href="/" className="logo text-[#427D9D] font-semibold">Task Management</Link>
<div>
@ -20,10 +20,10 @@ const Header = async () => {
</div>
)}
{!session && (
<>
<div className='text-sm md:text-base'>
Not logged in
<LoginButton/>
</>
</div>
)}
</div>
</div>