aboutsummaryrefslogtreecommitdiff
path: root/components/header.tsx
blob: f447677c80ac7fdd686d8aa36323fa5e298cade7 (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
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 h-5 w-5" />
        </Link>
        <nav className="flex gap-6">
          <Link 
            href="/blog" 
            className="text-muted-foreground hover:text-foreground transition-colors"
          >
            Blog
          </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>
  )
}