Skip to content

Give the page a nav bar and section tabs - #13

Merged
lgoyal6 merged 1 commit into
mainfrom
docs/nav
Aug 26, 2026
Merged

Give the page a nav bar and section tabs#13
lgoyal6 merged 1 commit into
mainfrom
docs/nav

Conversation

@lgoyal6

@lgoyal6 lgoyal6 commented Aug 26, 2026

Copy link
Copy Markdown
Owner

Every project page now carries the same shell: a sticky bar with my name, GitHub and LinkedIn, then section tabs that follow scroll. Nothing else is shared between them.

The nav is written entirely in each page's own CSS variables, so it takes the palette it is dropped into instead of importing a second one: cream on the paper pages, dark on the console ones.

Section anchors are prefixed sec- because the obvious slugs collide with ids these pages already use for tables and pickers. Two elements sharing an id hands getElementById the wrong one, which took four of these pages down before I caught it.

Verified in headless Chromium: tabs present, every anchor resolves, no duplicate ids, no console errors, no horizontal overflow.

Every project page now carries the same shell: a sticky bar with my name
and the two links a reader actually wants, then tabs that follow scroll.
Nothing else is shared. The nav is written entirely in this page's own
CSS variables, so it takes the palette it is dropped into rather than
importing a second one.

Section anchors are prefixed sec- because the obvious slugs collide with
ids the pages already use for tables and pickers, and two elements
sharing an id hands the JS the wrong one.
@lgoyal6
lgoyal6 merged commit 9003a7c into main Aug 26, 2026
12 checks passed
@lgoyal6
lgoyal6 deleted the docs/nav branch August 26, 2026 23:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant