"use client"; import * as React from "react"; import Image from "next/image"; import localFont from "next/font/local"; import { Inter } from "next/font/google"; import { Card } from "@/components/ui/card"; const interBold = localFont({ src: "./Inter-Bold.woff", display: "swap", }); const extraBold = localFont({ src: "./Inter-ExtraBold.woff", display: "swap", }); const inter = Inter({ subsets: ["latin"] }); const MenuCard = ({ Menu }: any) => { return (
{Menu.map((menu_item: any) => { return (
chili pepper spice
{/* title and description of item */}
{/* title and photo */}

{menu_item.name}

{menu_item.spicy === "yes" ? ( chili pepper spice ) : (
)} {menu_item.favorite === "yes" ? ( chili pepper spice ) : (
)}
{/* description text */}

{menu_item.description}

{/* cart addon */}
{`$${menu_item.price}`}
); })}
); }; export default MenuCard;