import AuthScreen from "@/components/Login2"; import { Link } from "waku"; import db from "@/lib/db"; import { getContextData } from "waku/middleware/context"; export default async function AuthPage() { const ctx = getContextData(); console.log({ ctx }); const data = await getData(); return (
); } const getData = async () => { // const data = { // title: "Waku", // headline: "Waku", // body: "Hello world!", // }; // return data; }; export const getConfig = async () => { return { render: "static", } as const; };