chore: init

This commit is contained in:
enscribe 2024-09-10 10:08:41 -07:00
commit f6dcc302d4
No known key found for this signature in database
GPG key ID: 9BBD5C4114E25322
118 changed files with 13645 additions and 0 deletions

33
src/layouts/Layout.astro Normal file
View 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>