import { ChevronRightIcon, Loader2, type LucideIcon } from 'lucide-react'; import { getURL } from '@/lib/utils'; import AppLink from '@/components/ui/AppLink'; export default function Card({ isLoading, Icon, title, data, link }: { isLoading: boolean; Icon: LucideIcon; title: string; data: string | number; link?: string; }) { if (isLoading) return (
); return (

{data}

{title}

{link && ( )}
); }