diff --git a/app/dashboard/categories/page.tsx b/app/dashboard/categories/page.tsx index f898aaf..f466c3d 100644 --- a/app/dashboard/categories/page.tsx +++ b/app/dashboard/categories/page.tsx @@ -263,10 +263,10 @@ export default function CategoriesPage() { >
@@ -384,51 +384,53 @@ export default function CategoriesPage() {
{/* Add Category Card */} - - - - + + + +
+ +
Add New Category
- + Create a new category or subcategory
-
-
- @@ -437,14 +439,14 @@ export default function CategoriesPage() { {/* Category List Card */} - - - Structure - + + + Structure + Drag and drop to reorder categories - +
{loading ? ( diff --git a/components/dashboard/quick-actions.tsx b/components/dashboard/quick-actions.tsx index a4db859..5a02f90 100644 --- a/components/dashboard/quick-actions.tsx +++ b/components/dashboard/quick-actions.tsx @@ -164,13 +164,16 @@ export default function QuickActions() { const isModalAction = action.action === "modal"; const CardContentWrapper = () => ( - - -
+ +
+
+ + +
-

{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), )}