"use client" import Image from 'next/image' import { cn } from "@/lib/utils" interface Image3DProps { lightSrc: string darkSrc: string alt: string className?: string direction?: "left" | "right" } export function Image3D({ lightSrc, darkSrc, alt, className, direction = "left" }: Image3DProps) { const isRight = direction === "right" return (
{/* Animated background glow */}
{/* Main 3D container */}
{/* Depth layers for 3D effect */}
{/* Main image container */}
{/* Shimmer effect */}
{/* Content fade mask */}
{/* Theme-aware images */} {`${alt} {`${alt} {/* Border highlight */}
) }