import Link from "next/link"; interface Product { id: number; name: string; price: number; } const products: Product[] = [ { id: 1, name: "Product 1", price: 50 }, { id: 2, name: "Product 2", price: 30 }, { id: 3, name: "Product 3", price: 20 }, ]; export default function Shop() { return (

Shop

{products.map((p) => (

{p.name}

${p.price}

View Product
))}
); }