mirror of
https://github.com/tomru/pfadi-bussle.git
synced 2026-03-03 06:27:11 +01:00
28 lines
747 B
TypeScript
28 lines
747 B
TypeScript
import Head from 'next/head'
|
|
import Link from 'next/link'
|
|
import Logo from './logo'
|
|
import Breadcrumbs from './breadcrumbs'
|
|
|
|
export default function Header({ label }: { label?: string }) {
|
|
return (
|
|
<>
|
|
<Head>
|
|
<title>Pfadi-Bussle</title>
|
|
<link rel="icon" href="/favicon.ico" />
|
|
</Head>
|
|
|
|
<div className="my-3">
|
|
<div className="flex flex-row items-center p-3 text-white bg-blue-800 rounded-t-sm">
|
|
<h1 className="mr-3 flex-grow text-2xl">
|
|
<Link href="/">
|
|
<a className="font-extrabold">Pfadi-Bussle</a>
|
|
</Link>
|
|
</h1>
|
|
<Logo className="w-40 flex-shrink-0" />
|
|
</div>
|
|
<Breadcrumbs label={label} />
|
|
</div>
|
|
</>
|
|
)
|
|
}
|