feat: Add new virtual categories 'bald' and 'neu', update category handling in renderApp, and enhance translations across multiple locales

This commit is contained in:
sebseb7
2026-03-25 07:04:50 +01:00
parent e5a3b7bcce
commit 0ce8ce3626
27 changed files with 144 additions and 8 deletions

View File

@@ -10,6 +10,7 @@ import AddIcon from "@mui/icons-material/Add";
import RemoveIcon from "@mui/icons-material/Remove";
import ShoppingCartIcon from "@mui/icons-material/ShoppingCart";
import DeleteIcon from "@mui/icons-material/Delete";
import NotificationsIcon from "@mui/icons-material/Notifications";
import { withI18n } from "../i18n/withTranslation.js";
if (!Array.isArray(window.cart)) window.cart = [];
@@ -144,11 +145,18 @@ class AddToCartButton extends Component {
fullWidth
variant="contained"
size={size || "medium"}
startIcon={<NotificationsIcon />}
sx={{
borderRadius: 2,
fontWeight: "bold",
backgroundColor: "#ffeb3b",
color: "#000000",
whiteSpace: "nowrap",
flexWrap: "nowrap",
"& .MuiButton-label": {
whiteSpace: "nowrap",
flexWrap: "nowrap",
},
"&:hover": {
backgroundColor: "#fdd835",
},