From d3223161ee0b6603d0927df4c1b18113466d1632 Mon Sep 17 00:00:00 2001 From: lb1192176991-lab Date: Fri, 31 Jul 2026 03:29:19 +0800 Subject: [PATCH] fix: make landing page fully responsive for mobile devices (#3) - Reduce hero/CTA text size on small screens via responsive clamp() - Add max-w constraints to ambient glow elements to prevent overflow - Tools grid: 1 col on smallest screens, 2 on xs, 4 on sm+ - Compact nav on mobile: reduced padding, smaller text, shorter height - Responsive section padding throughout (px-4 on mobile, sm:px-6) - Footer: stack vertically on mobile, center text - Hide secondary glow on mobile (hidden sm:block) --- frontend/src/pages/LandingPage.tsx | 44 +++++++++++++++--------------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/frontend/src/pages/LandingPage.tsx b/frontend/src/pages/LandingPage.tsx index baede37..14bf147 100644 --- a/frontend/src/pages/LandingPage.tsx +++ b/frontend/src/pages/LandingPage.tsx @@ -133,34 +133,34 @@ export default function LandingPage() { {/* ── Ambient glow ───────────────────────────────────── */}
-
-
{/* ── Nav ────────────────────────────────────────────── */} {/* ── Hero ───────────────────────────────────────────── */} -
+
{/* Text column */}

+ text-[clamp(1.8rem,5.5vw,4.8rem)] sm:text-[clamp(2.2rem,5.5vw,4.8rem)] text-white anim-reveal"> Every
PDF tool
you'll ever{' '} need.

@@ -216,7 +216,7 @@ export default function LandingPage() { {/* ── Tools grid ─────────────────────────────────────── */}
-
+
{/* Section header */}

@@ -232,7 +232,7 @@ export default function LandingPage() {

{/* Grid */} -
+
{tools.map((t) => (
-
+

How it works @@ -309,15 +309,15 @@ export default function LandingPage() { {/* ── CTA ────────────────────────────────────────────── */}

-
+
{/* Soft top glow */}
-

+

Free to use. No credit card required.

-

Start working with
your PDFs today. @@ -342,11 +342,11 @@ export default function LandingPage() { {/* ── Footer ─────────────────────────────────────────── */}