Skip to content

Feature/animation gimmick - #40

Merged
simonweigold merged 2 commits into
mainfrom
feature/animation-gimmick
Aug 4, 2026
Merged

Feature/animation gimmick#40
simonweigold merged 2 commits into
mainfrom
feature/animation-gimmick

Conversation

@simonweigold

Copy link
Copy Markdown
Owner

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 LifecycleAnimation component 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:

  • Added a global SplashContext and SplashProvider to manage the splash state across the app (SplashContext.ts, SplashProvider.tsx, useSplash.ts). [1] [2] [3]
  • Wrapped the app in SplashProvider in App.tsx to make splash state available throughout the component tree. [1] [2] [3]

Splash Animation and Layout Coordination:

  • Updated Layout.tsx to consume the splash state and apply visual effects (like blurring and fading) to the navigation bar and logo during the splash animation. [1] [2]
  • Added new CSS classes (.splash-active, .blur-nav) to visually indicate the splash state in the navigation header.

Splash Animation Lifecycle Enhancements:

  • Refactored LifecycleAnimation.tsx to support an onFlyStart callback, which triggers when the splash animation transitions to "fly to logo", and to ensure cleanup of animation timers. [1] [2] [3] [4] [5]
  • On the landing page, orchestrated splash state transitions using useSplash and the new animation callbacks, ensuring the navigation reacts in sync with the animation.

UI/UX Enhancements:

  • Tweaked responsive navigation and button spacing for improved appearance, especially during splash transitions. [1] [2] [3] [4] [5]

These changes collectively provide a polished and coordinated splash animation experience, with global state management and improved navigation responsiveness.

@simonweigold simonweigold self-assigned this Aug 4, 2026
@vercel

vercel Bot commented Aug 4, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
clerk Ready Ready Preview Aug 4, 2026 9:12am

@simonweigold
simonweigold merged commit 0e2d5ac into main Aug 4, 2026
2 checks passed
@simonweigold
simonweigold deleted the feature/animation-gimmick branch August 4, 2026 09:12
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