+
+
+
+
+
+
- {action.title}
- {action.description}
+ {action.title}
+ {action.description}
);
@@ -181,15 +184,15 @@ export default function QuickActions() {
initial={{ opacity: 0, y: 20 }}
animate={{ opacity: 1, y: 0 }}
transition={{ delay: index * 0.1 }}
- whileHover={{ scale: 1.02 }}
+ whileHover={{ y: -5 }}
whileTap={{ scale: 0.98 }}
>
{isModalAction ? (
-
setModalOpen(true)}>
+
setModalOpen(true)} className="cursor-pointer h-full">
) : (
-
+
)}
diff --git a/components/tables/product-table.tsx b/components/tables/product-table.tsx
index 384cdea..f18b6ab 100644
--- a/components/tables/product-table.tsx
+++ b/components/tables/product-table.tsx
@@ -211,12 +211,14 @@ const ProductTable = ({
return (
{/* Enabled Products Table */}
-
-
-
-
+
+
+
+
+
+
Active Products
-
+
{sortedEnabledProducts.length}
@@ -226,11 +228,14 @@ const ProductTable = ({
{renderTableHeader()}
-
+
{loading ? (
- Loading products...
+
+
+
Loading products...
+
) : sortedEnabledProducts.length > 0 ? (
@@ -239,7 +244,7 @@ const ProductTable = ({
-
+
No active products found
@@ -254,12 +259,12 @@ const ProductTable = ({
{/* Disabled Products Section */}
{!loading && disabledProducts.length > 0 && (
-
-
-
+
+
+
Archived / Disabled
-
+
{sortedDisabledProducts.length}
@@ -269,7 +274,7 @@ const ProductTable = ({
{renderTableHeader()}
-
+
{sortedDisabledProducts.map((product, index) =>
renderProductRow(product, index, true),
)}