import { Match, Switch } from "solid-js" import { useI18n } from "~/context/i18n" export const plans = [ { id: "20", multiplier: null }, { id: "100", multiplier: "black.plan.multiplier100" }, { id: "200", multiplier: "black.plan.multiplier200" }, ] as const export type PlanID = (typeof plans)[number]["id"] export type Plan = (typeof plans)[number] export function PlanIcon(props: { plan: string }) { const i18n = useI18n() return ( {i18n.t("black.plan.icon20")} {i18n.t("black.plan.icon100")} {i18n.t("black.plan.icon200")} ) }