mirror of
https://github.com/Alvin-Zilverstand/Schoolkantine.git
synced 2026-03-07 05:53:00 +01:00
hyy
This commit is contained in:
@@ -3,22 +3,23 @@ function showItemDetails(item) {
|
||||
var items = [];
|
||||
|
||||
// Afhankelijk van het geselecteerde item, pas de details aan
|
||||
// Stel de inhoud in afhankelijk van het geselecteerde item
|
||||
if (item === 'Broodjes') {
|
||||
title = "Broodje gezond";
|
||||
imageSrc = "media/broodje-gezond.jpg";
|
||||
title = "Broodje Gezond";
|
||||
image = "https://thumbs.dreamstime.com/b/submarine-sandwich-ham-cheese-clipping-path-egg-tomato-cucumber-lettuce-white-48580716.jpg";
|
||||
description = "Op dit broodje zit kaas, veldsla, komkommer, tomaat, ei, ham en/of kip en bufkes saus.";
|
||||
} else if (item === 'drinks') {
|
||||
title = "Spa water";
|
||||
imageSrc = "media/spa.jpg";
|
||||
description = "Koude verfrissende water";
|
||||
title = "Spa Water";
|
||||
image = "https://m.media-amazon.com/images/I/71VrczELeaL._AC_SY741_.jpg";
|
||||
description = "Koude verfrissende water.";
|
||||
} else if (item === 'Snacks') {
|
||||
title = "Frikandel";
|
||||
imageSrc = "media/frikandel.jpg";
|
||||
image = "https://boshuis.huisjebezorgd.nl/wp-content/uploads/2020/03/29512948_652505005141152_1601506864166600704_o.jpg";
|
||||
description = "Een frikandel, dat wil je wel!";
|
||||
} else if (item === 'deserts') {
|
||||
title = "Ijsjes";
|
||||
imageSrc = "media/ijs.png";
|
||||
description = "Een lekker ijsje met vele smaken, zoals aardbei, vannille, chocolade, mint, bosbes en nog veel meer (alleen in de zomer!)";
|
||||
image = "https://th.bing.com/th/id/R.5e81f369a0da6a92106391e7b0a5119b?rik=KD0kNGiRjGM22g&riu=http%3a%2f%2fwww.brookersicecream.com%2fwp-content%2fuploads%2f2018%2f09%2fIce-Cream-Fan.png&ehk=%2bfZOURa%2fKgmE4uuuESx9We3OBrwXpPaaMZpJaBJt4bo%3d&risl=&pid=ImgRaw&r=0";
|
||||
description = "Een lekker ijsje met vele smaken, zoals aardbei, vanille, chocolade, mint, bosbes en nog veel meer (alleen in de zomer!).";
|
||||
} else if (item === 'Deals') {
|
||||
title = "Deals";
|
||||
imageSrc = "https://archies.com/wp-content/uploads/2024/07/MEAL-DEALS_HERO_MOBILE-1.jpg";
|
||||
|
||||
@@ -65,6 +65,11 @@ body {
|
||||
margin: 10px 0;
|
||||
}
|
||||
|
||||
.menu-item:hover {
|
||||
background-color: #f59e42;
|
||||
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
|
||||
/* Modaal venster (pop-up) */
|
||||
.modal {
|
||||
display: none;
|
||||
|
||||
Reference in New Issue
Block a user