lms/bootstrap/ssr/assets/cta-prev-CKyqZJJ5.js
2025-12-15 12:26:23 +01:00

77 lines
3.4 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 CTA = () => {
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 flex flex-col items-center justify-between gap-10 md:flex-row",
children: [
/* @__PURE__ */ jsxs("div", { className: "animate-fade-in w-full max-w-[400px] space-y-8 lg:space-y-10", children: [
/* @__PURE__ */ jsxs("div", { children: [
/* @__PURE__ */ jsx("h1", { className: "text-2xl leading-tight font-bold md:text-3xl md:leading-9", children: ctaSection == null ? void 0 : ctaSection.sub_title }),
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground mt-3", children: ctaSection == null ? void 0 : ctaSection.description })
] }),
/* @__PURE__ */ jsxs("div", { className: "relative", children: [
/* @__PURE__ */ jsx(SubscribeInput, {}),
/* @__PURE__ */ jsx("div", { className: "after:pointer-events-none after:absolute after:top-0 after:-left-5 after:h-[84px] after:w-[84px] after:rounded-full after:bg-[#FFF5CC] after:blur-[50px] after:content-[''] dark:after:bg-[#fff5cc6d]" })
] })
] }),
/* @__PURE__ */ jsxs("div", { className: "animate-fade-in relative flex items-center justify-center lg:justify-end", children: [
/* @__PURE__ */ jsx("img", { src: (ctaSection == null ? void 0 : ctaSection.thumbnail) || "", alt: "Student learning online", className: "relative z-10 max-h-[444px] w-full" }),
/* @__PURE__ */ jsx("div", { className: "after:pointer-events-none after:absolute after:right-10 after:-bottom-10 after:h-[200px] after:w-[200px] after:rounded-full after:bg-[#FFF5CC] after:blur-[250px] after:content-[''] md:after:h-[310px] md:after:w-[310px] dark:after:bg-[#fff5cc6d]" })
] })
]
}
);
};
export {
CTA as default
};