mirror of
https://github.com/ClovertaTheTrilobita/SanYeCao-blog.git
synced 2026-07-03 15:41:26 +00:00
51 lines
1.1 KiB
Text
51 lines
1.1 KiB
Text
---
|
|
import Footer from "@/components/Footer.astro";
|
|
import Header from "@/components/Header.astro";
|
|
import { ClientRouter } from "astro:transitions";
|
|
import { slide, fade } from "astro:transitions";
|
|
import SEO from "@/components/SEO.astro";
|
|
import FloatingActions from "@/components/FloatingActions.astro";
|
|
import Spinner from "@/components/Spinner.astro";
|
|
|
|
const {
|
|
pageTitle,
|
|
description = "在这里,发现更多(雾)欢迎来到三叶的博客🥳",
|
|
image,
|
|
} = Astro.props;
|
|
---
|
|
|
|
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<ClientRouter />
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width" />
|
|
<SEO title={pageTitle} description={description} image={image} />
|
|
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
|
<link rel="icon" href="/favicon.ico" />
|
|
<meta name="generator" content={Astro.generator} />
|
|
<title>{pageTitle}</title>
|
|
</head>
|
|
<FloatingActions />
|
|
|
|
<body>
|
|
<Header />
|
|
<Spinner />
|
|
<main
|
|
class="page-content"
|
|
transition:animate={fade({ duration: "0.05s" })}
|
|
>
|
|
<slot />
|
|
</main>
|
|
<Footer />
|
|
</body>
|
|
</html>
|
|
|
|
<style>
|
|
html,
|
|
body {
|
|
margin: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
</style>
|