summaryrefslogtreecommitdiff
path: root/src/layouts
diff options
context:
space:
mode:
Diffstat (limited to 'src/layouts')
-rw-r--r--src/layouts/Page.astro20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/layouts/Page.astro b/src/layouts/Page.astro
new file mode 100644
index 0000000..d8e216b
--- /dev/null
+++ b/src/layouts/Page.astro
@@ -0,0 +1,20 @@
+---
+import Footer from "@components/Footer.astro";
+import Head from "@components/Head.astro";
+import Nav from "@components/Nav.astro";
+
+const { frontmatter } = Astro.props;
+---
+
+<!doctype html>
+<html lang="en">
+ <Head title={frontmatter.title} description={frontmatter.description} />
+ <body
+ class="bg-base text-text p-5 lg:p-0 text-md md:text-lg antialiased max-w-screen-md mx-auto my-10"
+ >
+ <h1><b>getchoo's website 🚀</b></h1>
+ <Nav />
+ <slot />
+ <Footer />
+ </body>
+</html>