diff --git a/packages/nextjs/pages/index.tsx b/packages/nextjs/pages/index.tsx index a94c44b..5ec514b 100644 --- a/packages/nextjs/pages/index.tsx +++ b/packages/nextjs/pages/index.tsx @@ -1,11 +1,13 @@ +import { ReactElement } from "react"; import Link from "next/link"; -import type { NextPage } from "next"; +import type { NextPageWithLayout } from "./_app"; import { MetaHeader } from "~~/components/MetaHeader"; +import CleanLayout from "~~/components/layouts/CleanLayout"; -const Home: NextPage = () => { +const LandingPage: NextPageWithLayout = () => { return ( <> - + {/* Look into MetaHeader - should it be moved to _app.tsx ??? */}

@@ -26,4 +28,8 @@ const Home: NextPage = () => { ); }; -export default Home; +LandingPage.getLayout = function getLayout(page: ReactElement) { + return {page}; +}; + +export default LandingPage;