Add Liquid Glass Buttons, 3D Shader Gradient, and DESIGN.md Specification - #97
Add Liquid Glass Buttons, 3D Shader Gradient, and DESIGN.md Specification#97Simonc44 wants to merge 4 commits into
Conversation
…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>
|
👋 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 New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
…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>
This PR introduces a high-end visual aesthetic transition on the home page and action buttons:
@shadergradient/react) rendered lazily on the client side.@ybouane/liquidglass) managed through a high-performance IntersectionObserver hook, bypassing common WebGL concurrent context limits.PR created automatically by Jules for task 8087156017997252748 started by @Simonc44