generated from ooriyap/astro-docker-kit
Initial commit
This commit is contained in:
19
src/layouts/BaseLayout.astro
Normal file
19
src/layouts/BaseLayout.astro
Normal file
@@ -0,0 +1,19 @@
|
||||
---
|
||||
import '../styles/global.css';
|
||||
import SEO from '../components/meta/SEO.astro';
|
||||
import type { Props as SEOProps } from '../components/meta/SEO.astro';
|
||||
|
||||
export type Props = SEOProps;
|
||||
|
||||
const seoProps = Astro.props;
|
||||
---
|
||||
|
||||
<!doctype html>
|
||||
<html lang="fa" dir="rtl">
|
||||
<head>
|
||||
<SEO {...seoProps} />
|
||||
</head>
|
||||
<body class="bg-gray-950 font-sans text-gray-100 antialiased">
|
||||
<slot />
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user