Skip to content

Commit

Permalink
Merge pull request #15 from martinIvovIv/fix/make-nav-logo-link
Browse files Browse the repository at this point in the history
fix: makes the site logo into a link
  • Loading branch information
martinIvovIv committed Jun 24, 2024
2 parents 3175c5b + e421dae commit 12374df
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions src/components/navbar/navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,16 @@ export const Navbar = async () => {
<header className="bg-fg w-full border-b">
<div className="container flex h-16 items-center justify-between">
<div className="flex flex-row items-center gap-1.5 text-base font-bold leading-relaxed sm:gap-3 sm:tracking-tighter md:gap-4 md:text-lg md:tracking-tight lg:gap-7 lg:text-xl">
<Image
src="/favicon/android-chrome-192x192.png"
height={55}
width={55}
className="size-[55] object-contain"
alt={m.fenix_logo_alt()}
priority={true}
/>
<Link href={HOME_PATH}>
<Image
src="/favicon/android-chrome-192x192.png"
height={55}
width={55}
className="size-[55] object-contain"
alt={m.fenix_logo_alt()}
priority={true}
/>
</Link>

<div className="hidden flex-row items-center hover:underline sm:inline-flex sm:gap-0.5 md:gap-1 lg:gap-2">
<Icons.home className="size-4" aria-hidden={true} />
Expand Down

0 comments on commit 12374df

Please sign in to comment.