i think i fixed a bug...

This commit is contained in:
Chop
2022-02-23 19:20:49 +01:00
parent e4478d7841
commit 95dfe2d202
14 changed files with 338 additions and 149 deletions

20
templates/nav.js Normal file
View File

@@ -0,0 +1,20 @@
import Link from "next/link";
import { Pane, Heading } from "evergreen-ui";
export default function Nav() {
return (
<Pane display="flex">
<Link href="/">
<h2 className="px-2 place-self-center">
<img src="logo.png" className="h-12" />
</h2>
</Link>
<Link href="/onas">
<h3 className="px-3 py-2 place-self-end">O nas</h3>
</Link>
<Link href="/kontakt">
<h3 className="px-3 py-2 place-self-end">Kontakt</h3>
</Link>
</Pane>
);
}