blob: 8c0f79382f48fec65f74e6feb63b3761d5d7d414 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
import { Link } from "waku";
import { getContextData } from "waku/middleware/context";
import ParseForm from "@/components/ParseForm";
export default async function HomePage() {
const { user } = getContextData();
return <ParseForm />;
}
const getData = async () => {
const data = {
title: "Waku",
headline: "Waku",
body: "Hello world!",
};
return data;
};
export const getConfig = async () => {
return {
render: "dynamic",
} as const;
};
|