[PIE-5] Switch to AstroJS (!4)

Co-authored-by: june <self@breadone.net>
Co-committed-by: june <self@breadone.net>
This commit was merged in pull request #4.
This commit is contained in:
2025-08-12 16:22:40 +12:00
committed by June
parent c796709ea0
commit 5c099f5b49
29 changed files with 5838 additions and 3261 deletions

16
src/pages/index.astro Normal file
View File

@@ -0,0 +1,16 @@
---
import PageLayout from "@/layouts/base"
import { client } from "@/data/pocketbase"
const reccies = await client.collection("recipes").getFullList()
---
<PageLayout>
<p class="text-3xl font-medium">Recipie</p>
{
reccies.map(rec => (
<p>{rec.name}</p>
))
}
</PageLayout>