import{jsxs as r,jsx as e}from"react/jsx-runtime";import{B as n}from"./button-gradient-primary-BCGlXQYd.js";import{g as f,S as d,a as c}from"./section-DjkqMKZX.js";import{c as o}from"./ui-components-B24mpb8o.js";import{usePage as g,Link as u}from"@inertiajs/react";import"./use-lang-Cw_jKJYs.js";import"react";import"./chunked-uploader-input-WemAY1Qi.js";import"axios";import"lucide-react";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 ft=()=>{var m,l,p;const{props:a}=g(),t=f(a.page,"hero");return r(d,{customize:a.customize,pageSection:t,containerClass:o("py-20"),contentClass:o("flex flex-col items-center justify-between gap-20 md:gap-10 lg:flex-row"),children:[r("div",{className:"animate-fade-in relative w-full space-y-8 md:max-w-[480px] lg:space-y-10",children:[r("div",{className:"relative z-10",children:[e("p",{className:"text-secondary-foreground mb-2 text-lg font-medium",children:t==null?void 0:t.title}),e("h1",{className:"text-3xl leading-tight font-bold md:text-4xl lg:text-[44px] lg:leading-14",children:t==null?void 0:t.sub_title}),e("p",{className:"mt-5 text-lg",children:t==null?void 0:t.description})]}),((m=t==null?void 0:t.properties)==null?void 0:m.button_text)&&e(n,{asChild:!0,shadow:!1,className:"relative z-10 mb-10 md:mb-14",children:e(u,{href:((l=t==null?void 0:t.properties)==null?void 0:l.button_link)||"",children:(p=t==null?void 0:t.properties)==null?void 0:p.button_text})}),e("div",{className:"relative z-10 flex items-center justify-center gap-2.5 lg:justify-start",children:c(t).map((i,s)=>r("div",{className:"animate-fade-in p-2.5",style:{animationDelay:`${s*.2}s`},children:[e("h6",{className:"text-lg font-bold lg:text-xl",children:i.value}),e("p",{className:"text-muted-foreground text-sm",children:i.label})]},`item${i.number}`))}),e("div",{className:"after:pointer-events-none after:absolute after:top-0 after:-right-20 after:h-[240px] after:w-[240px] after:rounded-full after:bg-[rgba(97,95,255,1))] after:blur-[290px] after:content-['']"})]}),r("div",{className:"relative flex w-full max-w-[680px] items-center justify-center lg:justify-end",children:[e("img",{src:(t==null?void 0:t.thumbnail)||"/assets/images/intro/default/hero-image.png",alt:"Student learning online",className:"relative z-10 w-full"}),e("div",{className:"after:pointer-events-none after:absolute after:right-0 after:bottom-0 after:h-[240px] after:w-[240px] after:rounded-full after:bg-[rgba(0,167,111,1)] after:blur-[290px] after:content-['']"})]})]})};export{ft as default};
