My website, rebuilt yet again
1---
2import BaseHead from '../components/BaseHead.astro';
3import Footer from '../components/Footer.astro';
4import Header from '../components/Header.astro';
5import { SITE_DESCRIPTION, SITE_TITLE } from '../consts';
6
7interface Props {
8 title?: string;
9 description?: string;
10 image?: ImageMetadata;
11}
12
13const {
14 title = SITE_TITLE,
15 description = SITE_DESCRIPTION,
16 image,
17} = Astro.props;
18---
19
20<!doctype html>
21<html lang="en">
22 <head>
23 <BaseHead title={title} description={description} image={image} />
24 </head>
25 <body class="flex flex-col min-h-screen bg-base00 text-base04 font-mono antialiased md:subpixel-antialised">
26 <Header />
27 <main class="max-w-hweb flex-1 mx-auto w-full flex flex-col py-16">
28 <slot />
29 </main>
30 <Footer />
31 </body>
32</html>