"use client"; import React, { useState, useEffect } from "react"; export default function SolutionsHero() { const [activeSlide, setActiveSlide] = useState(0); // Auto-slide every 7 seconds — slower, more readable, professional pacing useEffect(() => { const interval = setInterval(() => { setActiveSlide((prev) => (prev === 0 ? 1 : 0)); }, 7000); return () => clearInterval(interval); }, []); const handleDotClick = (index: number) => { setActiveSlide(index); }; return ( <>
Discover how Doormile's connected logistics platform serves diverse industries with tailored solutions.
Doormile adapts to the unique challenges of your vertical—not the other way around.