mirror of
https://github.com/Alvin-Zilverstand/Schoolkantine.git
synced 2026-03-07 05:53:00 +01:00
as
This commit is contained in:
@@ -27,6 +27,8 @@
|
|||||||
<div class="menu-item" onclick="showCategory('Soepen')" data-translate="Soepen">Soepen</div>
|
<div class="menu-item" onclick="showCategory('Soepen')" data-translate="Soepen">Soepen</div>
|
||||||
<div class="menu-item" onclick="showCategory('Salades')" data-translate="Salades">Salades</div>
|
<div class="menu-item" onclick="showCategory('Salades')" data-translate="Salades">Salades</div>
|
||||||
<div class="menu-item" onclick="showCategory('Sausjes')" data-translate="Sausjes">Sausjes</div>
|
<div class="menu-item" onclick="showCategory('Sausjes')" data-translate="Sausjes">Sausjes</div>
|
||||||
|
<div class="menu-item" onclick="showCategory('Sausjes')" data-translate="Sausjes">Yoghert</div>
|
||||||
|
<div class="menu-item" onclick="showCategory('Sausjes')" data-translate="Sausjes">Snoep</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- Productweergave -->
|
<!-- Productweergave -->
|
||||||
|
|||||||
@@ -83,6 +83,14 @@ function showCategory(category) {
|
|||||||
{ title: "Sweet Chili", imageSrc: "https://www.dechinesemuuregmond.nl/wp-content/uploads/2022/04/19.-Zoetzure-saus.jpg", price: 0.75 },
|
{ title: "Sweet Chili", imageSrc: "https://www.dechinesemuuregmond.nl/wp-content/uploads/2022/04/19.-Zoetzure-saus.jpg", price: 0.75 },
|
||||||
{title: "Curry saus", imageSrc: "https://bestellen.hotelhetanker.nl/wp-content/uploads/2021/03/currysaus-1.png", price: 0.75}
|
{title: "Curry saus", imageSrc: "https://bestellen.hotelhetanker.nl/wp-content/uploads/2021/03/currysaus-1.png", price: 0.75}
|
||||||
];
|
];
|
||||||
|
} else if (category === 'yoghert') {
|
||||||
|
items = [
|
||||||
|
{ title: "", imageSrc: "", price: 5.10 },
|
||||||
|
];
|
||||||
|
} else if (category === 'Snoep') {
|
||||||
|
items = [
|
||||||
|
{ title: "", imageSrc: "", price: 5.10 },
|
||||||
|
];
|
||||||
}
|
}
|
||||||
// Voeg de items toe aan de weergave
|
// Voeg de items toe aan de weergave
|
||||||
items.forEach(item => {
|
items.forEach(item => {
|
||||||
|
|||||||
Reference in New Issue
Block a user