blob: 79cb0c09090390e2ae43978eaca0ff94b458d689 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
import Link from "next/link"
import { PawPrint, Github, Mail } from "lucide-react"
import { Button } from "@/components/ui/button"
export function Header() {
return (
<header className="mx-auto flex w-full max-w-[var(--site-width)] items-center justify-between gap-5 py-4">
<div className="flex items-center gap-6">
<Link href="/" className="font-bold text-xl">
<PawPrint className="hover:rotate-12 transition-transform" />
</Link>
<nav className="flex gap-6">
<Link
href="/blog"
className="text-muted-foreground hover:text-foreground transition-colors"
>
Blog
</Link>
<Link
href="/projects"
className="text-muted-foreground hover:text-foreground transition-colors"
>
Projects
</Link>
</nav>
</div>
<div className="flex items-center gap-2">
<Button asChild variant="ghost" size="icon">
<Link href="https://github.com/schererleander" target="_blank" aria-label="Github">
<Github className="h-4 w-4" />
</Link>
</Button>
<Button asChild variant="ghost" size="icon">
<Link href="mailto:leander@schererleander.de" aria-label="Contact">
<Mail className="h-4 w-4" />
</Link>
</Button>
</div>
</header>
)
}
|