website refactor

This commit is contained in:
2026-01-19 12:35:16 +01:00
parent a8731e6937
commit 15290400b3
122 changed files with 902 additions and 255 deletions

View File

@@ -235,7 +235,7 @@ function AnimatedRating({ shouldReduceMotion, value }: { shouldReduceMotion: boo
return (
<Stack as={motion.span} weight="bold" color="text-primary-accent" font="mono" size={{ base: 'sm', sm: 'base' }}>
{shouldReduceMotion ? value : <Stack as={motion.span}>{rounded}</Stack>}
{shouldReduceMotion ? value : <motion.span>{rounded}</motion.span>}
</Stack>
);
}
@@ -265,7 +265,7 @@ function AnimatedCounter({
return (
<Stack weight="bold" color="text-white" font="mono" size={{ base: 'sm', sm: 'base', md: 'lg' }}>
{shouldReduceMotion ? value : <Stack as={motion.span}>{rounded}</Stack>}{suffix}
{shouldReduceMotion ? value : <motion.span>{rounded}</motion.span>}{suffix}
</Stack>
);
}

View File

@@ -270,7 +270,7 @@ function AnimatedPoints({
weight="bold"
color="text-white"
>
{shouldReduceMotion ? points : <Stack as={motion.span}>{spring}</Stack>}
{shouldReduceMotion ? points : <motion.span>{spring}</motion.span>}
</Stack>
</Stack>
</Stack>