mirror of
https://github.com/tomru/pfadi-bussle.git
synced 2026-03-03 06:27:11 +01:00
header links to home
This commit is contained in:
@@ -1,10 +1,11 @@
|
|||||||
import React from 'react'
|
import React from 'react'
|
||||||
|
import Link from 'next/link'
|
||||||
|
|
||||||
export default function Header({ label = 'Pfadi Bussle' }: { label?: string }) {
|
export default function Header({ label = 'Pfadi Bussle' }: { label?: string }) {
|
||||||
return (
|
return (
|
||||||
<div className="flex flex-row items-center p-3 my-3 text-white bg-gray-600 rounded-sm">
|
<div className="flex flex-row items-center p-3 my-3 text-white bg-gray-600 rounded-sm">
|
||||||
<h1 className="flex-grow text-3xl">{label}</h1>
|
<h1 className="flex-grow text-3xl"><Link href="/">{label}</Link></h1>
|
||||||
<img src="/logo.webp" className="w-40 mx-3 object-contain object-top" />
|
<img src="/logo.webp" className="w-40 mx-3 object-contain object-top" />
|
||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user