Skip to content

fix: make landing page fully responsive for mobile devices (#3) - #65

Open
lb1192176991-lab wants to merge 1 commit into
iii123iii:mainfrom
lb1192176991-lab:fix/responsive-landing-page-3
Open

fix: make landing page fully responsive for mobile devices (#3)#65
lb1192176991-lab wants to merge 1 commit into
iii123iii:mainfrom
lb1192176991-lab:fix/responsive-landing-page-3

Conversation

@lb1192176991-lab

Copy link
Copy Markdown

What

Made the Crystal-PDF landing page fully responsive across all device sizes (320px–1440px+):

  • Nav: Compact layout on mobile — reduced padding, smaller logo/font, tighter button spacing
  • Hero: Reduced text clamp minimum from 2.2rem to 1.8rem on small screens, responsive section padding
  • Ambient glow: Added max-w-[100vw] / max-w-[80vw] constraints to prevent horizontal overflow; secondary glow hidden on mobile (hidden sm:block)
  • Tools grid: 1 column on smallest screens, 2 on xs, 4 on sm+ — ensures cards don't overflow on narrow viewports
  • How it works / CTA / Footer: Adjusted padding and spacing throughout; footer stacks vertically on mobile with centered text

Why

The landing page used fixed widths (900px, 500px ambient elements) and large minimum text sizes that caused horizontal scroll and readability issues on mobile devices. The bounty specifically asks for mobile responsiveness.

Testing

  • All changes use Tailwind responsive prefixes (sm:, md:) — no custom breakpoints needed
  • Text uses clamp() with smaller minimums on mobile
  • Grid layout adapts from 1col → 2col → 4col
  • No new dependencies or structural changes
  • Existing desktop layout preserved

Closes #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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug bounty 100 usd to whoever makes my landing page responsive for mobile

1 participant