import React from "react"; import { Icon } from "@/components/ui/icon"; import { getProducts } from "../../data"; import Image from "next/image"; import { Button } from "@/components/ui/button"; import { Link } from '@/i18n/routing'; const CartPage = async () => { const products = await getProducts(); const items = products.slice(0, 4); return (
{items.length > 0 ? ( items?.map((item, i) => ( )) ) : ( )}
Product Price Quantity Total Remove
product

{item.name}

Brand: {item.brand}

${item.price}
0
${item.price}
{`No result's`}

Subtotal:

$200

); }; export default CartPage;