From 59b25477740db859128670a2d8f7844f26182dec Mon Sep 17 00:00:00 2001 From: Pushyanth <182391953+Pushyanth02@users.noreply.github.com> Date: Wed, 9 Sep 2026 16:26:04 +0000 Subject: [PATCH] Add GitHub repository link in menu top-left MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Adds a github icon to UiIcon and a top-left corner link on the menu screen that opens the repository in a new tab, styled to match the existing utility cluster. 🤖 Generated with Codebuff Co-Authored-By: Codebuff --- src/components/game/icons.tsx | 6 ++++++ src/components/game/screens.tsx | 14 ++++++++++++++ 2 files changed, 20 insertions(+) diff --git a/src/components/game/icons.tsx b/src/components/game/icons.tsx index 0866943..69d1b02 100644 --- a/src/components/game/icons.tsx +++ b/src/components/game/icons.tsx @@ -457,6 +457,12 @@ export function UiIcon({ name, ...p }: IconProps & { name: string }) { ); + case "github": + return ( + + + + ); default: return null; } } diff --git a/src/components/game/screens.tsx b/src/components/game/screens.tsx index b2dd7c8..c1ea071 100644 --- a/src/components/game/screens.tsx +++ b/src/components/game/screens.tsx @@ -242,6 +242,20 @@ export function MenuScreen({ chapter, chapterSubtitle, onStart }: MenuProps) {
+ {/* GitHub repo link — top-left corner */} + + + GitHub + + {/* V1.1 — the top-right utility cluster: FULLSCREEN (icon, live state), Settings, Sound — one compact row, identical sizing and spacing, 44px touch targets on every device. */}