We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 19aee87 commit 77c6649Copy full SHA for 77c6649
src/components/Hero/CallToAction.tsx
@@ -1,7 +1,8 @@
1
import type { ReactNode } from "react"
2
3
-import { Button, type ButtonProps } from "@/components/Buttons"
+import { Button, type ButtonProps } from "@/components/ui/buttons/Button"
4
5
+import { cn } from "@/lib/utils/cn"
6
import { type MatomoEventOptions, trackCustomEvent } from "@/lib/utils/matomo"
7
8
export type CallToActionProps = Omit<
@@ -24,7 +25,7 @@ export const CallToAction = ({
24
25
const buttonProps: ButtonProps = {
26
variant: index === 0 ? "solid" : "outline",
27
isSecondary: index !== 0,
- flex: { base: 1, md: "initial" },
28
+ className: cn("flex-[1] md:flex-[initial]", props?.className),
29
}
30
31
return (
0 commit comments