third time's a charm
This commit is contained in:
@@ -1,19 +1,20 @@
|
||||
import Link from "next/link";
|
||||
import { Pane, Heading } from "evergreen-ui";
|
||||
|
||||
export default function Nav() {
|
||||
return (
|
||||
<div className="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>
|
||||
</div>
|
||||
);
|
||||
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>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user