import{jsx as e,jsxs as f}from"react/jsx-runtime";import*as p from"react";import{c as t}from"./utils-CMbmcP35.js";import{B as h}from"./button-BvFBRYHq.js";import{Link as u}from"@inertiajs/react";import"clsx";import"tailwind-merge";import"@radix-ui/react-slot";import"class-variance-authority";const g=p.forwardRef(({className:i,title:m,subtitle:a,actions:r,titleClassName:o,subtitleClassName:n,actionsClassName:c,...s},x)=>e("section",{ref:x,className:t("relative z-0 flex min-h-[60vh] w-full flex-col items-center justify-center bg-gradient-to-br from-background via-background to-muted/20",i),...s,children:e("div",{className:"relative z-50 container flex justify-center flex-1 flex-col px-5 md:px-10 gap-8",children:f("div",{className:"flex flex-col items-center text-center space-y-6 animate-fadeInUp",children:[e("h1",{className:t("text-4xl sm:text-5xl md:text-6xl lg:text-7xl font-bold tracking-tight",o),children:m}),a&&e("p",{className:t("text-xl text-muted-foreground max-w-2xl mx-auto",n),children:a}),r&&r.length>0&&e("div",{className:t("flex gap-4",c),children:r.map((l,d)=>e(h,{variant:l.variant||"default",asChild:!0,className:"transition-all duration-200 hover:scale-105",children:e(u,{href:l.href,children:l.label})},d))})]})})}));g.displayName="Hero";export{g as Hero};
