feat: some shit

This commit is contained in:
2024-03-26 16:36:18 +01:00
commit f0129ecc76
31 changed files with 5074 additions and 0 deletions

20
src/layouts/Post.astro Normal file
View File

@ -0,0 +1,20 @@
---
import type { CollectionEntry } from "astro:content";
import Layout from "./Layout.astro";
type Props = CollectionEntry<"blog">["data"];
const { title } = Astro.props;
---
<Layout title={title}>
<article>
<div class="prose">
<div class="title">
<h1>{title}</h1>
<hr />
</div>
<slot />
</div>
</article>
</Layout>