diff options
| author | Danilo M. <danix@danix.xyz> | 2026-04-10 12:12:07 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-04-10 12:12:07 +0200 |
| commit | 06083567247d15fec3d7620de995ca78911954c3 (patch) | |
| tree | c6aea2d3238fa235d1065f4c6da3b1666bf63942 /layouts/_partials/hero.html | |
| parent | 70fab005093cd92bfbde1bfa3380c3dc873bdfcf (diff) | |
| download | danixxyz-theme-06083567247d15fec3d7620de995ca78911954c3.tar.gz danixxyz-theme-06083567247d15fec3d7620de995ca78911954c3.zip | |
fix: add missing matrix canvas element to hero section
The matrix-rain.js script was looking for #matrix-canvas but the element was not being rendered in the hero template, causing the matrix rain animation to be invisible. Added the canvas element with data-mode="hero" attribute for proper sizing relative to the hero container.
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
Diffstat (limited to 'layouts/_partials/hero.html')
| -rw-r--r-- | layouts/_partials/hero.html | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/layouts/_partials/hero.html b/layouts/_partials/hero.html index 1be5f71..57d223d 100644 --- a/layouts/_partials/hero.html +++ b/layouts/_partials/hero.html @@ -1,4 +1,5 @@ <section class="hero" role="region" aria-label="Hero"> + <canvas id="matrix-canvas" data-mode="hero" aria-hidden="true"></canvas> <div class="hero-container"> <div class="hero-left"> <div class="hero-prompt">welcome to</div> |
