2 lines
2.3 KiB
JavaScript
2 lines
2.3 KiB
JavaScript
import{u as l,j as e,L as m}from"./vendor-BKmmeuxg.js";import{C as p}from"./card-D9_SJYq6.js";import{g as d,S as n}from"./section-Bz0LxI_C.js";import"./utils-DxSsnXxD.js";import"./dialog-B2gN9MvT.js";import"./use-lang-YfV87_zl.js";import"./chunked-uploader-input-D0XPVOTS.js";import"./button-BpNwv2aE.js";import"./index-WW_1X1qx.js";import"./input-DM0goJrn.js";import"./index-D9-QKOod.js";import"./input-error-LaPr_4wd.js";import"./loading-button-BnTVAMJ7.js";import"./label-HmIcv5Yx.js";import"./textarea-CyndvowL.js";import"./inertia-SZXqLvQm.js";import"./icon-picker-dialog-AqyWbPod.js";import"./icon-picker-iXyBXP6r.js";import"./debounce-CWHP_ANh.js";import"./tooltip-BsX7Z6vz.js";import"./scroll-area-C8HGru-R.js";import"./table-header-DVkEnG6Y.js";import"./table-DWOXv4Pu.js";import"./table-page-size-OCfjNXER.js";import"./dropdown-menu-DO-po5c1.js";import"./route-B4ZMN77y.js";import"./avatar-j28afJTV.js";const G=()=>{const{props:s}=l(),{innerPage:a,customize:i,topInstructors:o}=s,t=d(a,"top_instructors");return e.jsxs(n,{customize:i,pageSection:t,containerClass:"py-[120px]",children:[e.jsxs("div",{className:"relative z-10 mx-auto mb-8 max-w-lg text-center",children:[e.jsx("h2",{className:"mb-2 text-2xl font-bold sm:text-[30px]",children:t==null?void 0:t.title}),e.jsx("p",{className:"text-muted-foreground",children:t==null?void 0:t.description})]}),e.jsxs("div",{className:"relative",children:[e.jsx("div",{className:"relative z-10 grid grid-cols-1 gap-7 md:grid-cols-2 lg:grid-cols-4",children:o.map(r=>e.jsxs(p,{className:"!shadow-card-lg relative overflow-hidden rounded-2xl",children:[e.jsx(m,{href:route("instructors.show",r.id),children:e.jsx("div",{className:"relative h-[300px] overflow-hidden",children:e.jsx("img",{className:"h-full w-full object-cover object-center",src:r.user.photo||"/assets/images/intro/default/instructors/instructor-1.png",alt:""})})}),e.jsxs("div",{className:"space-y-1 py-4 text-center",children:[e.jsx("p",{className:"font-semibold",children:r.user.name}),e.jsx("p",{className:"text-muted-foreground text-sm",children:r.designation})]})]},r.id))}),e.jsx("div",{className:"after:pointer-events-none after:absolute after:top-1/2 after:left-1/2 after:h-[240px] after:w-[240px] after:-translate-x-1/2 after:-translate-y-1/2 after:rounded-full after:bg-[rgba(97,95,255,1))] after:blur-[250px] after:content-['']"})]})]})};export{G as default};
|