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;
};
