@@ -519,7 +519,7 @@ const AdminProductPanel = () => {
)}
@@ -527,7 +527,7 @@ const AdminProductPanel = () => {
diff --git a/frontend/src/pages/BrandPage.jsx b/frontend/src/pages/BrandPage.jsx
index 3703953..ff25e1a 100644
--- a/frontend/src/pages/BrandPage.jsx
+++ b/frontend/src/pages/BrandPage.jsx
@@ -8,16 +8,16 @@ const BrandPage = () => {
const { brandName } = useParams();
const [products, setProducts] = useState([]);
const [loading, setLoading] = useState(true);
- const [priceRange, setPriceRange] = useState(9050);
+ const [priceRange, setPriceRange] = useState(100000);
const [selectedSize, setSelectedSize] = useState("Any Size");
const [selectedAbv, setSelectedAbv] = useState("Any ABV");
const [selectedCategory, setSelectedCategory] = useState("Any Category");
const [hoveredIndex, setHoveredIndex] = useState(null);
const { addToCart } = useCart();
- const sizes = ["Any Size", "750ML", "1L", "500ML"];
+ const sizes = ["Any Size", "750ML", "1L", "625ML","500ML","375ML", "330ML","325ML","180ML"];
const abvLevels = ["Any ABV", "5%", "6%", "7%", "10%"];
- const categories = ["Any Category", "Wine", "Shake & Beer", "Spirit"];
+ const categories = ["Any Category", "Shake & Beer", "Wine", "Sprite","Arrack","Gin","Whisky","Rum","Vodka","Brandy","Nine Arches"];
useEffect(() => {
const fetchProducts = async () => {
@@ -45,9 +45,9 @@ const BrandPage = () => {
if (loading) {
return (
-
-
-
+
+
+
Loading {brandName || "brand"} collection...
@@ -56,31 +56,31 @@ const BrandPage = () => {
if (!brandName) {
return (
-
+
Brand not found in the URL
);
}
return (
-
+
{/* Sidebar Filter */}
- Filters
+ Filters
{/* Price Filter */}
- Price Range
+ Price Range
setPriceRange(parseInt(e.target.value))}
className="w-full cursor-pointer"
/>
-
+
LKR 950
LKR 9050
@@ -92,7 +92,7 @@ const BrandPage = () => {
{/* Category Filter */}
- Category
+ Category
{categories.map((category) => (
|