import { useState } from "react"; import "./TierPicker.css"; const TIERS = [ { id: "free", name: "Trial Monitoring", price: { monthly: "$0", annual: "$0" }, period: { monthly: "", annual: "" }, features: [ "Monitor 1 blockchain address 24/7", "Configure alerts to fire on trigger events", "1 transaction alert type per trigger (email digest)", ], disabledFeatures: [], }, { id: "premium", name: "Premium Monitoring", price: { monthly: "$8.78", annual: "$94.78" }, period: { monthly: "/month", annual: "/year" }, features: [ "Monitor 3 blockchain addresses", "Configure two types of rule-based alerts to fire on trigger events for each of the three addresses", "Daily email digest alert", "Real-time Discord alerts", "Real-time Telegram alerts", ], disabledFeatures: [], highlighted: true, }, { id: "pro", name: "Professional Monitoring", price: { monthly: "$16.78", annual: "$181.78" }, period: { monthly: "/month", annual: "/year" }, features: [ "Monitor unlimited blockchain addresses", "Configure unlimited alert rules to fire on unlimited events on any address", "Daily email digest alert", "Real-time Discord alerts", "Real-time Telegram alerts", "Real-time Slack alerts configurable for multiple Slack groups or channels", "Unlimited transaction alert types per monitored address", ], disabledFeatures: [], }, ]; export default function TierPicker({ onSelect, selectedTier }) { const [isAnnual, setIsAnnual] = useState(true); return (