Playing around with options for base structure and navigation

This commit is contained in:
2025-07-03 23:50:20 -07:00
parent 65e05066ea
commit d515e581b5
26 changed files with 1075 additions and 398 deletions

View File

@@ -1,17 +1,20 @@
---
import './src/styles/global.css'
import Navbar from '../components/Navbar.astro';
const pageTitle = Astro.props.title ? `${Astro.props.title} - Corwin Perren`: "Corwin Perren";
---
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8"/>
<link rel="icon" type="image/png" href="/favicon.png"/>
<meta name="viewport" content="width=device-width"/>
<meta name="generator" content={Astro.generator}/>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>{pageTitle}</title>
</head>
<body class="container mx-auto">
<h1>{pageTitle}</h1>
<slot/>
<body>
<Navbar />
<main style="padding: 2rem;">
<slot />
</main>
</body>
</html>