add: some styles and more organization
This commit is contained in:
@@ -1,7 +1,14 @@
|
||||
---
|
||||
import PageLayout from './PageLayout.astro'
|
||||
import BaseLayout from './BaseLayout.astro'
|
||||
|
||||
const { frontmatter } = Astro.props
|
||||
import Header from '../components/Header.astro'
|
||||
import Footer from '../components/Footer.astro'
|
||||
---
|
||||
|
||||
<PageLayout {...frontmatter} />
|
||||
<BaseLayout {...Astro.props}>
|
||||
<Header />
|
||||
<main class="text-content">
|
||||
<slot />
|
||||
</main>
|
||||
<Footer />
|
||||
</BaseLayout>
|
||||
|
||||
Reference in New Issue
Block a user