mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
feat(ui): make logo a home link
This commit is contained in:
parent
37552bb388
commit
f6e65c3925
1 changed files with 12 additions and 9 deletions
|
|
@ -1,5 +1,6 @@
|
|||
import { ImageThemed } from "@/components/image-themed";
|
||||
import { ThemeToggle } from "../theme-toggle";
|
||||
import Link from "next/link";
|
||||
import LogoLight from "./logo-filterlists-light.png";
|
||||
import logoDark from "./logo-filterlists-dark.png";
|
||||
import styles from "./logoHeader.module.css";
|
||||
|
|
@ -9,15 +10,17 @@ export function Header() {
|
|||
<header className="sticky top-0 z-50 w-full border-b bg-background/95 backdrop-blur supports-[backdrop-filter]:bg-background/60">
|
||||
<div className="flex h-20 items-center justify-between px-6">
|
||||
<div className="flex items-center">
|
||||
<ImageThemed
|
||||
className={styles.logoHeader}
|
||||
srcLight={LogoLight}
|
||||
srcDark={logoDark}
|
||||
alt="FilterLists logo"
|
||||
width={429}
|
||||
height={100}
|
||||
priority
|
||||
/>
|
||||
<Link href="/" aria-label="Go to homepage">
|
||||
<ImageThemed
|
||||
className={styles.logoHeader}
|
||||
srcLight={LogoLight}
|
||||
srcDark={logoDark}
|
||||
alt="FilterLists logo"
|
||||
width={429}
|
||||
height={100}
|
||||
priority
|
||||
/>
|
||||
</Link>
|
||||
</div>
|
||||
<div className="flex items-center">
|
||||
<ThemeToggle />
|
||||
|
|
|
|||
Loading…
Reference in a new issue