Add recent posts section to index

This commit is contained in:
2025-11-18 14:53:10 +13:00
parent 02c7e2f45a
commit 3378844823
3 changed files with 65 additions and 4 deletions

View File

@@ -1,13 +1,21 @@
---
import Base from "src/layout/Base.astro"
import RecentPosts from "@components/index/recentPosts"
export const prerender = false
---
<Base>
<div slot="sidebar">
sidebar stuff
<div slot="sidebar" class="text-left">
<p>New website new me!</p> <br>
<p>Check out some of the photos and posts I've added recently, as well as the new design.</p><br>
<!-- todo: write this post lmfao -->
<p>If you're interested, I actually wrote a post about the new design and all that went into it.</p>
</div>
<div slot="content">
ya
<div slot="content" class="md:py-10">
<RecentPosts/>
</div>
</Base>