import{aT as o,j as e,aX as i}from"./react-vendor-xYZnmIII.js";import{S as l}from"./search-input-BXgStIKS.js";import{g as n,S as c}from"./section-BOHF3o7C.js";import{c as a}from"./ui-components-CQM92IK3.js";import"./inertia-vendor-cBbDTmhJ.js";import"./ui-vendor-Ds9iwIxa.js";import"./debounce-CWHP_ANh.js";import"./route-D0xh7FtZ.js";import"./use-lang-Dg6I_Fym.js";import"./chunked-uploader-input-dQEAsxxf.js";import"./input-error-_LAmvivg.js";import"./loading-button-D7aXR3K4.js";import"./inertia-FIn3q7f1.js";import"./icon-picker-dialog-jzY0-ZNJ.js";import"./icon-picker-e9MMAA5U.js";import"./icon-picker-tooltip-CR2ZyXZ1.js";import"./table-header-CjMHr8CW.js";import"./table-page-size-CzF8rJAG.js";import"./interactive-vendor-B1OgcAgP.js";const H=()=>{const{props:r}=o(),t=n(r.page,"hero");return e.jsxs(c,{customize:r.customize,pageSection:t,containerClass:a("py-20"),contentClass:a("grid grid-cols-1 items-center gap-12 lg:grid-cols-2 lg:gap-3"),children:[e.jsxs("div",{className:"space-y-8 lg:space-y-10",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-secondary-foreground mb-2 text-lg font-medium",children:t==null?void 0:t.title}),e.jsx("h1",{className:"text-3xl leading-tight font-bold md:text-4xl lg:text-[42px] lg:leading-14",children:t==null?void 0:t.sub_title}),e.jsx("p",{className:"text-muted-foreground mt-5 text-lg",children:t==null?void 0:t.description})]}),e.jsxs("div",{className:"relative",children:[e.jsx(l,{iconPosition:"right",placeholder:"Search for courses that fit your goals",className:"[&>svg]:text-secondary-foreground bg-background z-10 w-full rounded md:max-w-[440px] [&>input]:h-10",onChangeValue:s=>i.get(route("category.courses",{category:"all",search:s}))}),e.jsx("div",{className:"after:pointer-events-none after:absolute after:top-1/2 after:-left-[60px] after:h-[240px] after:w-[240px] after:-translate-y-1/2 after:rounded-full after:bg-[rgba(0,167,111,1)] after:blur-[290px] after:content-[''] dark:after:bg-[#fff5cc6d]"})]})]}),e.jsxs("div",{className:"animate-fade-in relative flex items-center justify-center lg:justify-end",children:[e.jsx("img",{src:(t==null?void 0:t.thumbnail)||"",alt:"Student learning online",className:"relative z-10 h-full max-h-[460px]"}),e.jsx("div",{className:"after:pointer-events-none after:absolute after:top-0 after:right-0 after:h-[240px] after:w-[240px] after:rounded-full after:bg-[rgba(97,95,255,1))] after:blur-[290px] after:content-[''] dark:after:bg-[#fff5cc6d]"})]})]})};export{H as default};
