blob: 5707c6987fb2bb8cdfb6e41beacce60ecefe264e (
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
|
import { Form } from "../../components/logintest/Form";
import { getMessage, greet } from "../../actions/logintest/funcs";
import { ServerForm } from "../../components/logintest/ServerForm";
export default function HomePage() {
return (
<div className="flex h-full w-full flex-col items-center justify-center gap-8 p-6">
<div className="bg-slate-100 rounded-md p-4">
<h2 className="text-2xl">Server Form</h2>
<ServerForm />
</div>
<div className="bg-slate-100 rounded-md p-4">
<h2 className="text-2xl">Client Form</h2>
<Form message={getMessage()} greet={greet} />
</div>
</div>
);
}
export const getConfig = async () => {
return {
render: "dynamic",
} as const;
};
|