28 lines
961 B
JavaScript
28 lines
961 B
JavaScript
|
|
import Link from 'next/link';
|
|||
|
|
|
|||
|
|
export default function Home() {
|
|||
|
|
return (
|
|||
|
|
<main className="flex flex-col items-center gap-8 sm:gap-10 p-4 sm:p-8 h-screen w-full max-w-2xl text-center justify-center">
|
|||
|
|
<h1 className="text-3xl sm:text-4xl font-bold mt-4">Welcome to Mastermind Game</h1>
|
|||
|
|
|
|||
|
|
<div className="flex flex-col gap-4 sm:gap-6 w-full text-lg sm:text-2xl">
|
|||
|
|
<Link
|
|||
|
|
href="/single-player"
|
|||
|
|
className="block py-3 sm:py-4 rounded-lg bg-blue-600 hover:bg-blue-700 transition"
|
|||
|
|
>
|
|||
|
|
Single Player
|
|||
|
|
</Link>
|
|||
|
|
|
|||
|
|
<Link
|
|||
|
|
href="/multiplayer"
|
|||
|
|
className="block py-3 sm:py-4 rounded-lg bg-purple-600 hover:bg-purple-700 transition"
|
|||
|
|
>
|
|||
|
|
Multiplayer
|
|||
|
|
</Link>
|
|||
|
|
</div>
|
|||
|
|
<footer className="absolute bottom-4 left-0 w-full text-center text-sm text-neutral-500">
|
|||
|
|
© 2025 Mehmet Kılıç. All rights reserved. V0.2
|
|||
|
|
</footer>
|
|||
|
|
</main>
|
|||
|
|
);
|
|||
|
|
}
|