"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 (
product photo
{/* title and description of item */}
{/* title and photo */}

{menu_item.name}

{menu_item.inStock === "yes" ? ( In Stock! ) : ( Out of Stock )} {menu_item.favorite === "yes" ? ( jefe's star ) : (
)}
{/* description text */}

{menu_item.description}

); })}
); }; export default MenuCard;