Files
igny8/frontend/dist/assets/js/CTASection-DlTFgPVH.js
IGNY8 VPS (Salman) b8645c0ada site rebuild
2025-11-13 15:33:49 +00:00

2 lines
2.3 KiB
JavaScript

import{j as e}from"./marketing-EaRlIsxL.js";const m=({eyebrow:l,title:a,description:t,align:s="center"})=>e.jsxs("div",{className:`flex flex-col gap-4 ${s==="center"?"items-center text-center":"items-start text-left"}`,children:[l&&e.jsx("span",{className:"inline-flex items-center rounded-full border border-brand-200 bg-brand-50 px-4 py-1 text-xs font-semibold uppercase tracking-[0.2em] text-brand-600",children:l}),e.jsx("h2",{className:"text-3xl md:text-4xl font-semibold text-slate-900 leading-tight max-w-3xl",children:a}),t&&e.jsx("p",{className:"text-slate-600 max-w-2xl text-base md:text-lg leading-relaxed",children:t})]}),c=({title:l,description:a,primaryCta:t,secondaryCta:s})=>{const n=(x,r,i)=>r.startsWith("http")?e.jsx("a",{href:r,className:i,target:"_blank",rel:"noreferrer",children:x},r):e.jsx("a",{href:r,className:i,children:x},r);return e.jsx("section",{className:"py-24 bg-gradient-to-b from-white via-slate-50 to-white",children:e.jsx("div",{className:"max-w-5xl mx-auto px-6",children:e.jsxs("div",{className:"relative overflow-hidden rounded-3xl border-2 border-[#0693e3]/20 bg-gradient-to-br from-[#0693e3]/5 via-[#5d4ae3]/5 to-[#0bbf87]/5 p-10 md:p-14 shadow-xl",children:[e.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-[#0693e3]/10 via-transparent to-[#5d4ae3]/10"}),e.jsx("div",{className:"absolute -inset-1 bg-gradient-to-r from-[#0693e3]/20 via-[#5d4ae3]/20 to-[#0bbf87]/20 rounded-3xl blur-xl -z-10 opacity-50"}),e.jsxs("div",{className:"relative flex flex-col gap-6",children:[e.jsx("h3",{className:"text-3xl md:text-4xl font-semibold text-slate-900 leading-tight",children:l}),e.jsx("p",{className:"text-slate-600 text-base md:text-lg max-w-2xl",children:a}),e.jsxs("div",{className:"flex flex-col sm:flex-row gap-4",children:[n(t.label,t.href,"inline-flex items-center justify-center rounded-full bg-gradient-to-r from-[#0693e3] to-[#0472b8] hover:from-[#0472b8] hover:to-[#0693e3] text-white px-6 py-3 text-sm md:text-base font-semibold transition shadow-lg shadow-[#0693e3]/30"),s&&n(s.label,s.href,"inline-flex items-center justify-center rounded-full border-2 border-slate-300 bg-white/50 backdrop-blur-sm px-6 py-3 text-sm md:text-base font-semibold text-slate-700 hover:text-slate-900 hover:border-[#0693e3] hover:bg-white transition")]})]})]})})})};export{c as C,m as S};