Initial Astro site for dd0c.net
This commit is contained in:
28
src/layouts/Base.astro
Normal file
28
src/layouts/Base.astro
Normal file
@@ -0,0 +1,28 @@
|
||||
---
|
||||
const { title } = Astro.props;
|
||||
---
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>{title}</title>
|
||||
<style>
|
||||
body { font-family: system-ui, sans-serif; max-width: 720px; margin: 2rem auto; padding: 0 1rem; line-height: 1.6; color: #333; }
|
||||
a { color: #0f3460; }
|
||||
footer { margin-top: 2rem; font-size: 0.9rem; text-align: center; }
|
||||
.center { text-align: center; }
|
||||
h1 { font-size: 1.5rem; }
|
||||
h2 { font-size: 1.15rem; margin-top: 1.5rem; }
|
||||
p { margin: 0.5rem 0; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<slot />
|
||||
<footer>
|
||||
<a href="/privacy">Privacy Policy</a> ·
|
||||
<a href="/terms">Terms of Service</a> ·
|
||||
Contact: <a href="mailto:bgalura@gmail.com">bgalura@gmail.com</a>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user