fix: make landing page fully responsive for mobile - #71
Open
ivegotahunnitonit wants to merge 1 commit into
Open
Conversation
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
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
Summary
This PR makes the Crystal-PDF landing page fully responsive for mobile devices.
Changes
Navigation
sm+, visible on mobile)MenuandXicons via React stateHero Section
md+flex-col), row onsm+(sm:flex-row)@mediaquery (340px onmd+)clamp()for smooth scalingTools Grid
grid-cols-2 sm:grid-cols-4→grid-cols-1 sm:grid-cols-2 md:grid-cols-4"How It Works" section
px-4 sm:px-6,py-16 sm:py-24 md:py-32)CTA Section
sm+Footer
flex justify-between→flex-col sm:flex-rowto prevent overflow on narrow screenssm+General
px-4 sm:px-6padding (waspx-6fixed, causing edge overflow on small screens)sm:variants