This commit is contained in:
GuillaumeSD
2024-02-14 04:40:43 +01:00
parent bf40e2a046
commit 8e3d9220ce
64 changed files with 5731 additions and 0 deletions

15
src/pages/_app.tsx Normal file
View File

@@ -0,0 +1,15 @@
import { AppProps } from "next/app";
import Head from "next/head";
import "../../styles/global.css";
import "../../styles/index.css";
export default function MyApp({ Component, pageProps }: AppProps) {
return (
<>
<Head>
<title>Free Chess</title>
</Head>
<Component {...pageProps} />
</>
);
}

15
src/pages/_document.tsx Normal file
View File

@@ -0,0 +1,15 @@
import { Head, Html, Main, NextScript } from "next/document";
export default function Document() {
return (
<Html lang="en">
<Head>
<link rel="icon" href="/favicon.png" />
</Head>
<body>
<Main />
<NextScript />
</body>
</Html>
);
}

24
src/pages/index.tsx Normal file
View File

@@ -0,0 +1,24 @@
import TopBar from "@/sections/index/topBar";
import Board from "@/sections/index/board";
import ReviewPanelBody from "@/sections/index/reviewPanelBody";
import ReviewPanelToolBar from "@/sections/index/reviewPanelToolbar";
export default function HomePage() {
return (
<>
<TopBar />
<div className="center">
<div id="review-container">
<Board />
<div id="review-panel">
<ReviewPanelBody />
<ReviewPanelToolBar />
</div>
</div>
</div>
</>
);
}