diff options
author | polwex <polwex@sortug.com> | 2025-05-21 14:00:28 +0700 |
---|---|---|
committer | polwex <polwex@sortug.com> | 2025-05-21 14:00:28 +0700 |
commit | e839a5f61f0faa21ca8b4bd5767f7575d5e576ee (patch) | |
tree | 53e5bcc3977b6ebef687521a7ac387a89aeb21c8 /src/pages/logintest/index.tsx | |
parent | 4f2bd597beaa778476b84c10b571db1b13524301 (diff) |
the card flip animation is legit
Diffstat (limited to 'src/pages/logintest/index.tsx')
-rw-r--r-- | src/pages/logintest/index.tsx | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/pages/logintest/index.tsx b/src/pages/logintest/index.tsx new file mode 100644 index 0000000..df8bc08 --- /dev/null +++ b/src/pages/logintest/index.tsx @@ -0,0 +1,24 @@ +import { Form } from "./Form"; +import { getMessage, greet } from "./funcs"; +import { ServerForm } from "./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; +}; |