update added photos available and dynamic photo

This commit is contained in:
Jacob Delgado 2024-01-05 04:34:59 -08:00
parent ef3b44cbf4
commit e374a047de
20 changed files with 6 additions and 2 deletions

View File

@ -2,6 +2,7 @@
{ {
"id": 1, "id": 1,
"name": "Guacamole Dip", "name": "Guacamole Dip",
"photo": "Appetizers/jalapenosDeReboso.jpeg",
"price_large": 7, "price_large": 7,
"price_small": 5, "price_small": 5,
"spicy": "no", "spicy": "no",
@ -10,6 +11,7 @@
{ {
"id": 2, "id": 2,
"name": "CHILES TOREADOS", "name": "CHILES TOREADOS",
"photo": "Appetizers/jalapenosDeReboso.jpeg",
"price": 5, "price": 5,
"spicy": "yes", "spicy": "yes",
"description": "3 fresh grilled jalepeño peppers topped with caramelized onions, Pico de Gallo, and lime wedges." "description": "3 fresh grilled jalepeño peppers topped with caramelized onions, Pico de Gallo, and lime wedges."
@ -17,6 +19,7 @@
{ {
"id": 3, "id": 3,
"name": "QUESO DIP", "name": "QUESO DIP",
"photo": "Appetizers/jalapenosDeReboso.jpeg",
"price_large": 8, "price_large": 8,
"price_small": 6, "price_small": 6,
"spicy": "yes", "spicy": "yes",
@ -25,6 +28,7 @@
{ {
"id": 4, "id": 4,
"name": "SAMPLER PLATTER", "name": "SAMPLER PLATTER",
"photo": "Appetizers/jalapenosDeReboso.jpeg",
"price": 13, "price": 13,
"spicy": "no", "spicy": "no",
"description": "1 cheese quesadilla, 2 crispy flautas beef/chicken, 2 crunchy tacos beef/chicken and cheesy tacos. Served with a side of salsa, pico de gallo, and queso." "description": "1 cheese quesadilla, 2 crispy flautas beef/chicken, 2 crunchy tacos beef/chicken and cheesy tacos. Served with a side of salsa, pico de gallo, and queso."

View File

@ -25,7 +25,7 @@ const Appetizers = () => {
/> />
</div> </div>
{/* Mapping out the menu */} {/* Mapping out the menu */}
<div className="bg-red-300 flex flex-wrap gap-8 pt-6 justify-between w-full"> <div className=" flex flex-wrap gap-8 pt-6 justify-between w-full">
{Menu.map((menu_item) => { {Menu.map((menu_item) => {
return ( return (
<div <div
@ -34,7 +34,7 @@ const Appetizers = () => {
> >
<div className="h-[55%] relative w-full overflow-hidden"> <div className="h-[55%] relative w-full overflow-hidden">
<Image <Image
src="/food01.jpg" src={`/${menu_item.photo}`}
alt="chili pepper spice" alt="chili pepper spice"
fill fill
style={{ objectFit: "cover", objectPosition: "center" }} style={{ objectFit: "cover", objectPosition: "center" }}

Binary file not shown.

After

Width:  |  Height:  |  Size: 148 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 266 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 396 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 320 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 260 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 262 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 483 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 148 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 209 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 296 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 375 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 128 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 261 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 336 KiB