diff --git a/Websites/jefes-nextjs/app/menu/Appetizers/items.json b/Websites/jefes-nextjs/app/menu/Appetizers/items.json index 5762949..8ea0643 100644 --- a/Websites/jefes-nextjs/app/menu/Appetizers/items.json +++ b/Websites/jefes-nextjs/app/menu/Appetizers/items.json @@ -6,6 +6,7 @@ "price_large": 7, "price_small": 5, "spicy": "no", + "favorite": "yes", "description": "avocado dripppppp" }, { diff --git a/Websites/jefes-nextjs/app/menu/Appetizers/page.tsx b/Websites/jefes-nextjs/app/menu/Appetizers/page.tsx index 80e7d6f..3e647f2 100644 --- a/Websites/jefes-nextjs/app/menu/Appetizers/page.tsx +++ b/Websites/jefes-nextjs/app/menu/Appetizers/page.tsx @@ -3,76 +3,79 @@ import Image from "next/image"; import "./appetizers.css"; import Menu from "./items.json"; import { Button } from "@/components/ui/button"; +import MenuCard from "../MenuCard/MenuCard"; const Appetizers = () => { return ( -
-
- gun icon for decor -
Appetizers
- gun icon for decor -
- {/* Mapping out the menu */} -
- {Menu.map((menu_item) => { - return ( -
-
- chili pepper spice -
-

- {menu_item.name} -

-

Description: {menu_item.description}

-
-
- - {menu_item.price_large ? ( - - Large - ${menu_item.price_large}, - Small - ${menu_item.price_small} - - ) : ( - ${menu_item.price} - )} - +
+ + {/*
+
+ gun icon for decor +
Appetizers
+ gun icon for decor +
*/} + {/* Mapping out the menu */} + {/*
+ {Menu.map((menu_item) => { + return ( +
+
+ chili pepper spice
-
-
-
- +

+ {menu_item.name} +

+

+ Description: {menu_item.description} +

+
+
+ + {menu_item.price_large ? ( + + Large - ${menu_item.price_large}, + Small - ${menu_item.price_small} + + ) : ( + ${menu_item.price} + )} + +
+
+
+
-
- ); - })} -
- - {/*
+ ); + })} +
+
*/} + {/*

Guacamole Dip @@ -100,7 +103,7 @@ const Appetizers = () => {

*/} -
+
); }; diff --git a/Websites/jefes-nextjs/app/menu/Bar/items.json b/Websites/jefes-nextjs/app/menu/Bar/items.json index de948b9..53f9b32 100644 --- a/Websites/jefes-nextjs/app/menu/Bar/items.json +++ b/Websites/jefes-nextjs/app/menu/Bar/items.json @@ -5,6 +5,8 @@ "photo": "Bar/32ozCaguamas.jpeg", "price": 14, "size": "32oz", + "spicy": "no", + "favorite": "no", "description": "A drink." }, { @@ -13,6 +15,8 @@ "photo": "Bar/100ozTower.jpeg", "price": 35, "size": "100oz", + "spicy": "yes", + "favorite": "no", "description": "A tower full of Corona." }, { @@ -21,6 +25,8 @@ "photo": "Bar/chambong.jpeg", "price": 18, "size": "36oz", + "spicy": "no", + "favorite": "yes", "description": "El Chambong." }, { @@ -29,6 +35,8 @@ "photo": "Bar/laMeraMera56ozMargarita.jpeg", "price": 20, "size": "56oz", + "spicy": "yes", + "favorite": "yes", "description": "The special margarita." }, { @@ -37,6 +45,8 @@ "photo": "Bar/Michelada.jpeg", "price": 13, "size": "24oz", + "spicy": "yes", + "favorite": "no", "description": "Corona with tamarindo." }, { @@ -45,6 +55,8 @@ "photo": "Bar/Michelada.jpeg", "price": 13, "size": "24oz", + "spicy": "yes", + "favorite": "no", "description": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua." } ] \ No newline at end of file diff --git a/Websites/jefes-nextjs/app/menu/Bar/page.tsx b/Websites/jefes-nextjs/app/menu/Bar/page.tsx index d7e6f8b..b5f67f1 100644 --- a/Websites/jefes-nextjs/app/menu/Bar/page.tsx +++ b/Websites/jefes-nextjs/app/menu/Bar/page.tsx @@ -1,89 +1,14 @@ -"use client"; import * as React from "react"; import { Card, CardContent, CardHeader } from "@/components/ui/card"; import { Button } from "@/components/ui/button"; import Menu from "./items.json"; import Image from "next/image"; -import localFont from "next/font/local"; - -const interBold = localFont({ - src: "./Inter-Bold.woff", - display: "swap", -}); -const extraBold = localFont({ - src: "./Inter-ExtraBold.woff", - display: "swap", -}); +import MenuCard from "../MenuCard/MenuCard"; const Bar = () => { - let pic = "cover"; return (
-
- {Menu.map((menu_item) => { - return ( - -
-
- chili pepper spice -
-
-
- {/* title and description of item */} -
- {/* title and photo */} -
-

- {menu_item.name} -

- {/*
- chili pepper spice -
*/} -
- {/* description text */} -
-

- {menu_item.description} -

-
-
-
- {/* cart addon */} -
-
- {`$${menu_item.price}`} -
-
-
-
-
-
-
-
- ); - })} -
+
); }; diff --git a/Websites/jefes-nextjs/app/menu/Beverages/items.json b/Websites/jefes-nextjs/app/menu/Beverages/items.json new file mode 100644 index 0000000..53f9b32 --- /dev/null +++ b/Websites/jefes-nextjs/app/menu/Beverages/items.json @@ -0,0 +1,62 @@ +[ + { + "id": 1, + "name": "Caguamas", + "photo": "Bar/32ozCaguamas.jpeg", + "price": 14, + "size": "32oz", + "spicy": "no", + "favorite": "no", + "description": "A drink." + }, + { + "id": 2, + "name": "Jefes Tower", + "photo": "Bar/100ozTower.jpeg", + "price": 35, + "size": "100oz", + "spicy": "yes", + "favorite": "no", + "description": "A tower full of Corona." + }, + { + "id": 3, + "name": "Chambong", + "photo": "Bar/chambong.jpeg", + "price": 18, + "size": "36oz", + "spicy": "no", + "favorite": "yes", + "description": "El Chambong." + }, + { + "id": 4, + "name": "La Mera Mera Margarita", + "photo": "Bar/laMeraMera56ozMargarita.jpeg", + "price": 20, + "size": "56oz", + "spicy": "yes", + "favorite": "yes", + "description": "The special margarita." + }, + { + "id": 5, + "name": "Michelada", + "photo": "Bar/Michelada.jpeg", + "price": 13, + "size": "24oz", + "spicy": "yes", + "favorite": "no", + "description": "Corona with tamarindo." + }, + { + "id": 6, + "name": "Cheesy Mac & Cheese With a Fruit Cup", + "photo": "Bar/Michelada.jpeg", + "price": 13, + "size": "24oz", + "spicy": "yes", + "favorite": "no", + "description": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua." + } +] \ No newline at end of file diff --git a/Websites/jefes-nextjs/app/menu/Beverages/page.tsx b/Websites/jefes-nextjs/app/menu/Beverages/page.tsx index 159a7bc..cf50500 100644 --- a/Websites/jefes-nextjs/app/menu/Beverages/page.tsx +++ b/Websites/jefes-nextjs/app/menu/Beverages/page.tsx @@ -1,9 +1,13 @@ -import React from 'react' +import React from "react"; +import Menu from "./items.json"; +import MenuCard from "../MenuCard/MenuCard"; const page = () => { return ( -
Beverages
- ) -} +
+ +
+ ); +}; -export default page \ No newline at end of file +export default page; diff --git a/Websites/jefes-nextjs/app/menu/Brunch/items.json b/Websites/jefes-nextjs/app/menu/Brunch/items.json new file mode 100644 index 0000000..53f9b32 --- /dev/null +++ b/Websites/jefes-nextjs/app/menu/Brunch/items.json @@ -0,0 +1,62 @@ +[ + { + "id": 1, + "name": "Caguamas", + "photo": "Bar/32ozCaguamas.jpeg", + "price": 14, + "size": "32oz", + "spicy": "no", + "favorite": "no", + "description": "A drink." + }, + { + "id": 2, + "name": "Jefes Tower", + "photo": "Bar/100ozTower.jpeg", + "price": 35, + "size": "100oz", + "spicy": "yes", + "favorite": "no", + "description": "A tower full of Corona." + }, + { + "id": 3, + "name": "Chambong", + "photo": "Bar/chambong.jpeg", + "price": 18, + "size": "36oz", + "spicy": "no", + "favorite": "yes", + "description": "El Chambong." + }, + { + "id": 4, + "name": "La Mera Mera Margarita", + "photo": "Bar/laMeraMera56ozMargarita.jpeg", + "price": 20, + "size": "56oz", + "spicy": "yes", + "favorite": "yes", + "description": "The special margarita." + }, + { + "id": 5, + "name": "Michelada", + "photo": "Bar/Michelada.jpeg", + "price": 13, + "size": "24oz", + "spicy": "yes", + "favorite": "no", + "description": "Corona with tamarindo." + }, + { + "id": 6, + "name": "Cheesy Mac & Cheese With a Fruit Cup", + "photo": "Bar/Michelada.jpeg", + "price": 13, + "size": "24oz", + "spicy": "yes", + "favorite": "no", + "description": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua." + } +] \ No newline at end of file diff --git a/Websites/jefes-nextjs/app/menu/Brunch/page.tsx b/Websites/jefes-nextjs/app/menu/Brunch/page.tsx index a17c7b9..cf50500 100644 --- a/Websites/jefes-nextjs/app/menu/Brunch/page.tsx +++ b/Websites/jefes-nextjs/app/menu/Brunch/page.tsx @@ -1,9 +1,13 @@ -import React from 'react' +import React from "react"; +import Menu from "./items.json"; +import MenuCard from "../MenuCard/MenuCard"; const page = () => { return ( -
Brunch
- ) -} +
+ +
+ ); +}; -export default page \ No newline at end of file +export default page; diff --git a/Websites/jefes-nextjs/app/menu/Dinner/items.json b/Websites/jefes-nextjs/app/menu/Dinner/items.json new file mode 100644 index 0000000..53f9b32 --- /dev/null +++ b/Websites/jefes-nextjs/app/menu/Dinner/items.json @@ -0,0 +1,62 @@ +[ + { + "id": 1, + "name": "Caguamas", + "photo": "Bar/32ozCaguamas.jpeg", + "price": 14, + "size": "32oz", + "spicy": "no", + "favorite": "no", + "description": "A drink." + }, + { + "id": 2, + "name": "Jefes Tower", + "photo": "Bar/100ozTower.jpeg", + "price": 35, + "size": "100oz", + "spicy": "yes", + "favorite": "no", + "description": "A tower full of Corona." + }, + { + "id": 3, + "name": "Chambong", + "photo": "Bar/chambong.jpeg", + "price": 18, + "size": "36oz", + "spicy": "no", + "favorite": "yes", + "description": "El Chambong." + }, + { + "id": 4, + "name": "La Mera Mera Margarita", + "photo": "Bar/laMeraMera56ozMargarita.jpeg", + "price": 20, + "size": "56oz", + "spicy": "yes", + "favorite": "yes", + "description": "The special margarita." + }, + { + "id": 5, + "name": "Michelada", + "photo": "Bar/Michelada.jpeg", + "price": 13, + "size": "24oz", + "spicy": "yes", + "favorite": "no", + "description": "Corona with tamarindo." + }, + { + "id": 6, + "name": "Cheesy Mac & Cheese With a Fruit Cup", + "photo": "Bar/Michelada.jpeg", + "price": 13, + "size": "24oz", + "spicy": "yes", + "favorite": "no", + "description": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua." + } +] \ No newline at end of file diff --git a/Websites/jefes-nextjs/app/menu/Dinner/page.tsx b/Websites/jefes-nextjs/app/menu/Dinner/page.tsx index 983ebb8..cf50500 100644 --- a/Websites/jefes-nextjs/app/menu/Dinner/page.tsx +++ b/Websites/jefes-nextjs/app/menu/Dinner/page.tsx @@ -1,9 +1,13 @@ -import React from 'react' +import React from "react"; +import Menu from "./items.json"; +import MenuCard from "../MenuCard/MenuCard"; const page = () => { return ( -
page
- ) -} +
+ +
+ ); +}; -export default page \ No newline at end of file +export default page; diff --git a/Websites/jefes-nextjs/app/menu/Lunch/items.json b/Websites/jefes-nextjs/app/menu/Lunch/items.json new file mode 100644 index 0000000..53f9b32 --- /dev/null +++ b/Websites/jefes-nextjs/app/menu/Lunch/items.json @@ -0,0 +1,62 @@ +[ + { + "id": 1, + "name": "Caguamas", + "photo": "Bar/32ozCaguamas.jpeg", + "price": 14, + "size": "32oz", + "spicy": "no", + "favorite": "no", + "description": "A drink." + }, + { + "id": 2, + "name": "Jefes Tower", + "photo": "Bar/100ozTower.jpeg", + "price": 35, + "size": "100oz", + "spicy": "yes", + "favorite": "no", + "description": "A tower full of Corona." + }, + { + "id": 3, + "name": "Chambong", + "photo": "Bar/chambong.jpeg", + "price": 18, + "size": "36oz", + "spicy": "no", + "favorite": "yes", + "description": "El Chambong." + }, + { + "id": 4, + "name": "La Mera Mera Margarita", + "photo": "Bar/laMeraMera56ozMargarita.jpeg", + "price": 20, + "size": "56oz", + "spicy": "yes", + "favorite": "yes", + "description": "The special margarita." + }, + { + "id": 5, + "name": "Michelada", + "photo": "Bar/Michelada.jpeg", + "price": 13, + "size": "24oz", + "spicy": "yes", + "favorite": "no", + "description": "Corona with tamarindo." + }, + { + "id": 6, + "name": "Cheesy Mac & Cheese With a Fruit Cup", + "photo": "Bar/Michelada.jpeg", + "price": 13, + "size": "24oz", + "spicy": "yes", + "favorite": "no", + "description": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua." + } +] \ No newline at end of file diff --git a/Websites/jefes-nextjs/app/menu/Lunch/page.tsx b/Websites/jefes-nextjs/app/menu/Lunch/page.tsx index 3359693..532589b 100644 --- a/Websites/jefes-nextjs/app/menu/Lunch/page.tsx +++ b/Websites/jefes-nextjs/app/menu/Lunch/page.tsx @@ -1,57 +1,14 @@ -import React from 'react' -import Image from 'next/image' +import React from "react"; +import Image from "next/image"; +import Menu from "./items.json"; +import MenuCard from "../MenuCard/MenuCard"; const page = () => { return ( -
-
-

Quesadillas

-

- Contains bell peppers, tomatoes, onions with a side of guacamole salad - upon request. Add rice & beans $2.{" "} - Choose from the following proteins:{" "} -

-
-

- ASADA | CHICKEN | CHORIZO | CARNITAS | AL PASTOR | SHRIMP | FISH | - BARBACOA - $11 -

-
- -
-
    -
  • -
    -

    Grilled Chicken & Bacon Quesadilla

    - - $10 -
    -
  • -
  • -
    -

    Quesadilla Del Mar

    - - $12 -
    -
  • -
  • -
    -

    Fajita Quesadilla

    - - $11 -
    -

    Chicken or Steak

    -
  • -
-
- ) -} +
+ +
+ ); +}; -export default page \ No newline at end of file +export default page; diff --git a/Websites/jefes-nextjs/app/menu/MenuCard/Inter-Bold.woff b/Websites/jefes-nextjs/app/menu/MenuCard/Inter-Bold.woff new file mode 100644 index 0000000..827d6d0 Binary files /dev/null and b/Websites/jefes-nextjs/app/menu/MenuCard/Inter-Bold.woff differ diff --git a/Websites/jefes-nextjs/app/menu/MenuCard/Inter-ExtraBold.woff b/Websites/jefes-nextjs/app/menu/MenuCard/Inter-ExtraBold.woff new file mode 100644 index 0000000..eb21edc Binary files /dev/null and b/Websites/jefes-nextjs/app/menu/MenuCard/Inter-ExtraBold.woff differ diff --git a/Websites/jefes-nextjs/app/menu/MenuCard/MenuCard.tsx b/Websites/jefes-nextjs/app/menu/MenuCard/MenuCard.tsx new file mode 100644 index 0000000..6efe0d0 --- /dev/null +++ b/Websites/jefes-nextjs/app/menu/MenuCard/MenuCard.tsx @@ -0,0 +1,109 @@ +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; diff --git a/Websites/jefes-nextjs/app/menu/Seafood/page.tsx b/Websites/jefes-nextjs/app/menu/Seafood/page.tsx deleted file mode 100644 index 983ebb8..0000000 --- a/Websites/jefes-nextjs/app/menu/Seafood/page.tsx +++ /dev/null @@ -1,9 +0,0 @@ -import React from 'react' - -const page = () => { - return ( -
page
- ) -} - -export default page \ No newline at end of file diff --git a/Websites/jefes-nextjs/app/menu/Sides/items.json b/Websites/jefes-nextjs/app/menu/Sides/items.json new file mode 100644 index 0000000..53f9b32 --- /dev/null +++ b/Websites/jefes-nextjs/app/menu/Sides/items.json @@ -0,0 +1,62 @@ +[ + { + "id": 1, + "name": "Caguamas", + "photo": "Bar/32ozCaguamas.jpeg", + "price": 14, + "size": "32oz", + "spicy": "no", + "favorite": "no", + "description": "A drink." + }, + { + "id": 2, + "name": "Jefes Tower", + "photo": "Bar/100ozTower.jpeg", + "price": 35, + "size": "100oz", + "spicy": "yes", + "favorite": "no", + "description": "A tower full of Corona." + }, + { + "id": 3, + "name": "Chambong", + "photo": "Bar/chambong.jpeg", + "price": 18, + "size": "36oz", + "spicy": "no", + "favorite": "yes", + "description": "El Chambong." + }, + { + "id": 4, + "name": "La Mera Mera Margarita", + "photo": "Bar/laMeraMera56ozMargarita.jpeg", + "price": 20, + "size": "56oz", + "spicy": "yes", + "favorite": "yes", + "description": "The special margarita." + }, + { + "id": 5, + "name": "Michelada", + "photo": "Bar/Michelada.jpeg", + "price": 13, + "size": "24oz", + "spicy": "yes", + "favorite": "no", + "description": "Corona with tamarindo." + }, + { + "id": 6, + "name": "Cheesy Mac & Cheese With a Fruit Cup", + "photo": "Bar/Michelada.jpeg", + "price": 13, + "size": "24oz", + "spicy": "yes", + "favorite": "no", + "description": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua." + } +] \ No newline at end of file diff --git a/Websites/jefes-nextjs/app/menu/Sides/page.tsx b/Websites/jefes-nextjs/app/menu/Sides/page.tsx index 983ebb8..cf50500 100644 --- a/Websites/jefes-nextjs/app/menu/Sides/page.tsx +++ b/Websites/jefes-nextjs/app/menu/Sides/page.tsx @@ -1,9 +1,13 @@ -import React from 'react' +import React from "react"; +import Menu from "./items.json"; +import MenuCard from "../MenuCard/MenuCard"; const page = () => { return ( -
page
- ) -} +
+ +
+ ); +}; -export default page \ No newline at end of file +export default page; diff --git a/Websites/jefes-nextjs/app/menu/layout.tsx b/Websites/jefes-nextjs/app/menu/layout.tsx index 9876381..334e510 100644 --- a/Websites/jefes-nextjs/app/menu/layout.tsx +++ b/Websites/jefes-nextjs/app/menu/layout.tsx @@ -1,6 +1,7 @@ import React from "react"; import Image from "next/image"; import MenuLinks from "../components/MenuBar/MenuLinks"; +import { cn } from "../../../nextjs-dashboard/lib/utils"; const layout = ({ children }: { children: React.ReactNode }) => { return ( @@ -26,7 +27,42 @@ const layout = ({ children }: { children: React.ReactNode }) => {
-
{children}
+
+ + Spicy- +
+ chili pepper spice +
+
+ + Favorite- +
+ chili pepper spice +
+
+
+ +
+ {children} +
); };