add entry page with tailwind examples 😅

This commit is contained in:
Thomas Ruoff
2020-11-25 00:38:45 +01:00
parent 2b0bc396c3
commit 54da0c7f9a
4 changed files with 81 additions and 8 deletions

View File

@@ -7,9 +7,11 @@ export default function Header({ label = 'Pfadi Bussle' }: { label?: string }) {
const { username, role } = useContext(UserContext)
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-400 rounded-sm">
<h1 className="mr-3 flex-grow text-2xl">
<Link href="/">{label}</Link>
<Link href="/">
<a className="text-indigo-600 font-extrabold">{label}</a>
</Link>
</h1>
<Logo className="w-40 flex-shrink-0 text-white" />
</div>