feat: make website fully responsive across mobile, tablet, and desktop - #223
Open
HarshPopat23 wants to merge 1 commit into
Open
HarshPopat23 wants to merge 1 commit into
HarshPopat23 wants to merge 1 commit into
Conversation
|
Amazing work! @HarshPopat23 👏 This is a really thoughtful approach to making the Tour of JSON Schema responsive. The mobile/tablet workspace tabs and the attention to overflow, spacing, and touch interactions are especially nice. 🚀 |
This branch has not been deployed
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.
Summary
This PR introduces comprehensive responsiveness across all pages and components in Tour of JSON Schema, enabling seamless usage on mobile devices (360px–480px), tablets/iPads (768px–1024px), and desktops.
Key Changes
Home Page (
/):clamp(...)) for hero headers and subtitles to eliminate text clipping and horizontal overflow./mobileto the main responsive application.Navigation Bar (
NavBar):Interactive Workspace (
/content/...):ResponsiveTourWorkspace:Lesson|Code & Output) providing 100% height and width to the active view without cramped horizontal squeezing.onTouchStart,onTouchMove,onTouchEnd) with boundary clamping for vertical divider resizing.KeyBindingsandOutputhelper messages to use naturalinline-flexwrapping, preventing overlapping badges on small containers.Testing & Verification
pnpm run build) succeeded across all 50 lesson routes with zero errors.Reff: #67