fix: orange css for offer price (#2786)

This commit is contained in:
Johannes
2024-06-20 08:39:29 +02:00
committed by GitHub
parent 08052b13cf
commit 22e44b47e6

View File

@@ -135,8 +135,7 @@ export const PricingCard = ({
<div className="mt-2 flex items-center gap-x-4">
<p
className={cn(
plan.featured ? "text-slate-900" : "text-slate-800",
plan.offer ? "text-orange-600" : "",
plan.offer ? "text-orange-600" : plan.featured ? "text-slate-900" : "text-slate-800",
"text-4xl font-bold tracking-tight"
)}>
{planPeriod === "monthly" ? plan.price.monthly : plan.price.yearly}