import { IconCircleCheck, IconExternalLink } from "@tabler/icons-react"; import type { Cinema, ContactChannel } from "@/lib/cinemas"; import { useI18n } from "@/lib/i18n"; import { translate } from "@/lib/i18n/messages"; import { COLORS } from "@/lib/design-tokens"; function isExternal(href: string | null): boolean { return href !== null && href.startsWith("http"); } function ContactRow({ channel }: { channel: ContactChannel }) { return (
{channel.label} {channel.value}
); } /** กล่องติดต่อ/จองตั๋ว — แต่ละส่วนซ่อนได้ถ้ายังไม่มีข้อมูล */ export function ContactPanel({ cinema }: { cinema: Cinema }) { const { messages } = useI18n(); return ( ); }