---
import Base from "@layout/Base";
import { authPB } from "@utils/pocketbase";
import { getFormattedDate } from '@utils/date'
export const prerender = false
const pb = await authPB()
const records = await pb.collection('now').getFullList({
sort: '-updated'
})
const lastUpdated = getFormattedDate(records[0].updated)
---
Trying out a Now Page, inspired by some other personal sites such as this great one.
I'll update this every now and then; the gist is "this is what you would tell someone that you haven't seem in a year, what you've been up to". Love that concept!
Last Updated: {lastUpdated}
{ records.map(r => (