"use client"; import Link from "next/link"; import { ArrowRight } from "lucide-react"; import type { TicketTier } from "@/content/tickets"; import { site } from "@/content/site"; import { AddToCalendar } from "@/components/event/AddToCalendar"; import { RiftCardConnector } from "@/components/brand/RiftFlowLines"; import { Button } from "@/components/ui/button"; import { cn } from "@/lib/utils"; type Props = { tier: TicketTier; index: number; featured?: boolean; }; export function TicketCard({ tier, index, featured }: Props) { const price = tier.priceLabel ?? (tier.priceUsd === 0 ? "Free" : `$${tier.priceUsd}`); return (
{featured && ( Popular )}

{tier.scheduleLabel ?? site.dates.label}

{tier.name}

{tier.description}

{price}

Included

    {tier.features.map((feature) => (
  • {feature}
  • ))}
); }