import { Link } from 'react-router'; import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; import { faArrowRight, faCircleCheck, faCircleExclamation } from '@fortawesome/pro-duotone-svg-icons'; import { cx } from '@/utils/cx'; type SectionStatus = 'complete' | 'incomplete' | 'unknown'; type SectionCardProps = { title: string; description: string; icon: any; iconColor?: string; href: string; status?: SectionStatus; }; // Settings hub card. Each card represents one setup-able section (Branding, // Clinics, Doctors, Team, Telephony, AI, Widget, Rules) and links to its // dedicated page. The status badge mirrors the wizard's setup-state so an // admin can see at a glance which sections still need attention. export const SectionCard = ({ title, description, icon, iconColor = 'text-brand-primary', href, status = 'unknown', }: SectionCardProps) => { return (
{description}