Add default layout
This commit is contained in:
parent
6de1fc8113
commit
0449f77b8c
23
src/layouts/Default.astro
Normal file
23
src/layouts/Default.astro
Normal 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>
|
Reference in a new issue