diff --git a/client/package-lock.json b/client/package-lock.json index 9b07533..ed05cba 100644 --- a/client/package-lock.json +++ b/client/package-lock.json @@ -35,6 +35,7 @@ "react-redux": "^9.1.0", "react-router-dom": "^6.22.0", "react-social-login-buttons": "^4.1.0", + "react-toastify": "^10.0.6", "redux": "^5.0.1", "styled-components": "^6.1.8" }, @@ -10457,6 +10458,19 @@ "react": "^16.0.0 || ^17.x || ^18.x" } }, + "node_modules/react-toastify": { + "version": "10.0.6", + "resolved": "https://registry.npmjs.org/react-toastify/-/react-toastify-10.0.6.tgz", + "integrity": "sha512-yYjp+omCDf9lhZcrZHKbSq7YMuK0zcYkDFTzfRFgTXkTFHZ1ToxwAonzA4JI5CxA91JpjFLmwEsZEgfYfOqI1A==", + "license": "MIT", + "dependencies": { + "clsx": "^2.1.0" + }, + "peerDependencies": { + "react": ">=18", + "react-dom": ">=18" + } + }, "node_modules/react-transition-group": { "version": "4.4.5", "resolved": "https://registry.npmjs.org/react-transition-group/-/react-transition-group-4.4.5.tgz", diff --git a/client/package.json b/client/package.json index 94f19b4..1ba3d87 100644 --- a/client/package.json +++ b/client/package.json @@ -37,6 +37,7 @@ "react-redux": "^9.1.0", "react-router-dom": "^6.22.0", "react-social-login-buttons": "^4.1.0", + "react-toastify": "^10.0.6", "redux": "^5.0.1", "styled-components": "^6.1.8" }, diff --git a/client/src/TrailingCursor.css b/client/src/TrailingCursor.css index 413913f..1f4606f 100644 --- a/client/src/TrailingCursor.css +++ b/client/src/TrailingCursor.css @@ -22,6 +22,7 @@ body { pointer-events: none; transition: transform 0.2s ease, opacity 0.2s ease; opacity: 0.7; + z-index: 9999; } .button:hover .cursor { diff --git a/client/src/components/BuyCard.jsx b/client/src/components/BuyCard.jsx index 2d379e0..f13f509 100644 --- a/client/src/components/BuyCard.jsx +++ b/client/src/components/BuyCard.jsx @@ -16,7 +16,7 @@ function BuyCard({ bogo, mrp, discountPrice, imageUrl, productName, discount, id return (
{category.name}
+{category.name}