"use client"; import { motion } from "framer-motion"; import { cn } from "@/lib/utils"; export const ThreeDMarquee = ({ images, className, }: { images: string[]; className?: string; }) => { // Split the images array into 4 equal parts const chunkSize = Math.ceil(images.length / 4); const chunks = Array.from({ length: 4 }, (_, colIndex) => { const start = colIndex * chunkSize; return images.slice(start, start + chunkSize); }); return (
{chunks.map((subarray, colIndex) => ( {subarray.map((image, imageIndex) => (
))}
))}
); }; const GridLineHorizontal = ({ className, offset, }: { className?: string; offset?: string; }) => { return (
); }; const GridLineVertical = ({ className, offset, }: { className?: string; offset?: string; }) => { return (
); };