Compare commits
9 Commits
version_5_
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| cabe880b4a | |||
|
|
7e27e08406 | ||
| f2c25bcd58 | |||
|
|
8a6cf572f3 | ||
| 109d52b101 | |||
|
|
4d77386f83 | ||
| 06735f3338 | |||
|
|
451b1b43cb | ||
| 926b0b3ccc |
@@ -1,57 +1,129 @@
|
|||||||
// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this
|
/* eslint-disable */
|
||||||
// file as the canonical source for the "packages" section.
|
// @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';
|
const plans = [
|
||||||
import PricingMediaCards from '@/components/sections/pricing/PricingMediaCards';
|
{
|
||||||
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
|
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 {
|
type PricingPlan = {
|
||||||
return (
|
tag: string;
|
||||||
<div id="packages" data-section="packages">
|
price: string;
|
||||||
<SectionErrorBoundary name="packages">
|
period: string;
|
||||||
<PricingMediaCards
|
features: string[];
|
||||||
tag="PACKAGES"
|
primaryButton: { text: string; href: string };
|
||||||
title="CHOOSE YOUR [X] LEVEL"
|
} & ({ imageSrc: string; videoSrc?: never } | { videoSrc: string; imageSrc?: never });
|
||||||
description="Transparent pricing for complete solutions."
|
|
||||||
plans={[
|
const PackagesInline = () => (
|
||||||
{
|
<section aria-label="Pricing section" className="relative py-24 bg-[#000000] overflow-hidden">
|
||||||
tag: "WEB X PRO",
|
{/* Radial glow behind Dominator card (approx 65% 50%) */}
|
||||||
price: "$14,900",
|
<div
|
||||||
period: "MXN",
|
className="absolute inset-0 pointer-events-none"
|
||||||
features: [
|
style={{ background: 'radial-gradient(circle at 65% 50%, rgba(125,28,46,0.18) 0%, transparent 60%)' }}
|
||||||
"10 pages",
|
/>
|
||||||
"On-page SEO",
|
|
||||||
"Forms & WhatsApp",
|
{/* Decorative X watermark */}
|
||||||
"GMB Premium",
|
<div className="absolute inset-0 flex items-center justify-center pointer-events-none opacity-4 overflow-hidden">
|
||||||
"1 month support",
|
<span className="font-tight font-black text-[700px] leading-none text-white select-none">X</span>
|
||||||
],
|
</div>
|
||||||
primaryButton: {
|
|
||||||
text: "Get Pro",
|
<div className="relative z-10 flex flex-col gap-16 w-content-width mx-auto">
|
||||||
href: "#contact",
|
<div className="flex flex-col items-center gap-4 text-center">
|
||||||
},
|
<div className="text-[#7D1C2E] font-tight font-bold tracking-widest text-lg uppercase">
|
||||||
imageSrc: "http://img.b2bpic.net/free-psd/start-up-landing-page-template_23-2148819558.jpg",
|
— OUR PACKAGES
|
||||||
},
|
</div>
|
||||||
{
|
|
||||||
tag: "WEB X DOMINATOR",
|
<motion.h2
|
||||||
price: "$24,900",
|
initial={{ y: 100, opacity: 0, scale: 0.8 }}
|
||||||
period: "MXN",
|
whileInView={{ y: 0, opacity: 1, scale: 1 }}
|
||||||
features: [
|
viewport={{ once: true, margin: "-100px" }}
|
||||||
"Everything in Pro",
|
transition={{ type: "spring", stiffness: 300, damping: 12, mass: 2 }}
|
||||||
"Campaign Landing Page",
|
className="font-tight font-black text-[80px] leading-[0.9] text-white uppercase text-center"
|
||||||
"Google Analytics",
|
>
|
||||||
"Traffic Report",
|
CHOOSE YOUR<br/>
|
||||||
"3 months support",
|
[<span className="text-[#7D1C2E]">X</span>] LEVEL
|
||||||
],
|
</motion.h2>
|
||||||
primaryButton: {
|
|
||||||
text: "Get Dominator",
|
|
||||||
href: "#contact",
|
|
||||||
},
|
|
||||||
imageSrc: "http://img.b2bpic.net/free-psd/business-corporation-template_23-2151402198.jpg",
|
|
||||||
},
|
|
||||||
]}
|
|
||||||
textAnimation="fade-blur"
|
|
||||||
/>
|
|
||||||
</SectionErrorBoundary>
|
|
||||||
</div>
|
</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>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,59 +1,142 @@
|
|||||||
// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this
|
/* eslint-disable */
|
||||||
// file as the canonical source for the "services" section.
|
// @ts-nocheck — generated by catalog-eject; runtime-correct but TS strict-mode false-positives on inlined catalog body
|
||||||
|
import type { LucideIcon } from "lucide-react";
|
||||||
|
import TextAnimation from "@/components/ui/TextAnimation";
|
||||||
|
import ImageOrVideo from "@/components/ui/ImageOrVideo";
|
||||||
|
import LoopCarousel from "@/components/ui/LoopCarousel";
|
||||||
|
import Button from "@/components/ui/Button";
|
||||||
|
import { useButtonClick } from "@/hooks/useButtonClick";
|
||||||
|
import { resolveIcon } from "@/utils/resolve-icon";
|
||||||
|
|
||||||
import React from 'react';
|
const items = [
|
||||||
import FeaturesMediaCarousel from '@/components/sections/features/FeaturesMediaCarousel';
|
{
|
||||||
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
|
title: "Custom Web Design",
|
||||||
|
description: "Tailored, high-conversion visual design.",
|
||||||
|
buttonIcon: "ArrowRight",
|
||||||
|
imageSrc: "http://img.b2bpic.net/free-photo/light-prisms-colorful-effect_23-2148898178.jpg"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: "On-page SEO",
|
||||||
|
description: "Ready to rank from day one.",
|
||||||
|
buttonIcon: "ArrowRight",
|
||||||
|
imageSrc: "http://img.b2bpic.net/free-photo/empty-concrete-room-with-neon-lights_1048-12984.jpg"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: "Integrations",
|
||||||
|
description: "WhatsApp, Forms, and GMB setup.",
|
||||||
|
buttonIcon: "ArrowRight",
|
||||||
|
imageSrc: "http://img.b2bpic.net/free-photo/colorful-light-prisms-effect_23-2148898152.jpg"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: "Analytics",
|
||||||
|
description: "Google Analytics and traffic reporting.",
|
||||||
|
buttonIcon: "ArrowRight",
|
||||||
|
imageSrc: "http://img.b2bpic.net/free-photo/front-view-blue-white-bottle-designed-round-beautiful-white-wall_140725-11601.jpg"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: "Speed Optimization",
|
||||||
|
description: "Performance focused architecture.",
|
||||||
|
buttonIcon: "ArrowRight",
|
||||||
|
imageSrc: "http://img.b2bpic.net/free-photo/abstract-metallic-cube-shape_23-2150979663.jpg"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: "Ongoing Support",
|
||||||
|
description: "We ensure your site stays up.",
|
||||||
|
buttonIcon: "ArrowRight",
|
||||||
|
imageSrc: "http://img.b2bpic.net/free-photo/spiky-black-ferromagnetic-liquid-metal-with-copy-space_23-2148253673.jpg"
|
||||||
|
}
|
||||||
|
];
|
||||||
|
|
||||||
|
type FeatureItem = {
|
||||||
|
title: string;
|
||||||
|
description: string;
|
||||||
|
buttonIcon: string | LucideIcon;
|
||||||
|
buttonHref?: string;
|
||||||
|
buttonOnClick?: () => void;
|
||||||
|
} & ({ imageSrc: string; videoSrc?: never } | { videoSrc: string; imageSrc?: never });
|
||||||
|
|
||||||
|
interface FeaturesMediaCarouselProps {
|
||||||
|
tag: string;
|
||||||
|
title: string;
|
||||||
|
description: string;
|
||||||
|
primaryButton?: { text: string; href: string };
|
||||||
|
secondaryButton?: { text: string; href: string };
|
||||||
|
items: FeatureItem[];
|
||||||
|
textAnimation: "slide-up" | "fade-blur" | "fade";
|
||||||
|
}
|
||||||
|
|
||||||
|
const FeatureMediaCarouselCard = ({ item }: { item: FeatureItem }) => {
|
||||||
|
const handleClick = useButtonClick(item.buttonHref, item.buttonOnClick);
|
||||||
|
const Icon = resolveIcon(item.buttonIcon);
|
||||||
|
|
||||||
export default function ServicesSection(): React.JSX.Element {
|
|
||||||
return (
|
return (
|
||||||
<div id="services" data-section="services">
|
<div className="relative overflow-hidden aspect-square md:aspect-3/2 rounded">
|
||||||
<SectionErrorBoundary name="services">
|
<ImageOrVideo imageSrc={item.imageSrc} videoSrc={item.videoSrc} className="absolute inset-0" />
|
||||||
<FeaturesMediaCarousel
|
<div className="absolute inset-x-4 bottom-4 xl:inset-x-5 xl:bottom-5 2xl:inset-x-6 2xl:bottom-6 flex items-center justify-between gap-5 p-4 xl:p-5 2xl:p-6 card rounded backdrop-blur-sm">
|
||||||
tag="WHAT WE BUILD"
|
<div className="flex flex-col gap-1 min-w-0">
|
||||||
title="WEBSITES THAT DO [X] THE WORK."
|
<h3 className="text-2xl font-semibold leading-snug truncate">{item.title}</h3>
|
||||||
description="From custom design to SEO and automation."
|
<p className="text-base leading-snug truncate">{item.description}</p>
|
||||||
items={[
|
</div>
|
||||||
{
|
<a
|
||||||
title: "Custom Web Design",
|
href={item.buttonHref}
|
||||||
description: "Tailored, high-conversion visual design.",
|
onClick={handleClick}
|
||||||
buttonIcon: "ArrowRight",
|
aria-label="View more"
|
||||||
imageSrc: "http://img.b2bpic.net/free-photo/light-prisms-colorful-effect_23-2148898178.jpg",
|
className="flex items-center justify-center shrink-0 size-9 cursor-pointer primary-button rounded-full"
|
||||||
},
|
>
|
||||||
{
|
<Icon className="size-4 text-primary-cta-text" strokeWidth={2} />
|
||||||
title: "On-page SEO",
|
</a>
|
||||||
description: "Ready to rank from day one.",
|
|
||||||
buttonIcon: "ArrowRight",
|
|
||||||
imageSrc: "http://img.b2bpic.net/free-photo/empty-concrete-room-with-neon-lights_1048-12984.jpg",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
title: "Integrations",
|
|
||||||
description: "WhatsApp, Forms, and GMB setup.",
|
|
||||||
buttonIcon: "ArrowRight",
|
|
||||||
imageSrc: "http://img.b2bpic.net/free-photo/colorful-light-prisms-effect_23-2148898152.jpg",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
title: "Analytics",
|
|
||||||
description: "Google Analytics and traffic reporting.",
|
|
||||||
buttonIcon: "ArrowRight",
|
|
||||||
imageSrc: "http://img.b2bpic.net/free-photo/front-view-blue-white-bottle-designed-round-beautiful-white-wall_140725-11601.jpg",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
title: "Speed Optimization",
|
|
||||||
description: "Performance focused architecture.",
|
|
||||||
buttonIcon: "ArrowRight",
|
|
||||||
imageSrc: "http://img.b2bpic.net/free-photo/abstract-metallic-cube-shape_23-2150979663.jpg",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
title: "Ongoing Support",
|
|
||||||
description: "We ensure your site stays up.",
|
|
||||||
buttonIcon: "ArrowRight",
|
|
||||||
imageSrc: "http://img.b2bpic.net/free-photo/spiky-black-ferromagnetic-liquid-metal-with-copy-space_23-2148253673.jpg",
|
|
||||||
},
|
|
||||||
]}
|
|
||||||
textAnimation="slide-up"
|
|
||||||
/>
|
|
||||||
</SectionErrorBoundary>
|
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
};
|
||||||
|
|
||||||
|
const ServicesInline = () => {
|
||||||
|
return (
|
||||||
|
<section aria-label="Features section" className="w-full py-20">
|
||||||
|
<div className="flex flex-col w-full gap-8 md:gap-10">
|
||||||
|
<div className="flex flex-col items-center w-content-width mx-auto gap-2">
|
||||||
|
<div className="px-3 py-1 mb-1 text-sm card rounded w-fit">
|
||||||
|
<p>{"WHAT WE BUILD"}</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<TextAnimation
|
||||||
|
text={"WEBSITES THAT DO [X] THE WORK."}
|
||||||
|
variant={"slide-up"}
|
||||||
|
gradientText={true}
|
||||||
|
tag="h2"
|
||||||
|
className="md:max-w-8/10 text-6xl 2xl:text-7xl leading-[1.15] font-semibold text-center text-balance"
|
||||||
|
/>
|
||||||
|
|
||||||
|
<TextAnimation
|
||||||
|
text={"From custom design to SEO and automation."}
|
||||||
|
variant={"slide-up"}
|
||||||
|
gradientText={false}
|
||||||
|
tag="p"
|
||||||
|
className="md:max-w-7/10 text-lg md:text-xl leading-snug text-center text-balance"
|
||||||
|
/>
|
||||||
|
|
||||||
|
{(undefined || undefined) && (
|
||||||
|
<div className="flex flex-wrap justify-center gap-3 mt-2 md:mt-3">
|
||||||
|
{undefined && <Button text={undefined.text} href={undefined.href} variant="primary"/>}
|
||||||
|
{undefined && <Button text={undefined.text} href={undefined.href} variant="secondary"animationDelay={0.1} />}
|
||||||
|
</div>
|
||||||
|
)}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<LoopCarousel>
|
||||||
|
{items.map((item) => (
|
||||||
|
<FeatureMediaCarouselCard key={item.title} item={item} />
|
||||||
|
))}
|
||||||
|
</LoopCarousel>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
);
|
||||||
|
};
|
||||||
|
|
||||||
|
export default function ServicesSection() {
|
||||||
|
return (
|
||||||
|
<div data-webild-section="services" id="services">
|
||||||
|
<ServicesInline />
|
||||||
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,41 +1,134 @@
|
|||||||
// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this
|
/* eslint-disable */
|
||||||
// file as the canonical source for the "stats" section.
|
// @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';
|
const metrics = [
|
||||||
import MetricsMediaCards from '@/components/sections/metrics/MetricsMediaCards';
|
{
|
||||||
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
|
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 (
|
return (
|
||||||
<div id="stats" data-section="stats">
|
<div className="flex flex-col items-center text-center px-4">
|
||||||
<SectionErrorBoundary name="stats">
|
<div className="font-tight font-black text-[88px] leading-none text-white">
|
||||||
<MetricsMediaCards
|
<span ref={nodeRef}>{prefix}0{suffix}</span>
|
||||||
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>
|
</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>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user