From 922ec8f6bcf1855686792071f78a2b7195cc5cf0 Mon Sep 17 00:00:00 2001 From: Haewon Kam Date: Sun, 29 Mar 2026 15:55:00 +0900 Subject: [PATCH] fix: reduce Hero section gap and Module card overflow MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Hero: remove min-h-screen, reduce padding (pt-28/pb-12 md:pt-36/pb-16) - Modules: widen cards 260px → 300px, remove whitespace-nowrap on titles/highlights - Consistent section spacing (~160px gap between sections) Co-Authored-By: Claude Opus 4.6 --- src/components/Hero.tsx | 2 +- src/components/Modules.tsx | 24 ++++++++++++------------ 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/src/components/Hero.tsx b/src/components/Hero.tsx index ee938b4..1fc303f 100644 --- a/src/components/Hero.tsx +++ b/src/components/Hero.tsx @@ -13,7 +13,7 @@ export default function Hero() { }; return ( -
+
{/* Background Gradient */}
diff --git a/src/components/Modules.tsx b/src/components/Modules.tsx index 86d1584..0784cda 100644 --- a/src/components/Modules.tsx +++ b/src/components/Modules.tsx @@ -97,7 +97,7 @@ const ModuleCard: React.FC<{ mod: any, className?: string }> = ({ mod, className
{mod.step}
-

{mod.title}

+

{mod.title}

    @@ -108,7 +108,7 @@ const ModuleCard: React.FC<{ mod: any, className?: string }> = ({ mod, className ))}
-
+
{mod.highlight}
@@ -139,7 +139,7 @@ export default function Modules() { {/* Desktop Layout — Pentagon around Flywheel */} -
+
{/* Center flywheel */}
@@ -148,27 +148,27 @@ export default function Modules() { {/* Pentagon: 5 cards around center, all same width */} {/* 1. Top center */}
- +
{/* 2. Upper right */} -
- +
+
{/* 3. Lower right */} -
- +
+
{/* 4. Lower left */} -
- +
+
{/* 5. Upper left */} -
- +
+