fix landing scroll

This commit is contained in:
2026-05-26 14:55:10 -04:00
parent 3bcbdae678
commit 04e839640f
2 changed files with 2 additions and 4 deletions

View File

@@ -576,11 +576,9 @@
@keyframes page-enter {
from {
opacity: 0;
transform: translateY(8px);
}
to {
opacity: 1;
transform: translateY(0);
}
}

View File

@@ -23,8 +23,8 @@ export default function PageTransition(props: PageTransitionProps) {
<div
class={cn(
!entering() && "opacity-0",
entering() && "opacity-100 translate-y-0 animate-page-enter",
"motion-reduce:opacity-100 motion-reduce:translate-y-0 motion-reduce:animate-none",
entering() && "opacity-100 animate-page-enter",
"motion-reduce:opacity-100 motion-reduce:animate-none",
props.class,
)}
>