IMPROVED - Replace per-title hero entrance with a unified page transition
- Add (site)/template.tsx: one framer-motion enter animation (fade + rise + blur) that runs on every navigation, so moving between dock pages has a clean transition. - Disable the staggered .hero-rise entrance now that the template handles it.
This commit is contained in:
+4
-3
@@ -422,10 +422,11 @@ html[lang="ar"] .eyebrow {
|
||||
}
|
||||
}
|
||||
|
||||
/* ---- Hero entrance (pure CSS so it never flashes blank before hydration) ---- */
|
||||
/* ---- Hero entrance ----
|
||||
Per-element rise is disabled: the site `template.tsx` now runs one unified
|
||||
page-transition animation on every navigation instead. ---- */
|
||||
.hero-rise {
|
||||
opacity: 0;
|
||||
animation: hero-rise-in 0.62s cubic-bezier(0.22, 1, 0.36, 1) both;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.hero-content > *:nth-child(1) {
|
||||
|
||||
Reference in New Issue
Block a user