Skip to content

Add Liquid Glass Buttons, 3D Shader Gradient, and DESIGN.md Specification - #97

Open
Simonc44 wants to merge 4 commits into
mainfrom
feat/liquid-glass-and-shader-gradient-8087156017997252748
Open

Add Liquid Glass Buttons, 3D Shader Gradient, and DESIGN.md Specification#97
Simonc44 wants to merge 4 commits into
mainfrom
feat/liquid-glass-and-shader-gradient-8087156017997252748

Conversation

@Simonc44

Copy link
Copy Markdown
Owner

This PR introduces a high-end visual aesthetic transition on the home page and action buttons:

  1. DESIGN.md has been created conforming to the Google design.md specification.
  2. The static hero section waves have been replaced with a fully responsive, animated 3D canvas shader (@shadergradient/react) rendered lazily on the client side.
  3. Every button on the site now gets a stunning liquid glass refractive shader effect (@ybouane/liquidglass) managed through a high-performance IntersectionObserver hook, bypassing common WebGL concurrent context limits.
  4. Fallback patterns have been added to the database clients and index loader to prevent SSR crashes on local sandbox runs without Turso.

PR created automatically by Jules for task 8087156017997252748 started by @Simonc44

…n.md

- Added DESIGN.md containing the Heritage design system specs.
- Integrated @shadergradient/react to replace standard hero wave vectors on the home page with an animated waterPlane 3D canvas shader.
- Implemented useLiquidGlassButtons global React hook to apply a dynamic liquid glass refraction effect on primary buttons.
- Leveraged IntersectionObserver to optimize and clean up WebGL contexts, avoiding browser-wide WebGL limits.
- Handled offline/local environment SQLite and SQL query fallbacks to prevent SSR/Node startup crashes.

Co-authored-by: Simonc44 <216070312+Simonc44@users.noreply.github.com>
@google-labs-jules

Copy link
Copy Markdown
Contributor

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

@vercel

vercel Bot commented Jul 12, 2026

Copy link
Copy Markdown
Contributor

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

Project Deployment Actions Updated (UTC)
mandat Ready Ready Preview, Comment Jul 12, 2026 1:32pm

…N.md specification

- Added @ybouane/liquidglass, @shadergradient/react, and WebGL dependencies.
- Replaced hero waves with an interactive 3D waterPlane ShaderGradient background, isolated inside a client-side lazy-loaded wrapper to prevent SSR issues.
- Created DESIGN.md using the @google/design.md spec format and verified it with lint.
- Implemented a resilient useLiquidGlassButtons hook that dynamically injects background siblings, handles layouts via ResizeObserver, manages WebGL context lazy initialization via IntersectionObserver, and executes safe DOM operations via deferred animation frames to avoid Virtual DOM reconciliation crashes.
- Strengthened Turso database integrations with fallback sqlite files and mockup data.

Co-authored-by: Simonc44 <216070312+Simonc44@users.noreply.github.com>
…ground, and heritage design system

- Created a dynamic DESIGN.md specification covering Heritage design system tokens and prose.
- Replaced hero section waves in index.tsx with custom React-Three-Fiber ShaderGradient background inside a robust WebGLErrorBoundary.
- Developed a high-performance useLiquidGlassButtons hook in useLiquidGlassButtons.tsx, utilizing MutationObserver, ResizeObserver, IntersectionObserver, and requestAnimationFrame deferrals to safely inject @ybouane/liquidglass canvases.
- Resolved text legibility issues by automatically wrapping text nodes inside processed buttons in spans and applying high-contrast styling in styles.css.
- Added database fallbacks to Turso loader queries to prevent local startup and SSR hydration crashes.

Co-authored-by: Simonc44 <216070312+Simonc44@users.noreply.github.com>
…efine Heritage design system

Co-authored-by: Simonc44 <216070312+Simonc44@users.noreply.github.com>
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