From 7f0f3327fac68e095517cebff74af231eb59aca7 Mon Sep 17 00:00:00 2001 From: cowboykipnugget <524877@vistacollege.nl> Date: Fri, 21 Feb 2025 09:39:26 +0100 Subject: [PATCH 1/6] k --- website/index.html | 2 +- website/script.js | 12 +++++++----- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/website/index.html b/website/index.html index b196353..cd4c535 100644 --- a/website/index.html +++ b/website/index.html @@ -22,7 +22,7 @@ - + diff --git a/website/script.js b/website/script.js index 0dc8918..d93d380 100644 --- a/website/script.js +++ b/website/script.js @@ -49,7 +49,7 @@ function showCategory(category) { { title: "Friet", imageSrc: "media/friet.png", price: 4.00 }, { title: "Kipnuggets", imageSrc: "media/kipnuggets.png", price: 2.50 }, ]; - } else if (category === 'deserts') { + } else if (category === 'Desserts') { items = [ { title: "Ijsjes", imageSrc: "media/Ijs.png", price: 2.30 }, { title: "Sorbet", imageSrc: "media/sorbet.webp", price: 3.20 }, @@ -85,7 +85,7 @@ function showCategory(category) { ]; } else if (category === 'Yoghert') { items = [ - { title: "Aardbij yoghurt", imageSrc: "media/aardbij-yoghurt.png", price: 5.10 }, + { title: "Aardbij yoghert", imageSrc: "media/aardbij-yoghurt.png", price: 5.10 }, ]; } else if (category === 'Snoep') { items = [ @@ -213,10 +213,12 @@ function getDescription(title) { } if (title === "Ketchup") { return "bluh"; - } if (title === "Aardbij Yoghert") { - return "bluh"; + } if (title === "Aardbij yoghert") { + return "bluhllllllllllllllllllllll"; - } if (title === "Snoep") { + } if (title === "Haribo starmix") { + return "bluh"; + } if (title === "Haribo Kikkers") { return "bluh"; } From 1ec471bc03ce914da3993c367678400543daa54f Mon Sep 17 00:00:00 2001 From: cowboykipnugget <524877@vistacollege.nl> Date: Fri, 21 Feb 2025 09:48:50 +0100 Subject: [PATCH 2/6] k --- website/script.js | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/website/script.js b/website/script.js index ad9cb88..80a5a93 100644 --- a/website/script.js +++ b/website/script.js @@ -13,6 +13,9 @@ function showCategory(category) { { title: "Broodje Gehakt met Joppiesaus", imageSrc: "media/GehaktJoppie.png", price: 3.80 }, { title: "Frikandelbroodje", imageSrc: "media/Frikandelbroodje.png", price: 1.20 }, { title: "Saucijzenbroodje", imageSrc: "media/Saucijz.png", price: 1.20 }, + { title: "Croissant", imageSrc: "https://th.bing.com/th/id/OIP._NRJfKZ0twQKDaljLKfvLAHaEt?rs=1&pid=ImgDetMain", price: 1.20 }, + { title: "Chocolade broodje", imageSrc: "https://www.bakkerijtommie.nl/wp-content/uploads/2020/02/chocoladebroodje-600x599.png", price: 1.20 }, + { title: "Broodje kip", imageSrc: "https://th.bing.com/th/id/OIP.sVGmYdUWj25TkUaJR2FCUwHaHa?rs=1&pid=ImgDetMain", price: 1.20 }, ]; } else if (category === 'Koude-Dranken') { @@ -157,6 +160,12 @@ function getDescription(title) { return "Een knapperig korstje met een warme, kruidige vleesvulling"; } else if (title === "Frikandelbroodje") { return "Een knapperige korstje met een warme frikandel en curry saus erin"; + } else if (title === "Croissant") { + return "bluh"; + } else if (title === "Chocolade broodje") { + return "bluh"; + } else if (title === "Broodje kip") { + return "bluh"; // Koude dranken beschrijving } else if (title === "Spa Water") { @@ -222,6 +231,10 @@ function getDescription(title) { return "bluh"; } if (title === "Haribo Kikkers") { return "bluh"; + } if (title === "Haribo Goudberen") { + return "bluh"; + } if (title === "Haribo Bananen") { + return "bluh"; } return ""; From bf8d7072ec2e8044375c6987cd2dc790da698a26 Mon Sep 17 00:00:00 2001 From: kitkatpotato16 <523488@vistacollege.nl> Date: Fri, 21 Feb 2025 09:57:55 +0100 Subject: [PATCH 3/6] overige --- website/index.html | 1 + website/script.js | 9 +++++++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/website/index.html b/website/index.html index cd4c535..4bfbe95 100644 --- a/website/index.html +++ b/website/index.html @@ -29,6 +29,7 @@ + diff --git a/website/script.js b/website/script.js index ad9cb88..824876e 100644 --- a/website/script.js +++ b/website/script.js @@ -4,7 +4,7 @@ function showCategory(category) { productDisplay.innerHTML = ''; // Maak het display leeg voordat we nieuwe items toevoegen let items = []; - +} // Afhankelijk van de gekozen categorie, voeg je de juiste producten toe if (category === 'Broodjes') { items = [ @@ -94,7 +94,12 @@ function showCategory(category) { { title: "Haribo Bananen", imageSrc: "media/bananas.png", price: 2.50 }, { title: "Haribo Goudberen", imageSrc: "media/Goudberen.png", price: 2.50 }, ]; - } + } else if (category === 'Overige') { + items = [ + { title: "Bestek", imageSrc: "https://www.kerst-feestwinkel.nl/img/large/zwart-plastic-verjaardag-bbq-bestek-24-delig/10038/913-1.jpg", price: 0.40}, + { title: "Hervul baar bekers", imageSrc:"https://th.bing.com/th/id/OIP.7V3t9HqIG_ss_IfEn6vgIwHaFl?w=238&h=180&c=7&pcl=1b1a19&r=0&o=5&pid=1.7", price: 1.00}, + { title: "Rietjes", imageSrc: "https://th.bing.com/th/id/OIP.hiraJOON9-g_L44k0RRJ2QHaHa?w=186&h=190&c=7&pcl=1b1a19&r=0&o=5&pid=1.7", price: 0.15}, + ]; // Voeg de items toe aan de weergave items.forEach(item => { const productBox = document.createElement('div'); From 7feac66a6df9b53deea85480847511e031aaabf6 Mon Sep 17 00:00:00 2001 From: kitkatpotato16 <523488@vistacollege.nl> Date: Fri, 21 Feb 2025 10:00:27 +0100 Subject: [PATCH 4/6] sdfgh --- website/script.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/website/script.js b/website/script.js index b3f4fa2..fc203fe 100644 --- a/website/script.js +++ b/website/script.js @@ -4,7 +4,7 @@ function showCategory(category) { productDisplay.innerHTML = ''; // Maak het display leeg voordat we nieuwe items toevoegen let items = []; -} + // Afhankelijk van de gekozen categorie, voeg je de juiste producten toe if (category === 'Broodjes') { items = [ @@ -103,6 +103,7 @@ function showCategory(category) { { title: "Hervul baar bekers", imageSrc:"https://th.bing.com/th/id/OIP.7V3t9HqIG_ss_IfEn6vgIwHaFl?w=238&h=180&c=7&pcl=1b1a19&r=0&o=5&pid=1.7", price: 1.00}, { title: "Rietjes", imageSrc: "https://th.bing.com/th/id/OIP.hiraJOON9-g_L44k0RRJ2QHaHa?w=186&h=190&c=7&pcl=1b1a19&r=0&o=5&pid=1.7", price: 0.15}, ]; + } // Voeg de items toe aan de weergave items.forEach(item => { const productBox = document.createElement('div'); From a00e7c78a5f22b9e95cf4e6accc488aa1886f94d Mon Sep 17 00:00:00 2001 From: kitkatpotato16 <523488@vistacollege.nl> Date: Fri, 21 Feb 2025 10:02:17 +0100 Subject: [PATCH 5/6] sdf --- website/script.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/website/script.js b/website/script.js index fc203fe..9640c70 100644 --- a/website/script.js +++ b/website/script.js @@ -327,6 +327,7 @@ const translations = { "Toevoegen aan winkelmandje": "Add to cart", "Bestellen": "Order", "Totaal": "Total", + "Overige": "Other", "Op dit broodje zit kaas, veldsla, komkommer, tomaat, ei, ham en/of kip en bufkes saus.": "This sandwich contains cheese, lamb's lettuce, cucumber, tomato, egg, ham and/or chicken, and bufkes sauce.", "Doughnut brood met spek, ei en kaas": "Doughnut bread with bacon, egg, and cheese", "Een wit of bruin broodje met Gehakt, Ei, Sla en Joppiesaus": "A white or brown sandwich with minced meat, egg, lettuce, and Joppiesaus", @@ -368,6 +369,7 @@ const translations = { "Add to cart": "Toevoegen aan winkelmandje", "Order": "Bestellen", "Total": "Totaal", + "Other": "Overige", "This sandwich contains cheese, lamb's lettuce, cucumber, tomato, egg, ham and/or chicken, and bufkes sauce.": "Op dit broodje zit kaas, veldsla, komkommer, tomaat, ei, ham en/of kip en bufkes saus.", "Doughnut bread with bacon, egg, and cheese": "Doughnut brood met spek, ei en kaas", "A white or brown sandwich with minced meat, egg, lettuce, and Joppiesaus": "Een wit of bruin broodje met Gehakt, Ei, Sla en Joppiesaus", From c05bfd7f0f0ac32cdfe2f51e2a24e90788171bb4 Mon Sep 17 00:00:00 2001 From: kitkatpotato16 <523488@vistacollege.nl> Date: Fri, 21 Feb 2025 10:04:38 +0100 Subject: [PATCH 6/6] rtrtd --- website/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/index.html b/website/index.html index 4bfbe95..909257c 100644 --- a/website/index.html +++ b/website/index.html @@ -29,7 +29,7 @@ - +