mirror of
https://github.com/Alvin-Zilverstand/Schoolkantine.git
synced 2026-03-06 21:36:27 +01:00
fr
This commit is contained in:
@@ -255,18 +255,24 @@ function getDescription(title) {
|
|||||||
return "bluhllllllllllllllllllllll";
|
return "bluhllllllllllllllllllllll";
|
||||||
|
|
||||||
} if (title === "Haribo starmix") {
|
} if (title === "Haribo starmix") {
|
||||||
return "bluh";
|
return "Een mixzakje met 75g snoepjes. ";
|
||||||
} if (title === "Haribo Kikkers") {
|
} if (title === "Haribo Kikkers") {
|
||||||
return "bluh";
|
return "Een zakje met 75g kikkertjes.";
|
||||||
} if (title === "Haribo Goudberen") {
|
} if (title === "Haribo Goudberen") {
|
||||||
return "bluh";
|
return "Een zakje met 75g beertjes";
|
||||||
} if (title === "Haribo Bananen") {
|
} if (title === "Haribo Bananen") {
|
||||||
return "bluh";
|
return "Een zakje met 75g banaantjes.";
|
||||||
|
} if (title === "Haribo Perzikken") {
|
||||||
}
|
return "Een zakje met 75g Perzikken.";
|
||||||
|
} if (title === "Haribo Tropifrutti") {
|
||||||
|
return "Een mix zakje met 75g Snoepjes.";
|
||||||
|
} if (title === "Haribo Tangfastics") {
|
||||||
|
return "Een mixzakje met 75g zure snoepjes.";
|
||||||
|
} if (title === "Haribo Kersen") {
|
||||||
|
return "Een zakje met 75g kersjes.";
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
|
}
|
||||||
// Functie om een item aan het winkelwagentje toe te voegen
|
// Functie om een item aan het winkelwagentje toe te voegen
|
||||||
function addToCart(item) {
|
function addToCart(item) {
|
||||||
const cart = JSON.parse(localStorage.getItem('cart')) || [];
|
const cart = JSON.parse(localStorage.getItem('cart')) || [];
|
||||||
|
|||||||
@@ -134,7 +134,7 @@ body {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#add-to-cart {
|
#add-to-cart {
|
||||||
background-color: #4CAF50;
|
background-color: #F56E28;
|
||||||
color: white;
|
color: white;
|
||||||
border: none;
|
border: none;
|
||||||
padding: 10px 20px;
|
padding: 10px 20px;
|
||||||
@@ -144,7 +144,7 @@ body {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#add-to-cart:hover {
|
#add-to-cart:hover {
|
||||||
background-color: #45a049;
|
background-color: #F56E28;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Winkelwagen-icoon */
|
/* Winkelwagen-icoon */
|
||||||
|
|||||||
Reference in New Issue
Block a user