Skip to content

fix: make landing page fully responsive for mobile - #71

Open
ivegotahunnitonit wants to merge 1 commit into
iii123iii:mainfrom
ivegotahunnitonit:fix/mobile-responsive-landing-page
Open

fix: make landing page fully responsive for mobile#71
ivegotahunnitonit wants to merge 1 commit into
iii123iii:mainfrom
ivegotahunnitonit:fix/mobile-responsive-landing-page

Conversation

@ivegotahunnitonit

Copy link
Copy Markdown

Closes #3

Summary

This PR makes the Crystal-PDF landing page fully responsive for mobile devices.

Changes

Navigation

  • Added hamburger menu button (hidden on sm+, visible on mobile)
  • Animated slide-down mobile dropdown with Sign in link + Get started CTA
  • Hamburger toggles between Menu and X icons via React state

Hero Section

  • Text is centered on mobile, left-aligned on md+
  • CTA buttons stack vertically on mobile (flex-col), row on sm+ (sm:flex-row)
  • Crystal prism scales down to 220px on mobile via CSS @media query (340px on md+)
  • Fluid font sizes using clamp() for smooth scaling

Tools Grid

  • Changed from grid-cols-2 sm:grid-cols-4grid-cols-1 sm:grid-cols-2 md:grid-cols-4
  • Cards stack single-column on very small screens for better readability

"How It Works" section

  • Added responsive gap and padding (px-4 sm:px-6, py-16 sm:py-24 md:py-32)
  • Section header centered on all breakpoints

CTA Section

  • Buttons stack vertically on mobile, row on sm+

Footer

  • Changed from flex justify-betweenflex-col sm:flex-row to prevent overflow on narrow screens
  • Text centered on mobile, aligned on sm+

General

  • All sections use px-4 sm:px-6 padding (was px-6 fixed, causing edge overflow on small screens)
  • Ambient glow blobs scale with sm: variants

Closes iii123iii#3

## Changes
- Added hamburger menu with animated dropdown for mobile nav
- Hero: text centered on mobile, side-by-side on md+
- Tool cards: 1-col xs, 2-col sm, 4-col md+
- CTA/footer buttons stack vertically on mobile, row on sm+
- Crystal prism scales down to 220px on mobile via CSS media query
- All sections use responsive px-4 sm:px-6 and py-* values
- clamp() for fluid typography across all breakpoints
- Added useState for mobile menu toggle
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