Video player
,
},
@@ -62,6 +69,7 @@ const pricingTiers: PricingTier[] = [
button: {
variant: "secondary-two",
content: "Try free for 7 days",
+ href: "/login",
},
icon: ,
},
@@ -71,6 +79,8 @@ const pricingTiers: PricingTier[] = [
variant: "secondary-two",
content: "Speak to sales",
icon: ,
+ href: "/sales",
+ target: "_blank",
},
icon: ,
},
@@ -80,9 +90,10 @@ const frequencies = ["annually", "monthly"];
export function Pricing() {
const [frequency, setFrequency] = useState(frequencies[0]);
+ const posthog = usePostHog();
return (
-
+
Try for free, affordable paid plans
No hidden fees. Cancel anytime.
))}
@@ -130,9 +142,10 @@ interface PricingCardProps {
tier: PricingTier;
tierIndex: number;
isAnnual: boolean;
+ posthog: PostHog;
}
-export function PricingCard({ tier, tierIndex, isAnnual }: PricingCardProps) {
+function PricingCard({ tier, tierIndex, isAnnual, posthog }: PricingCardProps) {
const { name, description, features } = tier;
const price = isAnnual ? tier.price.annually : tier.price.monthly;
const isFirstTier = !tierIndex;
@@ -170,8 +183,22 @@ export function PricingCard({ tier, tierIndex, isAnnual }: PricingCardProps) {
Contact us
)}
-