Skip to content

Commit

Permalink
feat: migrate CallToAction to tailwind
Browse files Browse the repository at this point in the history
  • Loading branch information
saurabhburade committed Aug 23, 2024
1 parent 19aee87 commit 77c6649
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/components/Hero/CallToAction.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import type { ReactNode } from "react"

import { Button, type ButtonProps } from "@/components/Buttons"
import { Button, type ButtonProps } from "@/components/ui/buttons/Button"

import { cn } from "@/lib/utils/cn"
import { type MatomoEventOptions, trackCustomEvent } from "@/lib/utils/matomo"

export type CallToActionProps = Omit<
Expand All @@ -24,7 +25,7 @@ export const CallToAction = ({
const buttonProps: ButtonProps = {
variant: index === 0 ? "solid" : "outline",
isSecondary: index !== 0,
flex: { base: 1, md: "initial" },
className: cn("flex-[1] md:flex-[initial]", props?.className),
}

return (
Expand Down

0 comments on commit 77c6649

Please sign in to comment.