From faa96092542febc7d7573b3dc9b7992ca9104792 Mon Sep 17 00:00:00 2001 From: syntaxbullet Date: Tue, 10 Feb 2026 13:02:41 +0100 Subject: [PATCH] refactor: Implement mobile-friendly control panel toggle and remove keyboard shortcuts hint. --- src/components/ControlPanel.astro | 613 ++++++++++++++++++++---------- src/components/Sidebar.astro | 97 ++++- src/pages/blog/[slug].astro | 269 +++++++++---- src/pages/blog/index.astro | 228 ++++++++--- src/pages/index.astro | 17 +- src/scripts/ascii-controller.ts | 136 ++++++- src/scripts/ascii-shared.ts | 14 + src/scripts/ui-bindings.ts | 37 +- src/scripts/webgl-ascii.ts | 113 +++++- src/styles/global.css | 2 +- 10 files changed, 1160 insertions(+), 366 deletions(-) diff --git a/src/components/ControlPanel.astro b/src/components/ControlPanel.astro index a62bb1f..7b1265a 100644 --- a/src/components/ControlPanel.astro +++ b/src/components/ControlPanel.astro @@ -6,226 +6,336 @@ import TuiButton from "./TuiButton.astro"; --- + + diff --git a/src/components/Sidebar.astro b/src/components/Sidebar.astro index 5dbf406..72fc02a 100644 --- a/src/components/Sidebar.astro +++ b/src/components/Sidebar.astro @@ -3,6 +3,22 @@ ---