Navbar,landing, meg a többi frontend javítás

This commit is contained in:
2025-10-22 15:15:20 +02:00
parent ad5f13a8e1
commit d16d481d86
3 changed files with 58 additions and 66 deletions
@@ -19,6 +19,10 @@ export default function LandingPageMain() {
navigate("/register");
};
const handleNavigateToGame = () => {
navigate("/home");
};
return (
<div className="w-full min-h-screen flex flex-col relative overflow-x-hidden">
<div className="fixed inset-0 -z-10 pointer-events-none">
@@ -28,7 +32,7 @@ export default function LandingPageMain() {
<Navbar />
</div>
<main className="flex-1 flex flex-col items-center justify-start py-15 min-h-0 mt-[64px]">
<LandingPage onNavigateToPlay={handleNavigateToPlay} onNavigateToAuth={handleNavigateToAuth} />
<LandingPage onNavigateToPlay={handleNavigateToPlay} onNavigateToAuth={handleNavigateToAuth} onNavigateToGame={handleNavigateToGame} />
</main>
<Footer />
</div>