feat: Add new virtual categories 'bald' and 'neu', update category handling in renderApp, and enhance translations across multiple locales
This commit is contained in:
@@ -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",
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user