import{jsxs as e,jsx as r}from"react/jsx-runtime";import{S as m}from"./search-input-Cc2brlhX.js";import{g as p,S as l}from"./section-DjkqMKZX.js";import{c as a}from"./ui-components-B24mpb8o.js";import{usePage as s,router as n}from"@inertiajs/react";import"./debounce-CWHP_ANh.js";import"./route-D0xh7FtZ.js";import"lucide-react";import"react";import"./use-lang-Cw_jKJYs.js";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"./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"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 mt=()=>{const{props:o}=s(),t=p(o.page,"hero");return e(l,{customize:o.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("div",{className:"space-y-8 lg:space-y-10",children:[e("div",{children:[r("p",{className:"text-secondary-foreground mb-2 text-lg font-medium",children:t==null?void 0:t.title}),r("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}),r("p",{className:"text-muted-foreground mt-5 text-lg",children:t==null?void 0:t.description})]}),e("div",{className:"relative",children:[r(m,{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:i=>n.get(route("category.courses",{category:"all",search:i}))}),r("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("div",{className:"animate-fade-in relative flex items-center justify-center lg:justify-end",children:[r("img",{src:(t==null?void 0:t.thumbnail)||"",alt:"Student learning online",className:"relative z-10 h-full max-h-[460px]"}),r("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{mt as default};
