"use client"; import Link from "next/link"; import { motion } from "framer-motion"; import { HeroVisualCollage } from "@/components/layout/HeroVisualCollage"; import { FeatureStatsRow } from "@/components/ui/FeatureStatsRow"; import { slideInLeftSubtle, fadeUp, fadeIn, scaleIn, staggerContainer, viewport, } from "@/lib/animations"; const HERO_BENEFITS = [ { title: "More Visibility Across Nearle", icon: "visibility", desc: "Get discovered by locals" }, { title: "Easy Order Management", icon: "assignment", desc: "Track and fulfill cleanly" }, { title: "Grow Repeat Customers", icon: "trending_up", desc: "Build neighborhood loyalty" }, { title: "Local Delivery Support", icon: "local_shipping", desc: "Deliver fast & verified" }, ]; const COLLAGE_CARDS = [ { text: "Nearby Customers", icon: "people" }, { text: "Orders & Offers", icon: "local_offer" }, { text: "Local Delivery Support", icon: "local_shipping" }, ]; // Choreography: badge slides left → title fades up → description fades in (opacity only) → CTAs scale in const badgeVariant = slideInLeftSubtle; const titleVariant = { hidden: { opacity: 0, y: 28 }, visible: { opacity: 1, y: 0, transition: { duration: 0.55, ease: [0.22, 1, 0.36, 1] as [number, number, number, number] }, }, }; const descVariant = fadeIn; const ctaVariant = scaleIn; export function BusinessHero() { return (
{/* Left Column: animated with unique stagger */} Nearle for Business Grow Your Local Business,
Neighbourhood by Neighbourhood.
Get discovered by nearby customers, manage orders, and build repeat business from one simple platform. List Your Store Explore Solutions
{/* Right Column: subtle fade-in — HeroVisualCollage internal animations choreograph each element */}
); }