PageTransitionBar wraps the page content area insideDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/apursley2012/y2k-webring/llms.txt
Use this file to discover all available pages before exploring further.
AppLayout and provides a subtle entrance animation whenever the user navigates between routes. It also renders a thin magenta progress bar that sweeps across the top of the viewport during each navigation, giving immediate visual feedback that a page change is in progress.
Props
The page content to animate. PageTransitionBar renders
children inside a Framer Motion div keyed to the current pathname, so the animation re-fires on every route change.Animation Behavior
PageTransitionBar uses two separate Framer Motion elements: Page content fade-up — thechildren wrapper animates on every pathname change:
h-1 bar in bg-y2k-magenta is mounted for 300 ms on each navigation and animates its scaleX from 0 to 1:
origin-left, so it sweeps left-to-right across the top of the screen.
Usage
PageTransitionBar is applied automatically byAppLayout — you do not need to use it directly in page components:
AppLayout receives the transition animation without any additional configuration.
Customization
To adjust the transition duration, easing, or starting offset, edit thetransition and initial objects in PageTransitionBar.js: