summaryrefslogtreecommitdiff
path: root/src/pages/zoom.tsx
blob: d088553730d7116ff95d5d8911670c510f36b232 (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
27
28
29
import { getContextData } from "waku/middleware/context";
import * as Zoom from "@/zoom";

export default async function HomePage() {
  const { user } = getContextData();

  return (
    <div>
      <h1 className="text-lg text-center">Interactive Language Explorer</h1>
      <Zoom.App />;
    </div>
  );
}

const getData = async () => {
  const data = {
    title: "Waku",
    headline: "Waku",
    body: "Hello world!",
  };

  return data;
};

export const getConfig = async () => {
  return {
    render: "dynamic",
  } as const;
};