Skip to content

Commit

Permalink
feat(header): click title to go home
Browse files Browse the repository at this point in the history
  • Loading branch information
CostasAK committed Jul 26, 2024
1 parent 23afe65 commit 962cead
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/layout/header.tsx
Original file line number Diff line number Diff line change
@@ -1,14 +1,18 @@
import { Navigation } from "@/layout/navigation";
import { Link } from "react-router-dom";

export default function Header() {
return (
<header className="flex flex-col items-center bg-neutral-900 text-neutral-200">
<title className="flex items-center justify-center gap-2 p-2 sm:gap-4 sm:p-4">
<Link
to="/"
className="flex items-center justify-center gap-2 p-2 sm:gap-4 sm:p-4"
>
<img src="/000047_hr1.png" alt="" className="size-8 sm:size-11"></img>
<h1 className="text-4xl font-bold leading-none sm:text-5xl">
FFXIV Buddy
</h1>
</title>
</Link>
<Navigation />
</header>
);
Expand Down

0 comments on commit 962cead

Please sign in to comment.