fry
209a4f5caf
Display what the API gives us as the board + pieces. Co-authored-by: David Frymoyer <david.frymoyer@gmail.com> Reviewed-on: #4 Co-authored-by: fry <david.frymoyer@gmail.com> Co-committed-by: fry <david.frymoyer@gmail.com>
20 lines
442 B
TypeScript
20 lines
442 B
TypeScript
import type { NextPage } from "next";
|
|
import Head from "next/head";
|
|
import Image from "next/image";
|
|
import Game from "../components/game";
|
|
import styles from "../styles/BoardPage.module.css";
|
|
|
|
const Home: NextPage = () => (
|
|
<div className={styles.main}>
|
|
<Head>
|
|
<title>Free Go Game</title>
|
|
<link rel="icon" href="/favicon.ico" />
|
|
</Head>
|
|
<main>
|
|
<Game gameId={1} />
|
|
</main>
|
|
</div>
|
|
);
|
|
|
|
export default Home;
|