import{jsxs as n,jsx as r}from"react/jsx-runtime";import{C as s}from"./course-card-3-7q2dUiBN.js";import{g as c,S as f}from"./section-DjkqMKZX.js";import{c as l}from"./ui-components-B24mpb8o.js";import{usePage as d}from"@inertiajs/react";import"lucide-react";import"./checkout-item-C6mQbTml.js";import"./use-lang-Cw_jKJYs.js";import"react";import"./chunked-uploader-input-WemAY1Qi.js";import"axios";import"sonner";import"./input-error-BbsDx4-P.js";import"./loading-button-B_LaGOAp.js";import"./inertia-FIn3q7f1.js";import"./icon-picker-dialog-C9VejAFv.js";import"./icon-picker-DlQKexqz.js";import"./debounce-CWHP_ANh.js";import"./icon-picker-tooltip-BfucLgKc.js";import"lucide-react/dynamic";import"./table-header-DXTJ1r7-.js";import"@tanstack/react-table";import"./table-page-size-B94DPeOD.js";import"./route-D0xh7FtZ.js";import"next-themes";import"@radix-ui/react-label";import"class-variance-authority";import"@radix-ui/react-checkbox";import"@radix-ui/react-avatar";import"@radix-ui/react-dropdown-menu";import"@radix-ui/react-scroll-area";import"@radix-ui/react-popover";import"@radix-ui/react-radio-group";import"@radix-ui/react-dialog";import"@radix-ui/react-slot";import"clsx";import"@radix-ui/react-separator";import"@radix-ui/react-tooltip";import"@radix-ui/react-tabs";import"@radix-ui/react-accordion";import"@radix-ui/react-progress";import"@radix-ui/react-select";import"cmdk";import"@radix-ui/react-switch";import"react-day-picker";import"@radix-ui/react-slider";import"embla-carousel-react";import"@radix-ui/react-toggle-group";import"vaul";import"tailwind-merge";const ct=()=>{var i;const{props:o}=d(),{page:m,heroCourses:t}=o,a=c(m,"hero"),e=(i=t==null?void 0:t.length)!=null?i:0;return n(f,{customize:o.customize,pageSection:a,containerClass:"py-20",contentClass:"relative",children:[t.length>0?r("div",{className:l("relative z-10 grid grid-cols-1 items-center gap-x-20",e>1?"md:grid-cols-2":"md:grid-cols-1",e>2?"gap-y-10":"gap-y-14"),children:t==null?void 0:t.map(p=>r(s,{course:p,className:"h-full"},p.id))}):r("div",{children:r("p",{className:"text-center font-medium",children:"Top Courses Hero Section. There is no course added."})}),r("div",{className:"after:pointer-events-none after:absolute after:bottom-10 after:left-0 after:h-[240px] after:w-[240px] after:rounded-full after:bg-[rgba(0,167,111,1)] after:blur-[290px] after:content-['']"}),r("div",{className:"after:pointer-events-none after:absolute after:top-10 after:right-0 after:h-[240px] after:w-[240px] after:rounded-full after:bg-[rgba(97,95,255,1))] after:blur-[290px] after:content-['']"})]})};export{ct as default};
