work in progress

This commit is contained in:
Artur AGH
2023-10-02 15:02:45 +02:00
parent 658dfde935
commit 55cd3f963d
14 changed files with 398 additions and 38 deletions

View File

@@ -5,6 +5,7 @@ import { type AppType } from "next/app";
import { api } from "@/utils/api";
import "@/styles/globals.css";
import { Layout } from "@/components/layout/layout";
const MyApp: AppType<{ session: Session | null }> = ({
Component,
@@ -12,7 +13,9 @@ const MyApp: AppType<{ session: Session | null }> = ({
}) => {
return (
<SessionProvider session={session}>
<Component {...pageProps} />
<Layout>
<Component {...pageProps} />
</Layout>
</SessionProvider>
);
};

View File

@@ -1,7 +1,17 @@
import dynamic from "next/dynamic";
import Head from "next/head";
const Canvas = dynamic(() => import("../components/canvas"), { ssr: false });
export default function Home() {
return <Canvas />;
return (
<>
<Head>
<title>Labbel Application</title>
</Head>
<div className="flex">
<Canvas />
</div>
</>
);
}