PageSourceSearch

https://fresh-campaign-spark.lovable.app/assets/TrustSection-Coo8o5mZ.js

js fresh-campaign-spark.lovable.app collected 2026-10-03 03:28:35 UTC 2,563 bytes, 1 lines download raw bytes

1import{j as e,r as i}from"./index-9ZedHETz.js";import{m as c}from"./proxy-DDlDSSGm.js";const v="https://checkout.coderedpro.com/products/codered-pro-annual-plan-special-deal-limited-time",b=[{value:1,suffix:"M+",label:"Professionals are improving their skills with CodeRed",decimals:0},{value:900,suffix:"+",label:"Premium courses",decimals:0},{value:98,suffix:"%",label:"Learner satisfaction rate",decimals:0},{value:4.9,suffix:"/5.0",label:"Average course ratings",decimals:1}];function w({value:t,suffix:s,decimals:d}){const[x,m]=i.useState(0),a=i.useRef(null),l=i.useRef(!1);return i.useEffect(()=>{const r=new IntersectionObserver(([u])=>{if(u.isIntersecting&&!l.current){l.current=!0;const p=2e3,f=Date.now(),n=()=>{const h=Date.now()-f,o=Math.min(h/p,1),g=1-Math.pow(1-o,3);m(g*t),o<1&&requestAnimationFrame(n)};n()}},{threshold:.5});return a.current&&r.observe(a.current),()=>r.disconnect()},[t]),e.jsxs("div",{ref:a,className:"text-3xl md:text-6xl font-bold font-display text-slate-900",children:[x.toFixed(d),s]})}const N=()=>e.jsx("section",{id:"why-pro",className:"py-14 md:py-20 lg:py-28 bg-white text-slate-900",children:e.jsx("div",{className:"container mx-auto px-5 md:px-6 lg:px-16",children:e.jsxs("div",{className:"grid lg:grid-cols-2 gap-10 md:gap-12 items-center",children:[e.jsxs(c.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-center lg:text-left",children:[e.jsxs("h2",{className:"text-[28px] md:text-4xl lg:text-5xl font-bold font-display leading-tight text-slate-900 mb-6 md:mb-8",children:["CodeRed is Trusted"," ",e.jsx("span",{className:"italic text-gradient-red-purple",children:"Across the Globe"})]}),e.jsxs("a",{href:v,className:"inline-flex items-center gap-3 font-display font-bold text-white px-8 py-3 rounded-full pro-cta-gradient hover:scale-105 transition-transform duration-300",children:["Get CodeRed Pro",e.jsx("span",{className:"w-6 h-6 rounded-full bg-white/20 flex items-center justify-center",children:"→"})]})]}),e.jsx(c.div,{initial:{opacity:0,scale:.95},whileInView:{opacity:1,scale:1},viewport:{once:!0},className:"grid grid-cols-2 rounded-2xl overflow-hidden",style:{border:"1px solid hsl(0 0% 88%)"},children:b.map((t,s)=>e.jsxs("div",{className:"text-center p-5 md:p-8",style:{borderRight:s%2===0?"1px solid hsl(0 0% 88%)":"none",borderBottom:s<2?"1px solid hsl(0 0% 88%)":"none"},children:[e.jsx(w,{value:t.value,suffix:t.suffix,decimals:t.decimals}),e.jsx("div",{className:"text-xs mt-2 text-slate-600",children:t.label})]},s))})]})})});export{N as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.