'use client'; import React from 'react'; import { Star, MessageSquareQuote, CheckCircle2 } from 'lucide-react'; import { Marquee } from '@/components/magicui/marquee'; import { TextAnimate } from '@/components/magicui/text-animate'; interface ReviewsMarqueeSectionProps { title?: string; badge?: string; subtitle?: string; } const REVIEWS_ROW_1 = [ { name: 'Elena Rostova', username: '@elena_studios', role: 'Editorial Portrait Photographer', rating: 5, avatar: 'ER', body: 'The blemish remover is lightyears ahead of typical automated tools. It removes red spots and imperfections while keeping real pores and skin texture intact.', tool: 'Blemish Remover', }, { name: 'Marcus Vance', username: '@vance_commerce', role: 'Shopify Store Owner', rating: 5, avatar: 'MV', body: 'The P3M cutout matting saved my product photography workflow. Hair strands and glass reflections are perfectly separated in under a second.', tool: 'Background Remover', }, { name: 'David Chen', username: '@davidchen_art', role: 'Digital Concept Artist', rating: 5, avatar: 'DC', body: 'Zero-storage privacy was our #1 criteria. Knowing photos aren’t kept on a remote server gave our agency complete peace of mind.', tool: 'Zero-Storage Policy', }, { name: 'Ananya Sharma', username: '@ananya_design', role: 'Fashion Creative Director', rating: 5, avatar: 'AS', body: 'Super clean results without signing up for an account. I tried it right on desktop and immediately downloaded the iOS app for batch edits.', tool: 'Portrait Studio App', }, ]; const REVIEWS_ROW_2 = [ { name: 'Liam O’Connor', username: '@liam_restores', role: 'Historical Archivist', rating: 5, avatar: 'LO', body: 'I restored my grandparents’ 1942 wedding photo. The generative facial super-resolution restored the iris clarity and fine lace details amazingly.', tool: 'Vintage Restorer', }, { name: 'Chloe Dubois', username: '@chloe_visuals', role: 'Social Media Creator', rating: 5, avatar: 'CD', body: 'The anime avatar tool is genuinely viral. It doesn’t just blur your face with a cartoon filter, it genuinely reinterprets lineart.', tool: 'CartoonGAN Studio', }, { name: 'Vikram Malhotra', username: '@vikram_ux', role: 'Product Lead', rating: 5, avatar: 'VM', body: 'Blazingly fast. No laggy loading screens, instantaneous before/after comparison slider, and crystal clear 4K export quality.', tool: 'Photo Enhancer 4K', }, { name: 'Sophie Tanaka', username: '@sophie_tanaka', role: 'Commercial Retoucher', rating: 5, avatar: 'ST', body: 'Teeth whitening without that artificial nuclear neon white look. It subtly brightens enamel while respecting natural gum tones.', tool: 'Teeth Whitener AI', }, ]; export function ReviewsMarqueeSection({ title = 'Loved by Creators & Professionals', badge = 'VERIFIED COMMUNITY FEEDBACK', subtitle = 'Over 1.4 million photos processed with five-star ratings across web and mobile apps.', }: ReviewsMarqueeSectionProps) { return (
{/* Symbolic Elemental Ambient Highlights */}
{/* Section Header */}
{badge}

{title}

{subtitle}

{/* Marquee Container with Left & Right Gradient Feather Masks */}
{/* Row 1: Leftward Marquee */} {REVIEWS_ROW_1.map((review, idx) => ( ))} {/* Row 2: Rightward Reverse Marquee */} {REVIEWS_ROW_2.map((review, idx) => ( ))}
); } function ReviewCard({ name, username, role, rating, avatar, body, tool, }: { name: string; username: string; role: string; rating: number; avatar: string; body: string; tool: string; }) { return (
{avatar}
{name}

{role}

{Array(rating) .fill(0) .map((_, i) => ( ))}
“{body}”
{tool} {username}
); }