import Link from 'next/link'; import { ArrowRight, Image as ImageIcon, Play, Video } from 'lucide-react'; import { KineticText } from '@/components/magicui/kinetic-text'; export interface MediaItem { id: string; type: 'video' | 'photo' | 'comparison' | 'banner'; title: string; category: string; badge?: string; description: string; videoUrl?: string; poster?: string; image?: string; beforeUrl?: string; afterUrl?: string; link: string; tag?: string; } interface MediaShowcaseProps { title?: string; badge?: string; subtitle?: string; items?: MediaItem[]; } export function MediaShowcaseSection({ title = 'Visual Media & Transformation Reel', badge = 'CURATED CREATIVE GALLERY', subtitle = 'Explore high-resolution photography, video, and creative transformations produced by CRE neural tools.', items = [], }: MediaShowcaseProps) { return (

{badge}

{title}

{subtitle}

Explore the suite
{items.map((item) => )}
); } function MediaCard({ item }: { item: MediaItem }) { const image = item.image || item.poster || item.beforeUrl; return (
{item.type === 'video' && item.videoUrl ? ( ) : item.type === 'comparison' && item.beforeUrl && item.afterUrl ? (
{/* eslint-disable-next-line @next/next/no-img-element */} Original image
Before
{/* eslint-disable-next-line @next/next/no-img-element */} Enhanced image
After
) : image ? ( <> {/* eslint-disable-next-line @next/next/no-img-element */} {item.title}
) : null} {item.type === 'video' ? {item.type === 'video' && }
{item.tag &&

{item.tag}

}

{item.title}

{item.description}

Open tool
); }