chore: init
This commit is contained in:
commit
f6dcc302d4
118 changed files with 13645 additions and 0 deletions
33
src/layouts/Layout.astro
Normal file
33
src/layouts/Layout.astro
Normal file
|
@ -0,0 +1,33 @@
|
|||
---
|
||||
import Head from "@components/Head.astro";
|
||||
import Header from "@components/Header.astro";
|
||||
import Footer from "@components/Footer.astro";
|
||||
import PageFind from "@components/PageFind.astro";
|
||||
import { SITE } from "@consts";
|
||||
import '../styles/katex.css';
|
||||
import ProgressBar from "@components/ProgressBar.astro";
|
||||
|
||||
type Props = {
|
||||
title: string;
|
||||
description: string;
|
||||
};
|
||||
|
||||
const { title, description } = Astro.props;
|
||||
---
|
||||
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<Head title={`${title} | ${SITE.TITLE}`} description={description} />
|
||||
<link rel="stylesheet" href="/path/to/your/global.css">
|
||||
</head>
|
||||
<body>
|
||||
<Header />
|
||||
<!-- <ProgressBar /> -->
|
||||
<main>
|
||||
<slot />
|
||||
</main>
|
||||
<Footer />
|
||||
<PageFind />
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue