From ff3078e93411c3467d797258744a7f17a7dbdf0a Mon Sep 17 00:00:00 2001
From: polwex <polwex@sortug.com>
Date: Wed, 16 Jul 2025 10:07:06 +0700
Subject: m

---
 app/src/pages/about.tsx | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)
 create mode 100644 app/src/pages/about.tsx

(limited to 'app/src/pages/about.tsx')

diff --git a/app/src/pages/about.tsx b/app/src/pages/about.tsx
new file mode 100644
index 0000000..c641af0
--- /dev/null
+++ b/app/src/pages/about.tsx
@@ -0,0 +1,35 @@
+import { Link } from "waku";
+import { listObsidian } from "../lib/categorization";
+
+export default async function AboutPage() {
+  const data = await getData();
+
+  return (
+    <div>
+      <title>{data.title}</title>
+      <h1 className="text-4xl font-bold tracking-tight">{data.headline}</h1>
+      <p>{data.body}</p>
+      <Link to="/" className="mt-4 inline-block underline">
+        Return home
+      </Link>
+    </div>
+  );
+}
+
+const getData = async () => {
+  const obsidian = await listObsidian();
+
+  const data = {
+    title: "About",
+    headline: "About Waku",
+    body: "The minimal React framework",
+  };
+
+  return data;
+};
+
+export const getConfig = async () => {
+  return {
+    render: "static",
+  } as const;
+};
-- 
cgit v1.2.3

