summaryrefslogtreecommitdiff
path: root/src/pages/picker.tsx
blob: 9cd86f5ed46af631d5451c035c1fceb6fa6a9494 (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 App from "@/picker/App";

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

  return (
    <div>
      <h1 className="text-lg text-center">Interactive Language Explorer</h1>
      <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;
};