mirror of
https://github.com/KazooTTT/kazoottt-blog.git
synced 2025-06-23 02:31:33 +08:00
36 lines
911 B
Plaintext
36 lines
911 B
Plaintext
---
|
|
import type { SiteMeta } from '@/types'
|
|
|
|
import BaseHead from '@/components/BaseHead.astro'
|
|
import Footer from '@/components/layout/Footer.astro'
|
|
import Header from '@/components/layout/Header.astro'
|
|
import ThemeProvider from '@/components/ThemeProvider.astro'
|
|
|
|
import { siteConfig } from '@/site-config'
|
|
|
|
interface Props {
|
|
meta: SiteMeta
|
|
}
|
|
|
|
const {
|
|
meta: { articleDate, description = siteConfig.description, ogImage, title }
|
|
} = Astro.props
|
|
---
|
|
|
|
<html lang={siteConfig.lang} class=''>
|
|
<head>
|
|
<BaseHead articleDate={articleDate} description={description} ogImage={ogImage} title={title} />
|
|
</head>
|
|
|
|
<body class='flex justify-center bg-background'>
|
|
<ThemeProvider />
|
|
<main
|
|
class='flex min-h-screen w-screen max-w-[60rem] flex-col items-center px-6 pb-10 pt-24 font-satoshi text-[0.92rem] leading-relaxed sm:px-10 lg:px-10'
|
|
>
|
|
<Header />
|
|
<slot />
|
|
<Footer />
|
|
</main>
|
|
</body>
|
|
</html>
|