import Product from "src/view/Products";

const page = async ({ params, searchParams }) => {
  const data = {
    id: 1,
    persianName: "Hydrating Cream",
    englishName: "Hydrating Cream",
    description:
      "Lorem ipsum dolor, sit amet consectetur adipisicing elit. Voluptates impedit officia eos quo aliquam soluta iste earum aliquid harum doloremque iure consectetur vel, cumque autem id, numquam quisquam mollitia velit. . Lorem ipsum dolor, sit amet consectetur adipisicing elit. Voluptates impedit officia eos quo aliquam soluta iste earum aliquid harum doloremque iure consectetur vel, cumque autem id, numquam quisquam mollitia velit. .  ",
    cost: 250000,
    costWithDiscount: 200000,
    hasDiscount: true,
    discountPercent: 20,
    stock: 5,
    mainImage: "4",
  };

  return (
    <>
      <Product params={params} data={data} />
    </>
  );
};

export default page;
