fix: responsive landing page for mobile (00 bounty) - #51
Open
airdropia wants to merge 1 commit into
Open
Conversation
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).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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