Skip to content

Commit

Permalink
Fixed Navbar Link
Browse files Browse the repository at this point in the history
  • Loading branch information
Abh-I-seK authored and afeefuddin committed May 25, 2024
1 parent 848dce0 commit 252f763
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions frontend/src/components/header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,19 @@ import Link from "next/link";

export default function Header() {
return (
<Link href="/">
<div className="fixed h-[65px] flex justify-between w-full bg-[rgba(255,255,255,0.3)] z-50 backdrop-blur-md headerbar shadow-[rgba(0,0,0,0.1)_0_1px_10px]">
<Logo />
<Userbuttons />
</div>
</Link>
);
}
function Logo() {
return (
<div className=" m-2 flex gap-2">
<Image src={icon} alt="Icon" className=" h-full w-auto" />
<div className="py-3 text-xl hidden md:block">Hairify</div>
<div className="m-2 flex">
<Link href="/" className="flex gap-2">
<Image src={icon} alt="Icon" className="h-full w-auto" />
<div className="py-3 text-xl hidden md:block">Hairify</div>
</Link>
</div>
);
}
Expand Down

0 comments on commit 252f763

Please sign in to comment.