lms/bootstrap/ssr/assets/call-to-action-B4BH62qx.js
2025-12-15 12:26:23 +01:00

62 lines
3.0 KiB
JavaScript

import { jsxs, jsx } from "react/jsx-runtime";
import { S as SubscribeInput } from "./subscribe-input-B_dos7fm.js";
import { g as getPageSection, S as Section } from "./section-DPFpz4mP.js";
import { usePage } from "@inertiajs/react";
import "./use-lang-44ndmTOc.js";
import "./utils-DLCPGU0v.js";
import "clsx";
import "tailwind-merge";
import "./button-gradient-primary-DnxbZRJu.js";
import "./button-CdJZJLGw.js";
import "react";
import "@radix-ui/react-slot";
import "class-variance-authority";
import "./input-error-D1JIzedA.js";
import "./dialog-DGP_3dPQ.js";
import "@radix-ui/react-dialog";
import "lucide-react";
import "./chunked-uploader-input-CZfv7yqS.js";
import "./input-BsvJqbcd.js";
import "axios";
import "sonner";
import "./loading-button-CCIxhJrY.js";
import "./label-0rIIfpX0.js";
import "@radix-ui/react-label";
import "./textarea-Z0d4V-ti.js";
import "./inertia-BtwbgBI3.js";
import "./card-B-gBwpxd.js";
import "./icon-picker-dialog-Bc1iwzL6.js";
import "./icon-picker-C-E-UbjO.js";
import "./debounce-ZFxqVthq.js";
import "./tooltip-BYKuzaoQ.js";
import "@radix-ui/react-tooltip";
import "lucide-react/dynamic";
import "./scroll-area-CDdrLubh.js";
import "@radix-ui/react-scroll-area";
import "./table-header-CdEXSV6s.js";
import "./table-BMWNGY4o.js";
import "@tanstack/react-table";
import "./table-page-size-CF314lUl.js";
import "./dropdown-menu-msun3TP8.js";
import "@radix-ui/react-dropdown-menu";
import "./route-DlE7FdTW.js";
import "./avatar-C8iCpF5R.js";
import "@radix-ui/react-avatar";
const CallToAction = () => {
var _a;
const { props } = usePage();
const ctaSection = getPageSection(props.page, "call_to_action");
return /* @__PURE__ */ jsxs(Section, { customize: props.customize, pageSection: ctaSection, containerClass: "py-20", contentClass: "relative z-10", children: [
/* @__PURE__ */ jsx("div", { className: "mx-auto w-full max-w-[820px] rounded-2xl bg-[#007867] px-6 py-20 md:rounded-3xl md:px-10", children: /* @__PURE__ */ jsxs("div", { className: "mx-auto w-full max-w-[420px] text-center text-white", children: [
/* @__PURE__ */ jsx("h1", { className: "text-2xl leading-tight font-bold text-white md:text-3xl md:leading-9", children: ctaSection == null ? void 0 : ctaSection.title }),
/* @__PURE__ */ jsx("p", { className: "mt-3 mb-6", children: ctaSection == null ? void 0 : ctaSection.description }),
/* @__PURE__ */ jsx(SubscribeInput, { buttonText: (_a = ctaSection == null ? void 0 : ctaSection.properties) == null ? void 0 : _a.button_text })
] }) }),
/* @__PURE__ */ jsx("div", { className: "after:pointer-events-none after:absolute after:top-0 after:left-16 after:h-[240px] after:w-[240px] after:rounded-full after:bg-[rgba(97,95,255,1))] after:blur-[290px] after:content-['']" }),
/* @__PURE__ */ jsx("div", { className: "after:pointer-events-none after:absolute after:right-16 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 {
CallToAction as default
};