import { NavIcon } from '../NavIcon'; /** * Large touch target linking to a primary LMS workflow (or `onClick` for in-app flows). */ export function QuickActionCard({ href, onClick, title, description, icon, }: { href?: string; onClick?: () => void; title: string; description: string; /** Key from `assets/admin/icons/icons.json`. */ icon: string; }) { const className = 'group flex w-full items-start gap-4 rounded-2xl border border-slate-200/80 bg-white p-4 text-left shadow-sm transition-all hover:border-brand-300/60 hover:shadow-md dark:border-slate-800 dark:bg-slate-900 dark:hover:border-brand-600/40'; const inner = ( <> {title} {description} ); if (onClick) { return ( ); } return ( {inner} ); }