Prevent Footer/Nav animating after suspense loads

This commit is contained in:
Sam Becker 2024-01-08 21:05:30 -06:00
parent e0f5813c39
commit e9a7de14e7
2 changed files with 2 additions and 0 deletions

View File

@ -28,6 +28,7 @@ export default function FooterClient({
<SiteGrid
contentMain={
<AnimateItems
animateOnFirstLoadOnly
type={!shouldAnimate ? 'none' : 'bottom'}
distanceOffset={10}
items={showFooter

View File

@ -51,6 +51,7 @@ export default function NavClient({
<SiteGrid
contentMain={
<AnimateItems
animateOnFirstLoadOnly
type={!shouldAnimate ? 'none' : 'bottom'}
distanceOffset={10}
items={showNav