--- import { monthlyEquivalent, type Plan } from '@/lib/pricing'; interface Props { plans: Plan[]; whatsappUrl: string; } const { plans, whatsappUrl } = Astro.props; ---
{plans.map((plan) => (
{plan.recommended && (
⭐ Recomendado
)}
{plan.name}
USD {plan.priceUsdYear}
por año · ~USD {monthlyEquivalent(plan.priceUsdYear)}/mes
    {plan.features.slice(0, 6).map((feature) => (
  • {feature}
  • ))} {plan.features.length > 6 && (
  • + {plan.features.length - 6} características más
  • )}
Elegir {plan.name}
))}