import{jsx as r,jsxs as s}from"react/jsx-runtime";import{a as o}from"./ui-components-B24mpb8o.js";import{Link as n}from"@inertiajs/react";import{DynamicIcon as t}from"lucide-react/dynamic";const a=({category:e})=>r(n,{href:route("category.courses",{category:e.slug}),children:s(o,{className:"hover:!shadow-card min:h-[110px] flex items-center gap-4 rounded-2xl p-6 !shadow-none",children:[r("div",{className:"bg-muted flex h-12 w-12 items-center justify-center rounded-full",children:r(t,{size:24,name:e.icon})}),s("div",{children:[r("p",{className:"text-lg font-medium",children:e.title}),s("p",{className:"text-muted-foreground",children:[e.courses_count," Courses"]})]})]})});export{a as C};
