"use client"; import { cn } from "@/lib/utils"; import { Marquee } from "@/components/ui/marquee"; const images = [ { img: "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSV9uzErWz9EXqZDxZ5lP9aYpMz8eK6rr5X3w&s", }, { img: "https://substackcdn.com/image/fetch/f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8ed3d547-94ff-48e1-9f20-8c14a7030a02_2000x2000.jpeg", }, { img: "https://cdn.vectorstock.com/i/1000v/48/43/google-symbol-logo-black-and-white-design-vector-46334843.jpg", }, { img: "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQADFN8_BR0poY4_U86hIDw6bB-iXS2UUXmoQ&s", }, { img: "https://miro.medium.com/v2/resize:fit:1400/1*O-ClkORJkmUm1wRsApB_yQ.png", }, { img: "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcS9R9N0XiqvtWH8Qr0zHTfYLxoPh__Hc4HayrA1AwxNwSmpLVSR9jg4HoxK4zCx5AQVdJ0&usqp=CAU", }, ]; // Card Component for displaying each partner's logo const FaceCard = ({ img }: { img: string }) => { return (
{/* Removed alt text and made image fill the card */}
); }; export function Faces() { const firstRow = images.slice(0, Math.ceil(images.length / 2)); const secondRow = images.slice(Math.ceil(images.length / 2)); return (
{/* First Vertical Marquee */} {firstRow.map((partner, index) => ( ))} {secondRow.map((partner, index) => ( ))} {firstRow.map((partner, index) => ( ))} {/* Gradients for top and bottom fade effect */}
); }