Files
igny8/frontend/dist/assets/js/CTASection-H9rA7stX.js
IGNY8 VPS (Salman) 3c100be1cf more
2025-11-13 14:12:36 +00:00

2 lines
1.9 KiB
JavaScript

import{j as e}from"./chunk-UIGDSWPH-BhuNDbxn.js";const c=({eyebrow:l,title:n,description:t,align:r="center"})=>e.jsxs("div",{className:`flex flex-col gap-4 ${r==="center"?"items-center text-center":"items-start text-left"}`,children:[l&&e.jsx("span",{className:"inline-flex items-center rounded-full border border-white/15 bg-white/5 px-4 py-1 text-xs font-semibold uppercase tracking-[0.2em] text-brand-200",children:l}),e.jsx("h2",{className:"text-3xl md:text-4xl font-semibold text-white leading-tight max-w-3xl",children:n}),t&&e.jsx("p",{className:"text-white/60 max-w-2xl text-base md:text-lg leading-relaxed",children:t})]}),m=({title:l,description:n,primaryCta:t,secondaryCta:r})=>{const i=(x,s,a)=>s.startsWith("http")?e.jsx("a",{href:s,className:a,target:"_blank",rel:"noreferrer",children:x},s):e.jsx("a",{href:s,className:a,children:x},s);return e.jsx("section",{className:"py-24",children:e.jsx("div",{className:"max-w-5xl mx-auto px-6",children:e.jsxs("div",{className:"relative overflow-hidden rounded-3xl border border-white/10 bg-gradient-to-br from-brand-500/30 via-brand-600/20 to-transparent p-10 md:p-14",children:[e.jsx("div",{className:"absolute inset-0 bg-[radial-gradient(circle_at_top_left,_rgba(255,255,255,0.12),_transparent_60%)] pointer-events-none"}),e.jsxs("div",{className:"relative flex flex-col gap-6",children:[e.jsx("h3",{className:"text-3xl md:text-4xl font-semibold text-white leading-tight",children:l}),e.jsx("p",{className:"text-white/70 text-base md:text-lg max-w-2xl",children:n}),e.jsxs("div",{className:"flex flex-col sm:flex-row gap-4",children:[i(t.label,t.href,"inline-flex items-center justify-center rounded-full bg-white text-slate-950 px-6 py-3 text-sm md:text-base font-semibold hover:bg-brand-100 transition"),r&&i(r.label,r.href,"inline-flex items-center justify-center rounded-full border border-white/40 px-6 py-3 text-sm md:text-base font-semibold text-white hover:border-white/60 transition")]})]})]})})})};export{m as C,c as S};