From 18cf6a00cade7540310b2fa2c40fe68ee2e3e004 Mon Sep 17 00:00:00 2001 From: Gabriel Franco Date: Thu, 10 Sep 2026 11:45:28 -0300 Subject: [PATCH] feat(frontend): restructure main menu into Solo/Private/Matchmaking Replace the single pick-a-theme-and-start intro modal with a three-section menu (Solo/Private/Matchmaking). Solo keeps the existing gameplay reachable via a direct Play button; Private (Enter Code/Create Room) and Matchmaking (Find Match) are stubbed with console.log no-ops pending tickets #17/#15/#14. main.ts gains a small showView(name) helper that toggles .hidden across the menu/result overlay screens, keeping it a thin composition root. --- frontend/index.html | 42 ++++++++++++++++++++++++++---------- frontend/src/main.ts | 49 +++++++++++++++++++++++++++++++++--------- frontend/src/style.css | 43 ++++++++++++++++++++++++++++++++++++ 3 files changed, 113 insertions(+), 21 deletions(-) diff --git a/frontend/index.html b/frontend/index.html index 16bafb6..e1d859d 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -60,18 +60,38 @@