feat: add the nav bar's lower-bezel wave canvas
A lazy chunk (journey/nav-wave.ts) that draws the bar's wave: a calm ribbon at cruise, a spectrum at speed, with a hue cycle near the top of the dial. It follows the chapter's accent and the dawn, repaints at once on resize, and draws one still frame under reduced motion. Budgeted as a deferred chunk.
This commit is contained in:
@@ -50,6 +50,8 @@ export const classifyArtifact = (path, source = '') => {
|
||||
if (/^assets\/tab-icon-[^/]+\.js$/u.test(path)) return 'deferred-non-video';
|
||||
// SPEEDOMETER: the gantry dial's model and DOM driver, loaded after mount.
|
||||
if (/^assets\/speedometer-dial-[^/]+\.js$/u.test(path)) return 'deferred-non-video';
|
||||
// NAV BAR: the lower-bezel wave canvas, loaded after the bar mounts.
|
||||
if (/^assets\/nav-wave-[^/]+\.js$/u.test(path)) return 'deferred-non-video';
|
||||
if (/^assets\/nightdrive-(?:grand-tourer|districts)-[^/]+\.glb$/u.test(path)) return 'first-live-scene';
|
||||
if (/\.(?:woff2?|ttf|otf)$/u.test(path)) return 'initial-fonts';
|
||||
if (/^assets\/hero-[^/]+\.(?:avif|webp|png|jpe?g)$/u.test(path)) return 'hero-poster';
|
||||
|
||||
Reference in New Issue
Block a user