2022-12-06 13:45:23 +01:00
|
|
|
import type { ReactElement } from "react";
|
|
|
|
|
import Layout from "../components/layout";
|
|
|
|
|
import type { NextPageWithLayout } from "./_app";
|
2022-11-24 12:28:46 +01:00
|
|
|
|
2022-12-06 13:45:23 +01:00
|
|
|
const Page: NextPageWithLayout = () => {
|
2022-12-06 14:51:03 +01:00
|
|
|
return <p className="text-red-900">This is the index page</p>;
|
2022-12-06 13:45:23 +01:00
|
|
|
};
|
2022-11-14 23:12:51 +01:00
|
|
|
|
2022-12-06 13:45:23 +01:00
|
|
|
Page.getLayout = function getLayout(page: ReactElement) {
|
|
|
|
|
return <Layout>{page}</Layout>;
|
|
|
|
|
};
|
2022-11-14 23:12:51 +01:00
|
|
|
|
2022-12-06 18:49:38 +01:00
|
|
|
export default Page;
|