From a4e88fa506d5bbad239595b22eb6110e2fc5ac6c Mon Sep 17 00:00:00 2001 From: gbanyan Date: Fri, 13 Feb 2026 22:54:42 +0800 Subject: [PATCH] style: make terminal hero responsive on wider screens MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Hero: responsive max-width (2xl→3xl→4xl→5xl) and min-height - Terminal: responsive font size (sm→base→lg), padding, title bar Co-authored-by: Cursor --- components/hero-section.tsx | 6 +++--- components/terminal-window.tsx | 14 +++++++------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/components/hero-section.tsx b/components/hero-section.tsx index 736fca6..923d37f 100644 --- a/components/hero-section.tsx +++ b/components/hero-section.tsx @@ -89,7 +89,7 @@ export function HeroSection({ title, tagline }: HeroSectionProps) { }, [reducedMotion]); return ( -
+
{/* Matrix rain - full area, fades out */} {!reducedMotion && (
)} - {/* Terminal - fades in over Matrix */} + {/* Terminal - fades in over Matrix, responsive width */}
{/* macOS-style title bar */} -
-
- - - +
+
+ + +
- + gbanyan@blog — zsh
{/* Terminal content */} -
+
~ $