Skip to content

Commit 66a126f

Browse files
TMHSDigitalclaude
andcommitted
feat(site): shared header/footer, mobile nav, and gallery search/filter facelift
Shared chrome - scripts/site/chrome.py renders one header (brand, primary nav, GitHub) and one status-bar footer for the landing page and all 125 gallery pages. Previously the gallery had only a back link and a separate footer. - Below 820px the nav folds behind a Menu disclosure (Escape and picking a link close it; focus returns to the button). Without JS it wraps instead. Phones previously saw only Install and GitHub. - Hard-coded hexes now come from new tokens.css entries (--on-select, --vp-*, --scrim). The 404 page uses the font tokens. Landing - Mobile: the gizmo no longer covers the version label, the stats show as a grid instead of being hidden, the clone URL wraps at its slashes, and the rules table stacks instead of overflowing. - "What's new" uses 3 columns instead of 6 (names were cut off). Smooth scrolling and transitions respect reduced motion, anchors clear the sticky header, copy and filter results are announced, the hero fonts are preloaded, and the decorative "Object Mode" dropdown chip is removed. Gallery - Search now matches each typed word against the title, slug, teaches line, tags and category, in any order. "view" used to match all 124 cards. - Readable titles (GN SDF Remesh) with the slug kept as a mono line. Breadcrumbs on every page. The Gallery crumb and the prev/next pager return to the reader's filtered order through sessionStorage. - Phones: one "Filters (n)" drawer replaces the controls stack, so the first card is above the fold. - Choosing a category switches the kind control to Showcase. The chip row is one tab stop with arrow-key focus moves. Cards have one stretched link and highlight on focus. Arrow-key paging only fires when nothing is focused or selected. The lightbox has an "Actual size" button. - Cards use srcset with the 640 variants. The build exits 5 when a variant is missing. - One cached docs/gallery/gallery.css with a content-hash query string replaces about 330 lines of CSS inlined into every page. Detail pages use og:type article. Canonical and og tags are omitted when siteBaseUrl is unset. - check_site_links.py also resolves srcset candidates and requires absolute og:image, twitter:image and og:url values. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent c9a3b32 commit 66a126f

133 files changed

Lines changed: 16841 additions & 45876 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎docs/gallery/anvil/index.html‎

Lines changed: 119 additions & 359 deletions
Large diffs are not rendered by default.

‎docs/gallery/apothecary-shelf/index.html‎

Lines changed: 119 additions & 359 deletions
Large diffs are not rendered by default.

‎docs/gallery/archery-target/index.html‎

Lines changed: 119 additions & 359 deletions
Large diffs are not rendered by default.

‎docs/gallery/armature-bend/index.html‎

Lines changed: 119 additions & 359 deletions
Large diffs are not rendered by default.

‎docs/gallery/attribute-domain-shear/index.html‎

Lines changed: 119 additions & 359 deletions
Large diffs are not rendered by default.

‎docs/gallery/bake-normal-high-to-low/index.html‎

Lines changed: 119 additions & 359 deletions
Large diffs are not rendered by default.

‎docs/gallery/bamboo-clump/index.html‎

Lines changed: 119 additions & 359 deletions
Large diffs are not rendered by default.

‎docs/gallery/basketball-hoop/index.html‎

Lines changed: 119 additions & 359 deletions
Large diffs are not rendered by default.

‎docs/gallery/bmesh-gear/index.html‎

Lines changed: 119 additions & 359 deletions
Large diffs are not rendered by default.

‎docs/gallery/book-trolley/index.html‎

Lines changed: 119 additions & 359 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)