Fix animations bug in Firefox. Minor updates to marketing components.

This commit is contained in:
gbuomprisco
2024-09-10 20:53:18 +02:00
parent bc624e7d96
commit 691cad1c0d
4 changed files with 11 additions and 13 deletions

View File

@@ -9,10 +9,10 @@ export const CtaButton = forwardRef<
>(function CtaButtonComponent({ className, children, ...props }, ref) {
return (
<Button
className={cn(
'h-12 rounded-xl px-4 text-base font-semibold transition-all hover:shadow-2xl dark:shadow-primary/30',
className,
)}
className={cn('h-12 rounded-xl px-4 text-base font-semibold', className, {
['transition-all hover:shadow-2xl dark:shadow-primary/30']:
props.variant === 'default' || !props.variant,
})}
asChild
ref={ref}
{...props}