Simplify folders and more typescript migration
This commit is contained in:
@ -1,8 +1,8 @@
|
||||
---
|
||||
import '~/assets/styles/base.css';
|
||||
|
||||
import MetaTags from '~/components/core/MetaTags.astro';
|
||||
import BasicScripts from '~/components/core/BasicScripts.astro';
|
||||
import MetaTags from '~/components/common/MetaTags.astro';
|
||||
import BasicScripts from '~/components/common/BasicScripts.astro';
|
||||
|
||||
import { MetaSEO } from '~/types';
|
||||
|
||||
|
@ -1,24 +0,0 @@
|
||||
---
|
||||
import Layout from '~/layouts/PageLayout.astro';
|
||||
|
||||
import { MetaSEO } from '~/types';
|
||||
|
||||
export interface Props {
|
||||
meta?: MetaSEO;
|
||||
}
|
||||
|
||||
const { meta } = Astro.props;
|
||||
---
|
||||
|
||||
<Layout {meta}>
|
||||
<section class="px-6 sm:px-6 py-12 sm:py-16 lg:py-20 mx-auto max-w-3xl">
|
||||
<header>
|
||||
<h1
|
||||
class="text-center text-4xl md:text-5xl font-bold leading-tighter tracking-tighter mb-8 md:mb-16 font-heading"
|
||||
>
|
||||
<slot name="title" />
|
||||
</h1>
|
||||
</header>
|
||||
<slot />
|
||||
</section>
|
||||
</Layout>
|
Reference in New Issue
Block a user