import Link from 'next/link'; /** * Nearby game stores subsection for the Purchase tab. */ export default function CardDetailLocalStores({ stores = [], loading = false, error = null, noHomeZip = false, }) { if (loading) { return (

Loading nearby stores…

); } if (noHomeZip) { return (

Game stores near you

Add your home ZIP in Settings to see nearby game and hobby stores.

Set home ZIP in Settings
); } if (error) { return (

Game stores near you

{error}

); } return (

Game stores near you

{stores.length === 0 ? (

No game or hobby stores found in your area yet. Try again later — store data comes from OpenStreetMap.

) : ( )}
); }