주사위판 배치 그리기 일부 구현.

This commit is contained in:
kimyu
2026-08-29 12:58:43 +09:00
parent d3000598c6
commit 7608b166b3
4 changed files with 105 additions and 11 deletions

16
app/main/page.tsx Normal file
View File

@@ -0,0 +1,16 @@
import React from 'react';
import { useRouter } from 'next/navigation';
export default function MainPage() {
const router = useRouter();
return (
<div className="flex flex-col items-center justify-center h-screen">
<h1 className="text-4xl font-bold">주루마블!</h1>
<button className="bg-blue-500 text-white px-4 py-2 rounded-md" onClick={() => {
router.push('/game/page');
}}>시작하기</button>
</div>
);
}