Skip to content

docs(site): grainient hero, glass-pill navbar, chain-link logo/favicon#35

Merged
Aitthi merged 1 commit into
mainfrom
docs/grainient-favicon
Jun 10, 2026
Merged

docs(site): grainient hero, glass-pill navbar, chain-link logo/favicon#35
Aitthi merged 1 commit into
mainfrom
docs/grainient-favicon

Conversation

@Aitthi

@Aitthi Aitthi commented Jun 10, 2026

Copy link
Copy Markdown
Member

Home-page visual polish (scoped to the home layout only — content/docs pages are unchanged).

  • Animated grainient heroGrainientBackground.vue renders a self-contained WebGL fragment shader: an animated grainy multi-colour gradient (#1BCF96 / #27aeff / #08050b). Effect inspired by reactbits grainient; the shader is written here so it runs natively in VitePress/Vue with no React or OGL dependency. Mounted via the home-hero-before slot; cancels its RAF + drops the WebGL context on unmount and pauses while the tab is hidden.
  • Floating glass "pill" navbar with light text over the gradient.
  • chain-link logo in the nav (logo.svg) + favicon (favicon.svg + multi-size favicon.ico).
  • Hero text goes light; feature cards become translucent glass.

Verified locally: build green; effect, navbar, logo and favicon confirmed via a preview screenshot at desktop width. Docs-only; no crate changes; no new npm dependency.

🤖 Generated with Claude Code

…go + favicon

Home page only (scoped to the home layout):
- GrainientBackground.vue: a self-contained WebGL fragment shader paints an
  animated grainy multi-colour gradient (#1BCF96 / #27aeff / #08050b) behind
  the home content. Effect inspired by reactbits.dev/backgrounds/grainient;
  shader written here so it runs natively in Vue (no React/OGL dependency).
  Mounted via the home-hero-before slot; cleans up the RAF + WebGL context on
  unmount and pauses while the tab is hidden.
- Floating glass 'pill' navbar with light text over the gradient.
- chain-link logo (logo.svg in the nav) + favicon (svg + multi-size ico).
- Hero text goes light and feature cards become translucent glass.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@Aitthi Aitthi merged commit 6ca7006 into main Jun 10, 2026
4 checks passed
@Aitthi Aitthi deleted the docs/grainient-favicon branch June 10, 2026 06:18
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