feat(web): Add hero image and navbar

This commit is contained in:
Linnea Gräf
2024-11-17 03:02:24 +01:00
parent d268521054
commit a1b2a399ef
10 changed files with 636 additions and 14 deletions

View File

@@ -0,0 +1,13 @@
---
import Head, {type Props as HeadProps} from "./Head.astro";
type Props = {
} & HeadProps;
---
<html>
<Head {...Astro.props}></Head>
<body class="bg-gray-800 text-white">
<slot/>
<footer></footer>
</body>
</html>

View File

@@ -0,0 +1,12 @@
---
export type Props = {
title: string
}
---
<head lang="en">
<meta charset="utf-8"/>
<link rel="icon" type="image/svg+xml" href="/favicon.svg"/>
<meta name="viewport" content="width=device-width"/>
<meta name="generator" content={Astro.generator}/>
<title>{Astro.props.title}</title>
</head>