summaryrefslogtreecommitdiff
path: root/src/layouts/Page.astro
diff options
context:
space:
mode:
authorseth <[email protected]>2024-02-12 20:29:15 -0500
committerseth <[email protected]>2024-02-13 00:24:08 -0500
commit2cbc22348ef038181e1dc89635a3be005604a4ca (patch)
tree33a33ffe0203b730078d01c5d7d3951239619ca9 /src/layouts/Page.astro
parent05780c6b2d8b184122a32095c50363a6c8617d64 (diff)
back to astro
Diffstat (limited to 'src/layouts/Page.astro')
-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>