import { X, MapPin, Phone, Globe, ExternalLink } from "lucide-react"; import { Card } from "~/components/ui/card"; import { Button } from "~/components/ui/button"; import { ScrollArea } from "~/components/ui/scroll-area"; import { Separator } from "~/components/ui/separator"; interface CoffeeShop { id: number; name: string; description: string; lat: number; lng: number; address: string; phone: string; website: string; image: string; } interface DrawerProps { shop: CoffeeShop | null; onClose: () => void; } export default function Drawer({ shop, onClose }: DrawerProps) { return (
{shop && ( {/* Header Image */}
{shop.name}
{/* Content */}

{shop.name}

{shop.address}
{shop.phone && ( )} {shop.website && ( )}

About

{shop.description}

)}
); }