leaky-ships/leaky-ships/pages/grid.tsx
aronmal 61ae4b901d
Game settings and better socket performance
- Added game settings
- Reworked GamePropsSchema for only relevant information
-> Prisma schema and zod object
- Imporved toast notifications
- No duplicate socket connections anymore
- Using now Zustand for the gameProps instead of React Context & State
2023-05-10 21:02:22 +02:00

22 lines
554 B
TypeScript

import Grid from "@components/Grid"
import Head from "next/head"
export default function Home() {
return (
<>
<Head>
<title>Create Next App</title>
<meta name="description" content="Generated by create next app" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="icon" href="/favicon.ico" />
</Head>
<main>
<div className="App">
<header className="App-header">
<Grid />
</header>
</div>
</main>
</>
)
}