Repository navigation
feat(web): show the features as an isometric puzzle stack - #526
Conversation
The features page listed its twelve features as a grid of cards. The section is now two columns: the features as a numbered list on the left, each with its icon, and on the right a sticky isometric board with one slot per feature, filled by a tile that carries that feature's icon. The two highlighted features get dark tiles and keep their label shown. Below lg the board sits above the list, without labels. The board renders full and at rest on load. Once the layout marks it [data-playing] after the first scroll, a 14s loop lifts every tile off and drops them back one at a time in feature order. Each tile has its own keyframes, generated in the frontmatter as an inline style, so the board clears at once and refills in order; 0% is the finished frame. Pointing at a feature stops the loop, lifts that tile and shows only its label. Only translate and opacity move, and reduced motion turns all of it off. The geometry (slab, slots, rounded tiles and their split side faces) is computed in the frontmatter. Tiles are HTML boxes with their own svg so their motion stays composited, and the sides use the accent color, so the theme presets recolor the board. Features gain an icon field, and Icon gains nine Lucide icons plus x/y to place an icon inside a parent svg.
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
There was a problem hiding this comment.
ℹ️ No critical issues — one breakpoint mismatch inline.
Reviewed changes
Mode: standard (private pages/ site, no flame/security/release surface). I reviewed the one commit that turns the features page from a card grid into a numbered list beside a sticky isometric puzzle board. Assessment: READY WITH MINOR FIXES. The only priority is the label breakpoint inline.
- Isometric board (
FeatureGrid.astro): The frontmatter computes the slab, slot and tile geometry and generates one keyframe set per tile. Each loop's offsets stay under 100% (the last tile finishes at 91.8%), and every lift-off ends before the first drop. - Motion gating: The loop runs under
[data-playing]fromlayouts/Site.astro, as the existing demos do.:not([data-active])stops it on hover, and reduced motion turns it off. The generated CSS is static and sent asis:inline. That is fine under the site CSP, which allows'unsafe-inline'for styles. Icon.astro: Adds nine Lucide icons andx/yprops.@lucide/astrospreads...restonto its<svg>, so they reach the nested SVG, and anundefinedvalue leaves the attribute out.features.ts: Adds anicon: stringper feature, the same convention ascontent/home.ts.
claude-opus-5-5 | 𝕏
The labels were hidden only below sm, but the board is smallest on the lg band, where it shares the row with the list: 327px wide at 1024px, with tiles about 65px across, the same as on a phone. The two always-on labels (78 and 96px) covered the tiles there. They are now hidden from lg up to xl too, and show again from 1280px, where the tiles are 86px.
There was a problem hiding this comment.
✅ No new issues found. The earlier label breakpoint finding is fixed.
Reviewed changes
Mode: standard (private pages/ site). I reviewed the one commit pushed since the last review. Assessment: READY. No priorities remain open.
- Hid the chip labels on the narrow
lgband: The chip class is nowmax-sm:hidden lg:max-xl:hidden, so labels are hidden below 640px and from 1024px to 1279px, which are the two places the board is narrowest. No rule in the component setsdisplayon.chip, sohiddenalso keeps the hovered label hidden on those bands. That is the intended behavior. The author's measurements and the corrected PR description match the code.
claude-opus-5-5 | 𝕏

Summary
The features page showed its twelve features as a grid of cards. They now read as a puzzle stack, after the "Secure Vibe Coding for Your Team" section on void.cloud.
01 / NO RUNTIME), the title and the description. The content stays plain HTML.lgthe board sits above the list. The labels are hidden where the board is narrowest, so they do not cover the tiles: belowsm(a 390px phone gives a 335px board) and on thelgband, 1024–1279px, where the board shares the row with the list and is 327–433px wide. They show from 640px to 1023px and from 1280px up (6b690d6).Motion
The page follows the site's static-first rule from #512.
[data-playing], and a 14s loop starts. Every tile lifts off at once, then the tiles drop back one at a time in feature order until the board is full again. 0% of the loop is the finished frame, so starting it moves nothing.Each tile has its own keyframes. With one keyframe and a staggered delay, a tile's lift-off is delayed as much as its drop, so the board never clears and refills in order. The twelve keyframe sets are generated in the frontmatter and emitted as
<style is:inline>; the CSP already allows inline styles (style-src 'self' 'unsafe-inline').Implementation
FeatureGrid.astro:--color-accentand a darker mix of it, so the theme presets on the home page recolor the board.aria-hidden, since the list carries the content.features.ts: aniconfield per feature.Icon.astro: nine more Lucide icons (blocks, folder-tree, hammer, layers, palette, plug, route, shield-check, zap), plusx/yprops to place an icon inside a parent<svg>. The tiles print their icon this way, through an isometricmatrix()on the top face.Verification
Checked against the production build (
turbo build --filter=@docubook/web..., served withastro preview) in Chromium:[data-playing], and CLS is 0.translateandopacitychange.astro build,astro sync && tsc --noEmitand thepagestests (3) pass.The only layout shift seen while scrolling the page comes from the navbar collapsing on scroll (about 0.0002, existing behavior); this change does not touch it.