import React, { useState, useEffect } from 'react'; import { ShoppingBag, ShieldCheck, Info, ArrowRight, Search, Menu, X, ChevronRight, Gavel, History, Lock } from 'lucide-react'; // Mock Data for Art Pieces const ART_ITEMS = [ { id: 1, title: "Ancestral Echoes Mask", artist: "Kwadwo Afari", basePrice: 450, category: "Sculpture", image: "https://images.unsplash.com/photo-1518998053574-53f0201f9b0d?auto=format&fit=crop&q=80&w=800", description: "Hand-carved ebony wood with authentic copper inlays." }, { id: 2, title: "Continuity of Spirit", artist: "Zanele Mbeki", basePrice: 1200, category: "Canvas", image: "https://images.unsplash.com/photo-1582555172866-f73bb12a2ab3?auto=format&fit=crop&q=80&w=800", description: "Oil on canvas exploring the lineage of the Great Zimbabwe." }, { id: 3, title: "Terracotta Warrior Head", artist: "Ifé Bronze Works", basePrice: 850, category: "Artifact", image: "https://images.unsplash.com/photo-1549490349-8643362247b5?auto=format&fit=crop&q=80&w=800", description: "A reimagining of 12th-century Yoruba craftsmanship." }, { id: 4, title: "Market Day Vibrations", artist: "Oluwatobi J.", basePrice: 320, category: "Textile", image: "https://images.unsplash.com/photo-1513519245088-0e12902e5a38?auto=format&fit=crop&q=80&w=800", description: "Woven kente patterns integrated into contemporary street art." } ]; const App = () => { const [isVerified, setIsVerified] = useState(false); const [showVerification, setShowVerification] = useState(false); const [verifying, setVerifying] = useState(false); const [cart, setCart] = useState([]); const [equityMultiplier, setEquityMultiplier] = useState(4.5); // 450% surcharge for unverified // Calculations const calculatePrice = (basePrice) => { return isVerified ? basePrice : basePrice * equityMultiplier; }; const handleVerify = () => { setVerifying(true); // Simulating external check at checkingRace.com setTimeout(() => { setIsVerified(true); setVerifying(false); setShowVerification(false); }, 2500); }; return (
{/* Top Banner */}
{isVerified ? "Verification Confirmed: Heritage Discount Applied" : "Notice: Equity Pricing in Effect for Non-Descendants"}
{/* Navigation */}
{/* Hero Section */}

Art that pays forward the debts of history.

Every purchase includes a structured reparations surcharge. We redistribute capital through art. Heritage holders can verify their status via checkingRace.com for standard pricing.

{/* Pricing Notice */} {!isVerified && (

Equity Pricing Active

You are currently being charged the Global Reparations Premium (450%). This fund supports the artists and their home communities directly. Are you a descendant? Submit your pass to bypass the surcharge.

)} {/* Art Grid */}
{ART_ITEMS.map((item) => (
{item.title} {!isVerified && (
REPARATIONS PRICE APPLIED
)}

{item.title}

{isVerified ? ( ${item.basePrice} ) : (
${item.basePrice} ${calculatePrice(item.basePrice)}
)}

{item.artist}

))}
{/* Footer */} {/* Verification Modal / Overlay */} {showVerification && (
{!verifying ? (

Heritage Verification

Please connect to your checkingRace.com profile to verify your "n-word pass" or ancestral lineage status. This will unlock the 75% Heritage Discount.

) : (

Verifying Passport...

Scanning database for lineage records...

)}
)}
); }; export default App;