Spaces:
Sleeping
Sleeping
Create src/layouts/BaseLayout.astro
Browse files
governance-site/src/layouts/BaseLayout.astro
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
import Nav from '../components/Nav.astro';
|
| 3 |
+
import Footer from '../components/Footer.astro';
|
| 4 |
+
---
|
| 5 |
+
<!DOCTYPE html>
|
| 6 |
+
<html lang="en">
|
| 7 |
+
<head>
|
| 8 |
+
<meta charset="utf-8" />
|
| 9 |
+
<meta name="viewport" content="width=device-width" />
|
| 10 |
+
<title><slot name="title" /></title>
|
| 11 |
+
</head>
|
| 12 |
+
<body>
|
| 13 |
+
<Nav />
|
| 14 |
+
<main style="max-width:900px;margin:3rem auto;padding:0 1rem;">
|
| 15 |
+
<slot />
|
| 16 |
+
</main>
|
| 17 |
+
<Footer />
|
| 18 |
+
</body>
|
| 19 |
+
</html>
|