// components/ClientLogosSection.tsx import React from "react"; import Image from "next/image"; // For actual logos import { FaBuilding, FaCar, FaLaptopCode, FaUsers } from "react-icons/fa"; // For placeholders // Define structure for client data (adapt as needed) type Client = { name: string; logoUrl?: string; // URL to actual logo image icon?: React.ElementType; // Placeholder icon component }; type ClientLogosSectionProps = { title: string; description?: string; clients: Client[]; }; const ClientLogosSection: React.FC = ({ title, description, clients, }) => { return ( // Use semantic background
{" "} {/* Use container */} {/* Use semantic foreground */}

{title}

{/* TODO: Implement Auto-Sliding Panel (e.g., using Swiper.js or Embla Carousel) */}
{" "} {/* Adjust opacity */} {clients.map((client, index) => (
{client.logoUrl ? ( {`${client.name} ) : client.icon ? ( // Use semantic muted foreground for icons, primary on hover React.createElement(client.icon, { className: "text-5xl text-muted-foreground/80 hover:text-primary transition-colors", }) ) : ( {client.name} // Fallback text )}
))}
{description && (

{description}

)}
); }; // Example default data matching the original page (using placeholders) export const defaultClients: Client[] = [ { name: "Financial Services Client", icon: FaBuilding }, { name: "Automotive Client", icon: FaCar }, { name: "Tech Industry Client", icon: FaLaptopCode }, { name: "Generic Client 1", icon: FaUsers }, { name: "Generic Client 2", icon: FaBuilding }, ]; export default ClientLogosSection;