Repository navigation
Add optional section bar to the app shell - #52
Merged
Merged
Conversation
- AppShell takes an optional sectionNav: a short row under the main navigation for a section's 3 to 6 main pages. The section name links home and the current page gets an accent underline. It scrolls away with the page, scrolls sideways on phones with the current link in view, and is hidden in print. Works with every sidebar position. - Shell heights account for the bar only when it is present, so short pages don't scroll. Pages without it are unchanged. - Dev-only previews at /components-ui/section-bar/[position]/[view]. - Design, shared UI, page family, CSS docs and the page-build skill describe when to use it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
RaviTejaKNTS
had a problem deploying
to
production
October 15, 2026 06:07 — with
GitHub Actions
Error
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch was successfully 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.
What
An optional second row under the main navigation, so a group of related pages can feel like its own space. Pages opt in with
sectionNavonAppShell, the same way they picksidebarPosition. No live page uses it yet; the ad networks section will be first.Behavior
aria-current="page".left,right, andnonesidebars. Shell heights account for the bar only when it is present, so short pages don't scroll and pages without it are unchanged.Files
app/ui/site/section-bar.tsx,section-bar-scroll.tsx,section-bar.module.css: the bar.app/ui/site/app-shell.tsx,app-shell.module.css: thesectionNavprop and height allowance.app/(site)/(components-ui-modes)/components-ui/section-bar/[position]/[view]/: dev-only previews, guarded like the sidebar-modes previews.lib/registered-site-pages.json, and docs:design-system.md,shared-ui.md,page-families.md,css-architecture.md, page-build skill.Checks
npm run quality: TypeScript and 79/79 core tests.Known tradeoff: with a left or right sidebar, the sticky sidebar is sized for the viewport minus the section bar, so after scrolling it ends about 50px above the bottom of the screen. Pages with no sidebar are unaffected.
🤖 Generated with Claude Code