Add cinematic first-visit splash intro + route transitions; optimize …#105
Merged
Conversation
…bone logo
Splash intro (new SplashIntro component):
- First-visit-only "lights down" curtain gated on sessionStorage; never
replays on client-side route changes
- Skippable via click / tap / scroll / key; decode-gated so the logo never
animates half-loaded, with a 1.5s fallback so a stalled decode can't strand
a black screen
- Lightning double-strike that inverts the logo itself, mirroring the
existing Header.css lightning effect
- Honors prefers-reduced-motion (quick fade, no lightning/grain/scale);
fully opaque overlay dissolves to reveal the already-rendered site
- Reserve the scrollbar gutter (html { scrollbar-gutter: stable }) so the
splash scroll-lock never reflows the page on classic-scrollbar browsers
Route transitions:
- AnimatedRoutes crossfades each page in on navigation (~280ms),
disabled under prefers-reduced-motion
Logo optimization:
- Replace the 8.9MB Maldevera_logo-BONE_TEXTURE.png with a 212KB WebP
(resized 5906px -> 1400px, visually identical at display size); update
the splash and header references. Full-res master kept out of the bundle.
Includes SPLASH_RESEARCH.md documenting the research and acceptance criteria.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
…bone logo
Splash intro (new SplashIntro component):
Route transitions:
Logo optimization:
Includes SPLASH_RESEARCH.md documenting the research and acceptance criteria.