mirror of
https://github.com/pbakaus/impeccable.git
synced 2026-09-12 06:06:37 +03:00
Every hand-authored HTML page now carries the same sticky top nav: Home / Skills / Anti-Patterns / Tutorials / Gallery / GitHub. The three future sections (skills, anti-patterns, tutorials) will land behind these links in subsequent commits. - Add <header class="site-header"> with a <!-- site-header v1 --> marker to index, cheatsheet, gallery, privacy - Each page links public/css/sub-pages.css so it picks up the shared header styling (sticky, backdrop blur, accent-underlined current item) - Gallery: drop the inline .site-header/.header-brand/.header-nav definitions that predate the shared component (class names conflicted) - Cheatsheet: restructure the page title into .cheatsheet-page-header so it doesn't collide with the new <header class="site-header">; move the page container max-width/padding off <body> onto .cheatsheet-page-header, main, and footer so the shared sticky header spans the full viewport - Privacy: full styling refresh using sub-pages.css tokens + a small inline block for the page body typography - Add a validateSiteHeader step to scripts/build.js that fails the build if any of the four pages drops the marker - Add /privacy route to server/index.js so extensionless URLs work All four built pages pass the marker check; dev server serves all four with 200 and the shared header.