Skip to content

feat(frontend): render and cache water shader across routes - #46

Merged
petercr merged 1 commit into
mainfrom
feat/water-shader-all-routes-cache
Apr 15, 2026
Merged

feat(frontend): render and cache water shader across routes#46
petercr merged 1 commit into
mainfrom
feat/water-shader-all-routes-cache

Conversation

@petercr

@petercr petercr commented Apr 15, 2026

Copy link
Copy Markdown
Owner

Summary

  • move WaterShader mounting from the home route into GlobalLayout so it appears across routes
  • add one-time shader module preload/caching in root layout to avoid reloading on route changes
  • keep content layered above shader via a shared layout z-index style

Testing

  • npx biome check apps/frontend/src/components/GlobalLayout/GlobalLayout.tsx apps/frontend/src/components/GlobalLayout/GlobalLayout.css.ts apps/frontend/src/pages/Home/Home.tsx
  • npm run type-check --workspace=@santan/frontend (fails due existing unrelated vite.config.ts typing issue)

@vercel

vercel Bot commented Apr 15, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
ccw Ready Ready Preview, Comment Apr 15, 2026 2:56am

@petercr
petercr merged commit 5debf38 into main Apr 15, 2026
3 checks passed
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