Added timexone island

Signed-off-by: Louis Hollingworth <louis@hollingworth.ch>
This commit is contained in:
Louis Hollingworth 2022-10-02 15:48:31 +01:00
parent 9241dc0783
commit 1e847898b9
Signed by: lucxjo
GPG key ID: B140F8923EF88DA9
9 changed files with 288 additions and 155 deletions

View file

@ -1,9 +1,19 @@
---
import NavBar from '../components/NavBar.astro';
export interface Props {
title: string;
navLinks: {
to: string;
name: string;
img: {
src: string;
alt: string;
}
}[] | undefined
}
const { title } = Astro.props;
const { title, navLinks } = Astro.props;
---
<!DOCTYPE html>
@ -16,6 +26,10 @@ const { title } = Astro.props;
<title>{title}</title>
</head>
<body>
{ navLinks != undefined ? (
<NavBar links={navLinks} />
) : (<!-- If there were NavLinks, they would be here -->)
}
<slot />
</body>
</html>