super basic pagination

This commit is contained in:
Oliver Bryan
2025-09-08 12:09:20 +01:00
parent 012af7a95d
commit 1a753e1a76
5 changed files with 51 additions and 14 deletions

20
src/layouts/Layout.astro Normal file
View File

@@ -0,0 +1,20 @@
---
import "../styles/global.css";
import Header from "../components/Header.astro";
const { currentPage } = Astro.props;
---
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<title>ob - {currentPage}</title>
</head>
<body>
<Header currentPage={currentPage} />
<div class="p-2">
<slot />
</div>
</body>
</html>