Refactor src/layouts folder

This commit is contained in:
prototypa
2022-08-17 22:39:23 -04:00
parent f7e5784792
commit 97c2f7d34b
4 changed files with 36 additions and 50 deletions

View File

@ -0,0 +1,14 @@
---
import Layout from "~/layouts/BaseLayout.astro";
import Header from "~/components/widgets/Header.astro";
import Footer from "~/components/widgets/Footer.astro";
const { meta } = Astro.props;
---
<Layout meta={meta}>
<Header />
<slot />
<Footer />
</Layout>