주사위판 배치 그리기 일부 구현.
This commit is contained in:
16
app/main/page.tsx
Normal file
16
app/main/page.tsx
Normal 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>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user