all posts page is pretty much just copy pasted from V2,,, idk if i wanna change that tbh it is quite good

This commit is contained in:
2025-11-14 17:14:03 +13:00
parent c37a78e409
commit 691c75db00
6 changed files with 82 additions and 1 deletions

View File

@@ -3,6 +3,8 @@ import Base from "src/layout/Base.astro"
import Carousel from "@components/photos/carousel"
import { authPB } from 'src/utils/pocketbase'
export const prerender = false
const pb = await authPB()
const photos = await pb.collection('photos').getFullList({
sort: '-created'