1
0
Fork 0

Add default layout

This commit is contained in:
Korbs 2024-06-21 02:41:29 -04:00
parent 6de1fc8113
commit 0449f77b8c

23
src/layouts/Default.astro Normal file
View file

@ -0,0 +1,23 @@
---
// Properties
const {
Title,
Description
} = Astro.props
// Components
import Head from '@components/global/Head.astro'
import Header from '@components/global/Header.astro'
import Footer from '@components/global/Footer.astro'
// Styles
import '@styles/index.scss'
import '@shoelace-style/shoelace/dist/themes/dark.css';
---
<Head Title={Title} Description={Description}/>
<Header/>
<body>
<slot/>
<Footer/>
</body>