Skip to content

fix: responsive landing page for mobile (00 bounty) - #51

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

fix: responsive landing page for mobile (00 bounty)#51
airdropia wants to merge 1 commit into
iii123iii:mainfrom
airdropia-collection:fix/responsive-landing-page-3

Conversation

@airdropia

Copy link
Copy Markdown

Closes #3\n/claim #3\n\n## Solution\n\nMakes the Crystal-PDF landing page fully responsive for mobile devices using Tailwind CSS responsive breakpoints and CSS clamp() for fluid sizing.\n\n## Changes (10 fixes in LandingPage.tsx)\n\n1. Nav padding: px-4 on mobile, px-6 on sm+ \n2. Hero text sizes: text-3xl → sm:text-4xl → md:text-5xl\n3. Prism: clamp(200px, 60vw, 340px) for fluid sizing\n4. Ambient glow: clamp() for fluid sizing\n5. Tools grid: 2 cols mobile → 3 tablet → 4 desktop\n6. Steps grid: 1 col mobile → 3 desktop\n7. Section padding: reduced on mobile\n8. Nav gaps: responsive gap-2 → sm:gap-4\n9. Footer: responsive padding\n10. CTA section: responsive padding\n\n## Testing\n\n- Verified Tailwind classes are valid\n- No new dependencies added\n- Desktop layout unchanged (backward compatible)\n- All responsive breakpoints follow mobile-first approach

Adds responsive breakpoints throughout LandingPage.tsx:
- Nav: responsive padding (px-4 sm:px-6) + gap adjustments
- Hero: responsive text sizes (text-3xl sm:text-4xl md:text-5xl)
- Prism: clamp() for fluid sizing (200px-340px based on viewport)
- Ambient glow: clamp() for fluid sizing
- Tools grid: 2 cols on mobile → 3 on tablet → 4 on desktop
- Steps grid: 1 col on mobile → 3 on desktop
- Section padding: reduced on mobile (px-4/py-12) vs desktop (px-6/py-20)
- Footer: responsive padding

Uses Tailwind CSS responsive prefixes + CSS clamp() for fluid sizing.
No new dependencies. Backward compatible (desktop layout unchanged).
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