summaryrefslogtreecommitdiff
path: root/src/layouts/Base.astro
diff options
context:
space:
mode:
Diffstat (limited to 'src/layouts/Base.astro')
-rw-r--r--src/layouts/Base.astro18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/layouts/Base.astro b/src/layouts/Base.astro
new file mode 100644
index 0000000..2e5b480
--- /dev/null
+++ b/src/layouts/Base.astro
@@ -0,0 +1,18 @@
+---
+import Head from "@components/Head.astro";
+import Nav from "@components/Nav.astro";
+// import Footer from "@components/Footer.astro";
+import "@styles/global.sass";
+const { title, description } = Astro.props;
+---
+
+<!DOCTYPE html>
+<html lang="en">
+ <Head title={title} description={description} />
+
+ <body class="bg-base">
+ <Nav />
+ <slot />
+ <!-- <Footer /> -->
+ </body>
+</html>