6 Commits

Author SHA1 Message Date
kudinDmitriyUp
7e27e08406 Bob AI: Update Packages section with pure black background, radial g 2026-07-02 16:08:05 +00:00
f2c25bcd58 Merge version_8_1782951419277 into main
Merge version_8_1782951419277 into main
2026-07-02 00:20:44 +00:00
kudinDmitriyUp
8a6cf572f3 Bob AI: Updated Stats section with dark background, animated count-u 2026-07-02 00:19:58 +00:00
109d52b101 Merge version_7_1782950985190 into main
Merge version_7_1782950985190 into main
2026-07-02 00:13:38 +00:00
kudinDmitriyUp
4d77386f83 Bob AI: Update Packages section to v2 design with custom glass cards 2026-07-02 00:12:59 +00:00
06735f3338 Merge version_6_1782950761947 into main
Merge version_6_1782950761947 into main
2026-07-02 00:08:15 +00:00
2 changed files with 252 additions and 87 deletions

View File

@@ -1,57 +1,129 @@
// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this
// file as the canonical source for the "packages" section.
/* eslint-disable */
// @ts-nocheck — generated by catalog-eject; runtime-correct but TS strict-mode false-positives on inlined catalog body
import { Check } from "lucide-react";
import Button from "@/components/ui/Button";
import TextAnimation from "@/components/ui/TextAnimation";
import ImageOrVideo from "@/components/ui/ImageOrVideo";
import ScrollReveal from "@/components/ui/ScrollReveal";
import { motion } from "motion/react";
import React from 'react';
import PricingMediaCards from '@/components/sections/pricing/PricingMediaCards';
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
const plans = [
{
tag: "WEB X PRO",
price: "$14,900",
period: "MXN",
features: [
"10 pages",
"On-page SEO",
"Forms & WhatsApp",
"GMB Premium",
"1 month support"
],
primaryButton: {
text: "Get Pro",
href: "#contact"
},
imageSrc: "http://img.b2bpic.net/free-psd/start-up-landing-page-template_23-2148819558.jpg"
},
{
tag: "WEB X DOMINATOR",
price: "$24,900",
period: "MXN",
features: [
"Everything in Pro",
"Campaign Landing Page",
"Google Analytics",
"Traffic Report",
"3 months support"
],
primaryButton: {
text: "Get Dominator",
href: "#contact"
},
imageSrc: "http://img.b2bpic.net/free-psd/business-corporation-template_23-2151402198.jpg"
}
];
export default function PackagesSection(): React.JSX.Element {
return (
<div id="packages" data-section="packages">
<SectionErrorBoundary name="packages">
<PricingMediaCards
tag="PACKAGES"
title="CHOOSE YOUR [X] LEVEL"
description="Transparent pricing for complete solutions."
plans={[
{
tag: "WEB X PRO",
price: "$14,900",
period: "MXN",
features: [
"10 pages",
"On-page SEO",
"Forms & WhatsApp",
"GMB Premium",
"1 month support",
],
primaryButton: {
text: "Get Pro",
href: "#contact",
},
imageSrc: "http://img.b2bpic.net/free-psd/start-up-landing-page-template_23-2148819558.jpg",
},
{
tag: "WEB X DOMINATOR",
price: "$24,900",
period: "MXN",
features: [
"Everything in Pro",
"Campaign Landing Page",
"Google Analytics",
"Traffic Report",
"3 months support",
],
primaryButton: {
text: "Get Dominator",
href: "#contact",
},
imageSrc: "http://img.b2bpic.net/free-psd/business-corporation-template_23-2151402198.jpg",
},
]}
textAnimation="fade-blur"
/>
</SectionErrorBoundary>
type PricingPlan = {
tag: string;
price: string;
period: string;
features: string[];
primaryButton: { text: string; href: string };
} & ({ imageSrc: string; videoSrc?: never } | { videoSrc: string; imageSrc?: never });
const PackagesInline = () => (
<section aria-label="Pricing section" className="relative py-24 bg-[#000000] overflow-hidden">
{/* Radial glow behind Dominator card (approx 65% 50%) */}
<div
className="absolute inset-0 pointer-events-none"
style={{ background: 'radial-gradient(circle at 65% 50%, rgba(125,28,46,0.18) 0%, transparent 60%)' }}
/>
{/* Decorative X watermark */}
<div className="absolute inset-0 flex items-center justify-center pointer-events-none opacity-4 overflow-hidden">
<span className="font-tight font-black text-[700px] leading-none text-white select-none">X</span>
</div>
<div className="relative z-10 flex flex-col gap-16 w-content-width mx-auto">
<div className="flex flex-col items-center gap-4 text-center">
<div className="text-[#7D1C2E] font-tight font-bold tracking-widest text-lg uppercase">
OUR PACKAGES
</div>
<motion.h2
initial={{ y: 100, opacity: 0, scale: 0.8 }}
whileInView={{ y: 0, opacity: 1, scale: 1 }}
viewport={{ once: true, margin: "-100px" }}
transition={{ type: "spring", stiffness: 300, damping: 12, mass: 2 }}
className="font-tight font-black text-[80px] leading-[0.9] text-white uppercase text-center"
>
CHOOSE YOUR<br/>
[<span className="text-[#7D1C2E]">X</span>] LEVEL
</motion.h2>
</div>
<div className="flex flex-col gap-5">
{plans.map((plan) => (
<ScrollReveal
variant="slide-up"
key={plan.tag}
className="flex flex-col md:flex-row gap-6 md:gap-10 p-6 md:p-10 card rounded"
>
<div className="w-full md:w-1/2 aspect-square md:aspect-4/3 rounded overflow-hidden">
<ImageOrVideo imageSrc={plan.imageSrc} videoSrc={plan.videoSrc} />
</div>
<div className="flex flex-col justify-center gap-2 w-full md:w-1/2">
<div className="px-3 py-1 mb-1 w-fit text-sm card rounded">
<p>{plan.price}{plan.period}</p>
</div>
<h3 className="text-4xl md:text-5xl font-semibold leading-[1.15] text-balance">{plan.tag}</h3>
<div className="flex flex-col gap-3 mt-1">
{plan.features.map((feature) => (
<div key={feature} className="flex items-start gap-3">
<div className="flex items-center justify-center shrink-0 size-6 primary-button rounded">
<Check className="size-3 text-primary-cta-text" strokeWidth={2} />
</div>
<span className="text-base leading-snug">{feature}</span>
</div>
))}
</div>
<Button text={plan.primaryButton.text} href={plan.primaryButton.href} variant="primary" className="w-fit mt-2 md:mt-3" />
</div>
</ScrollReveal>
))}
</div>
</div>
</section>
);
export default function PackagesSection() {
return (
<div data-webild-section="packages" id="packages">
<PackagesInline />
</div>
);
}

View File

@@ -1,41 +1,134 @@
// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this
// file as the canonical source for the "stats" section.
/* eslint-disable */
// @ts-nocheck — generated by catalog-eject; runtime-correct but TS strict-mode false-positives on inlined catalog body
import { cls } from "@/lib/utils";
import Button from "@/components/ui/Button";
import TextAnimation from "@/components/ui/TextAnimation";
import ImageOrVideo from "@/components/ui/ImageOrVideo";
import ScrollReveal from "@/components/ui/ScrollReveal";
import { useEffect, useRef } from "react";
import { motion, useInView, animate } from "motion/react";
import React from 'react';
import MetricsMediaCards from '@/components/sections/metrics/MetricsMediaCards';
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
const metrics = [
{
value: "+50",
title: "Businesses",
description: "Active digital presence.",
imageSrc: "http://img.b2bpic.net/free-photo/3d-geometric-abstract-background_1048-11112.jpg"
},
{
value: "7",
title: "Days",
description: "Guaranteed delivery time.",
imageSrc: "http://img.b2bpic.net/free-vector/ring-glowing-points-black_1217-1373.jpg"
},
{
value: "100%",
title: "Satisfaction",
description: "Or you don't pay.",
imageSrc: "http://img.b2bpic.net/free-photo/closeup-shot-glass-marbles_53876-47208.jpg"
}
];
type Metric = {
value: string;
title: string;
description: string;
} & ({ imageSrc: string; videoSrc?: never } | { videoSrc: string; imageSrc?: never });
function AnimatedStat({ value, prefix = "", suffix = "", label1, label2, delay = 0 }: { value: number, prefix?: string, suffix?: string, label1: string, label2: string, delay?: number }) {
const nodeRef = useRef(null as any);
const inView = useInView(nodeRef, { once: true, margin: "-50px" });
useEffect(() => {
if (inView && nodeRef.current) {
const controls = animate(0, value, {
duration: 2,
delay: delay,
ease: "easeOut",
onUpdate(val) {
if (nodeRef.current) {
nodeRef.current.textContent = `${prefix}${Math.round(val)}${suffix}`;
}
}
});
return () => controls.stop();
}
}, [inView, value, prefix, suffix, delay]);
export default function StatsSection(): React.JSX.Element {
return (
<div id="stats" data-section="stats">
<SectionErrorBoundary name="stats">
<MetricsMediaCards
tag="TRUST"
title="PROVEN TRACK RECORD"
description="Results that drive business growth."
metrics={[
{
value: "+50",
title: "Businesses",
description: "Active digital presence.",
imageSrc: "http://img.b2bpic.net/free-photo/3d-geometric-abstract-background_1048-11112.jpg",
},
{
value: "7",
title: "Days",
description: "Guaranteed delivery time.",
imageSrc: "http://img.b2bpic.net/free-vector/ring-glowing-points-black_1217-1373.jpg",
},
{
value: "100%",
title: "Satisfaction",
description: "Or you don't pay.",
imageSrc: "http://img.b2bpic.net/free-photo/closeup-shot-glass-marbles_53876-47208.jpg",
},
]}
textAnimation="slide-up"
/>
</SectionErrorBoundary>
<div className="flex flex-col items-center text-center px-4">
<div className="font-tight font-black text-[88px] leading-none text-white">
<span ref={nodeRef}>{prefix}0{suffix}</span>
</div>
<div className="mt-2 flex flex-col gap-0">
<span className="font-tight font-bold text-[18px] text-[#7D1C2E]">{label1}</span>
<span className="font-sans font-normal text-[14px] text-[#555555]">{label2}</span>
</div>
</div>
);
}
const StatsInline = () => (
<section aria-label="Metrics section" className="py-24 md:py-32 bg-[#1A1A1A] relative overflow-hidden">
<div className="w-content-width mx-auto">
{/* Stats Grid */}
<div className="grid grid-cols-1 md:grid-cols-3 gap-12 md:gap-0">
<div className="md:border-r-[0.5px] md:border-white/20 py-4">
<AnimatedStat
value={50}
prefix="+"
label1="Active"
label2="businesses"
delay={0}
/>
</div>
<div className="md:border-r-[0.5px] md:border-white/20 py-4">
<AnimatedStat
value={7}
suffix=" DAYS"
label1="Guaranteed"
label2="delivery"
delay={0.2}
/>
</div>
<div className="py-4">
<AnimatedStat
value={100}
suffix="%"
label1="Satisfaction"
label2="or you don't pay"
delay={0.4}
/>
</div>
</div>
{/* Guarantee Quote */}
<motion.div
initial={{ opacity: 0, y: 40 }}
whileInView={{ opacity: 1, y: 0 }}
viewport={{ once: true, margin: "-100px" }}
transition={{ duration: 0.8, ease: "easeOut", delay: 0.6 }}
className="mt-24 md:mt-32 flex justify-center"
>
<div className="border-l-[4px] border-[#7D1C2E] pl-6 py-2 max-w-3xl">
<p className="font-tight font-bold italic text-[36px] text-white/70 leading-[1.1]">
"If we don't deliver in 7 days,<br className="hidden md:block" /> you don't pay. Period."
</p>
<p className="mt-4 font-sans text-[14px] text-[#555555]">
Apex Web Group
</p>
</div>
</motion.div>
</div>
</section>
);
export default function StatsSection() {
return (
<div data-webild-section="stats" id="stats">
<StatsInline />
</div>
);
}