Skip to content

Commit

Permalink
mobile-nav
Browse files Browse the repository at this point in the history
  • Loading branch information
Ashutoshpadhi629 committed Sep 23, 2024
1 parent 03774a6 commit 3c3a487
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/layouts/mobile-nav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -112,11 +112,12 @@ export function MobileNav() {
{nonUserNavbar.map((item) => (
<Item {...item} key={item.id} />
))}
<Link href={'/create'}>

<Link href={'/create'} className="">
<SheetClose className="w-full">
<button className="w-full rounded-lg p-2 my-2 bg-[#3259E8] hover:bg-[#3e63e9] text-white font-medium ">
<div className="w-full rounded-lg p-2 my-2 bg-[#3259E8] hover:bg-[#3e63e9] text-white font-medium ">
Post a job
</button>
</div>
</SheetClose>
</Link>
</>
Expand Down Expand Up @@ -162,7 +163,6 @@ const Item = ({
}: {
path: string;
label: string;
icon: React.FC;
roleRequired?: string;
isPrivate?: boolean;
}) => {
Expand All @@ -181,7 +181,7 @@ const Item = ({
<Link
href={path}
aria-selected={pathname === path}
className="transition-colors hover:text-foreground/80 text-foreground/60 flex gap-2"
className="transition-colors hover:text-foreground/80 text-foreground/60"
>
<SheetClose className="flex items-center font-medium text-lg">
{label === 'Explore jobs' ? (
Expand Down

0 comments on commit 3c3a487

Please sign in to comment.