From fa9080cdfb88f39257a76250d45c683e698048fd Mon Sep 17 00:00:00 2001 From: DeathKaioken Date: Sun, 18 Jan 2026 22:12:29 +0100 Subject: [PATCH] mobile --- src/app/admin/affiliate-management/page.tsx | 585 ++++++++++---------- src/app/admin/contract-management/page.tsx | 52 +- 2 files changed, 323 insertions(+), 314 deletions(-) diff --git a/src/app/admin/affiliate-management/page.tsx b/src/app/admin/affiliate-management/page.tsx index 916616a..dc31cbf 100644 --- a/src/app/admin/affiliate-management/page.tsx +++ b/src/app/admin/affiliate-management/page.tsx @@ -121,7 +121,8 @@ export default function AffiliateManagementPage() {
-
+ {/* tighter padding on mobile */} +
{/* Error State */} {error && ( @@ -139,15 +140,19 @@ export default function AffiliateManagementPage() { )} {/* Header */} -
-
-
-

Affiliate Management

-

Manage your affiliate partners and tracking links

+
+
+
+

+ Affiliate Management +

+

+ Manage your affiliate partners and tracking links +

{/* Search and Filter */} -
+
setCategoryFilter(e.target.value)} - className="px-4 py-2.5 rounded-lg border border-gray-300 bg-white text-gray-900 focus:ring-2 focus:ring-blue-900 focus:border-transparent" + className="w-full sm:w-auto px-4 py-2.5 rounded-lg border border-gray-300 bg-white text-gray-900 focus:ring-2 focus:ring-blue-900 focus:border-transparent" > {categories.map(cat => (
{/* Stats */} -
+
@@ -222,7 +227,7 @@ export default function AffiliateManagementPage() {
{/* Affiliates Grid */} -
+
{loading && (
@@ -544,155 +549,155 @@ function CreateAffiliateModal({ onClose, onCreate }: { onClose: () => void; onCr onCropComplete={handleCropComplete} />
-
-
-

Add New Affiliate

- -
- -
-
- - setName(e.target.value)} - className="w-full rounded-lg border border-gray-300 px-4 py-3 text-gray-900 focus:ring-2 focus:ring-blue-900 focus:border-transparent" - placeholder="e.g., Coffee Equipment Co." - /> +
+
+

Add New Affiliate

+
-
- -