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