diff --git a/src/app/admin/import/ImportCenterClient.tsx b/src/app/admin/import/ImportCenterClient.tsx index 5ed0967..5d977b4 100644 --- a/src/app/admin/import/ImportCenterClient.tsx +++ b/src/app/admin/import/ImportCenterClient.tsx @@ -136,19 +136,19 @@ export default function ImportCenterClient({ brandId: initialBrandId, brandName: const analysisLabels = ["Reading your file...", "AI is mapping columns...", "Cleaning and normalizing data...", "Finalizing preview..."]; return ( -
+
{/* Header */}
-
- +
+
-

Import Center

-

AI-powered data import for products, orders, contacts, and stops.

+

Import Center

+

AI-powered data import for products, orders, contacts, and stops.

@@ -161,12 +161,12 @@ export default function ImportCenterClient({ brandId: initialBrandId, brandName: return (
{isPast ? "✓" : i + 1}
- {labels[i]} - {i < 3 &&
} + {labels[i]} + {i < 3 &&
}
); })} @@ -174,12 +174,12 @@ export default function ImportCenterClient({ brandId: initialBrandId, brandName: {/* Brand selector */} {isPlatformAdmin && ( -
- +
+ @@ -193,34 +193,34 @@ export default function ImportCenterClient({ brandId: initialBrandId, brandName: onDragOver={(e) => { e.preventDefault(); }} onDrop={handleDrop} onClick={() => inputRef.current?.click()} - className="flex flex-col items-center justify-center gap-3 rounded-2xl border-2 border-dashed border-zinc-700 bg-zinc-900 p-12 cursor-pointer hover:border-violet-500 hover:bg-zinc-800 transition-colors" + className="flex flex-col items-center justify-center gap-3 rounded-2xl border-2 border-dashed border-stone-300 bg-white p-12 cursor-pointer hover:border-violet-500 hover:bg-stone-50 transition-colors" > - +
-

Drag & drop your file here

-

or click to browse

+

Drag & drop your file here

+

or click to browse

-

CSV, XLSX, XLS, TXT · max 5,000 rows · 10MB

+

CSV, XLSX, XLS, TXT · max 5,000 rows · 10MB

{ const f = e.target.files?.[0]; if (f) handleFile(f); }} />
{fileName && ( -
- +
+
-

{fileName}

-

Ready to analyze

+

{fileName}

+

Ready to analyze

- +
)} {analysisError && ( -
{analysisError}
+
{analysisError}
)} ))}
@@ -291,9 +291,9 @@ export default function ImportCenterClient({ brandId: initialBrandId, brandName: {/* Warnings */} {analysis.warnings.length > 0 && ( -
-

Issues detected

-