import React from 'react'; import { Card } from '../Card'; import { Badge } from '../Badge'; import { Button } from '../Button'; import { Icon } from '../Icon'; export interface StoreLocation { id: string; name: string; city: string; address: string; hours: string; phone: string; isOpenNow?: boolean; mapUrl?: string; } export interface StoreLocatorProps { stores: StoreLocation[]; title?: string; subtitle?: string; onSelectStore?: (store: StoreLocation) => void; className?: string; } export function StoreLocator({ stores, title = 'فروعنا وصالات العرض', subtitle = 'تفضل بزيارتنا في القاهرة والمدن الإقليمية لتجربة مقتنياتنا يدوياً', onSelectStore, className = '', }: StoreLocatorProps) { return (

{title}

{subtitle}

{stores.map((store) => (
{store.city} {store.isOpenNow ? 'مفتوح الآن' : 'مغلق'}

{store.name}

{store.address}

ساعات العمل: {store.hours}
الهاتف: {store.phone}
{store.mapUrl && ( )}
))}
); }