From 64ecc338bedd7bf5072ae07a027309bda5732445 Mon Sep 17 00:00:00 2001 From: June Date: Tue, 18 Nov 2025 18:39:10 +1300 Subject: [PATCH] Add now page! --- web/src/pages/now.astro | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 web/src/pages/now.astro diff --git a/web/src/pages/now.astro b/web/src/pages/now.astro new file mode 100644 index 0000000..b02bb99 --- /dev/null +++ b/web/src/pages/now.astro @@ -0,0 +1,33 @@ +--- +import Base from "@layout/Base"; +import { authPB } from "@utils/pocketbase"; +export const prerender = false + +const pb = await authPB() + +const records = await pb.collection('now').getFullList({ + sort: '-created' +}) +--- + + + +
+

The Now!

+

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!

+
+ +
+ { + records.map(r => ( + <> +

{r.heading}

+ + + )) + } +
+ + \ No newline at end of file