Feature/animation gimmick - #40
Merged
Merged
Conversation
… Layout for splash state management
… and font sizes in index.css for smaller screens
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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.
This pull request introduces a "splash" state to the application, enabling coordinated splash animation effects on the landing page and navigation layout. The splash state is managed globally via a new context, and the navigation header now visually responds to the splash animation lifecycle. The
LifecycleAnimationcomponent has been enhanced to trigger a "fly to logo" animation, and the landing page orchestrates the splash state using new hooks and callbacks.Splash State Management and Integration:
SplashContextandSplashProviderto manage the splash state across the app (SplashContext.ts,SplashProvider.tsx,useSplash.ts). [1] [2] [3]SplashProviderinApp.tsxto make splash state available throughout the component tree. [1] [2] [3]Splash Animation and Layout Coordination:
Layout.tsxto consume the splash state and apply visual effects (like blurring and fading) to the navigation bar and logo during the splash animation. [1] [2].splash-active,.blur-nav) to visually indicate the splash state in the navigation header.Splash Animation Lifecycle Enhancements:
LifecycleAnimation.tsxto support anonFlyStartcallback, which triggers when the splash animation transitions to "fly to logo", and to ensure cleanup of animation timers. [1] [2] [3] [4] [5]useSplashand the new animation callbacks, ensuring the navigation reacts in sync with the animation.UI/UX Enhancements:
These changes collectively provide a polished and coordinated splash animation experience, with global state management and improved navigation responsiveness.