From 05d13b6f166eae5c2de8fe6f6038819b1b6ba1a0 Mon Sep 17 00:00:00 2001
From: polwex <polwex@sortug.com>
Date: Thu, 15 May 2025 15:50:51 +0700
Subject: m

---
 src/pages/form.tsx | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)
 create mode 100644 src/pages/form.tsx

(limited to 'src/pages/form.tsx')

diff --git a/src/pages/form.tsx b/src/pages/form.tsx
new file mode 100644
index 0000000..82ffd99
--- /dev/null
+++ b/src/pages/form.tsx
@@ -0,0 +1,27 @@
+import { Link } from "waku";
+
+import { Counter } from "../components/counter";
+import { getContextData } from "waku/middleware/context";
+import Main from "../components/Main";
+
+export default async function HomePage() {
+  const { user } = getContextData();
+
+  return <Main />;
+}
+
+const getData = async () => {
+  const data = {
+    title: "Waku",
+    headline: "Waku",
+    body: "Hello world!",
+  };
+
+  return data;
+};
+
+export const getConfig = async () => {
+  return {
+    render: "dynamic",
+  } as const;
+};
-- 
cgit v1.2.3

