From a79f05c043ef5c4fc20ac0bf36dedf6495aff557 Mon Sep 17 00:00:00 2001 From: syntaxbullet Date: Wed, 11 Feb 2026 14:41:47 +0100 Subject: [PATCH] feat: Implement desktop-only mode for the ASCII art generator and sidebar, update breakpoints to 1600px, and simplify the blog page layout with a new back link. --- src/components/ControlPanel.astro | 4 +- src/components/Sidebar.astro | 84 ++++------------- src/pages/blog/[slug].astro | 4 - src/pages/blog/index.astro | 26 +++++- src/pages/index.astro | 146 ++++++++++++++++++------------ 5 files changed, 129 insertions(+), 135 deletions(-) diff --git a/src/components/ControlPanel.astro b/src/components/ControlPanel.astro index d7741a4..481dd3b 100644 --- a/src/components/ControlPanel.astro +++ b/src/components/ControlPanel.astro @@ -586,7 +586,7 @@ import { // --- State Management --- const checkMode = () => { // Match CSS breakpoint - const isMobile = window.innerWidth <= 1024; + const isMobile = window.innerWidth <= 1600; if (isMobile && !isMobileMode) { // Entering Mobile @@ -891,7 +891,7 @@ import { } /* --- MOBILE STYLES --- */ - @media (max-width: 1024px) { + @media (max-width: 1600px) { .control-panel { padding: 0; position: fixed; diff --git a/src/components/Sidebar.astro b/src/components/Sidebar.astro index ce2ee64..23d3bfe 100644 --- a/src/components/Sidebar.astro +++ b/src/components/Sidebar.astro @@ -1,12 +1,8 @@ --- -import { ChevronDown, Zap, FileText, Mail } from "@lucide/astro"; +import { Zap, FileText, Mail } from "@lucide/astro"; ---