95 showcase web responsiveness - #98
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR improves the site’s responsive behavior by introducing mobile-friendly navigation patterns (header + docs sidebar) and tightening layout spacing/padding to better fit small screens.
Changes:
- Add a dedicated
MobileNavsheet-based menu for small screens and hide the desktop header nav on mobile. - Make the docs sidebar usable on mobile via a sheet-based navigation drawer.
- Adjust landing/content spacing and update theme surface tokens for the eLTER theme.
Reviewed changes
Copilot reviewed 10 out of 10 changed files in this pull request and generated 6 comments.
Show a summary per file
| File | Description |
|---|---|
| src/components/search/SearchTrigger.tsx | Allows external layout control by accepting an optional className merged via cn. |
| src/components/MobileNav.tsx | Adds a mobile header navigation sheet containing links, search, external resources, and theme selector. |
| src/components/landing/Overview.tsx | Reduces vertical spacing on small screens while keeping larger spacing on md+. |
| src/components/landing/FoundationsOverview.tsx | Makes the header row stack on small screens for better responsiveness. |
| src/components/landing/ComponentsOverview.tsx | Makes the header row stack on small screens and hardens the grid against overflow with *:min-w-0. |
| src/components/docs/DocLayout.tsx | Adds a mobile docs navigation drawer and hides the desktop sidebar below lg. |
| src/components/ComponentShowcase.tsx | Removes the (very large) legacy showcase component file. |
| src/app/layout.tsx | Switches header to desktop-only link cluster + mobile sheet menu, and hides the main nav on small screens. |
| lib/components/layout/content.tsx | Updates content container padding to be mobile-first (px-4, scaling up on breakpoints). |
| lib_public/elter_setup.css | Tweaks eLTER surface color tokens (--surface, --surface-raised). |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
romanaduraciova
added a commit
that referenced
this pull request
Aug 6, 2026
romanaduraciova
added a commit
that referenced
this pull request
Aug 6, 2026
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.
No description provided.