start frontend, adding layouts for things

This commit is contained in:
2026-01-14 11:03:44 +13:00
parent 1fdf07cdf7
commit e71acd2ce1
3 changed files with 37 additions and 12 deletions

View File

@@ -0,0 +1,15 @@
---
const {
title
} = Astro.props
---
<head>
<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>{title}</title>
</head>

View File

@@ -0,0 +1,18 @@
---
import Head from "./head.astro";
const {
title = "Memento"
} = Astro.props
---
<html>
<Head
title={title}
/>
<body>
<slot />
</body>
</html>