diff --git a/src/app/admin/communications/abandoned-carts/page.tsx b/src/app/admin/communications/abandoned-carts/page.tsx index ec57ded..2c364f4 100644 --- a/src/app/admin/communications/abandoned-carts/page.tsx +++ b/src/app/admin/communications/abandoned-carts/page.tsx @@ -13,7 +13,7 @@ export default async function AbandonedCartsPage() { const brandName = settingsResult?.success ? (settingsResult.settings?.brand_name ?? "Farm") : "Farm"; return ( -
+
{/* Header */}
diff --git a/src/app/admin/communications/welcome-sequence/page.tsx b/src/app/admin/communications/welcome-sequence/page.tsx index ef17cb4..23adabb 100644 --- a/src/app/admin/communications/welcome-sequence/page.tsx +++ b/src/app/admin/communications/welcome-sequence/page.tsx @@ -12,7 +12,7 @@ export default async function WelcomeSequencePage() { const brandName = settingsResult?.success ? (settingsResult.settings?.brand_name ?? "Farm") : "Farm"; return ( -
+
{/* Header */}
diff --git a/src/app/admin/me/AdminMeClient.tsx b/src/app/admin/me/AdminMeClient.tsx index 7a647e2..ed6a37f 100644 --- a/src/app/admin/me/AdminMeClient.tsx +++ b/src/app/admin/me/AdminMeClient.tsx @@ -71,44 +71,62 @@ export default function AdminMeClient({ currentUser }: ProfilePageProps) { } return ( -
+
- + ← Back to dashboard -

My Profile

-

+

My Profile

+

Manage your profile information and preferences.

{error && ( -
{error}
+
{error}
)} {/* Profile card */} -
+
-

+

{currentUser.display_name || currentUser.email}

{currentUser.display_name && ( -

{currentUser.email}

+

{currentUser.email}

)}
- + {currentUser.role.replace("_", " ")} {currentUser.brand_name && ( - {currentUser.brand_name} + {currentUser.brand_name} )}
{!editing && ( @@ -120,12 +138,12 @@ export default function AdminMeClient({ currentUser }: ProfilePageProps) {
-

Phone

-

{currentUser.phone_number ?? "—"}

+

Phone

+

{currentUser.phone_number ?? "—"}

-

Email

-

{currentUser.email}

+

Email

+

{currentUser.email}

@@ -135,22 +153,32 @@ export default function AdminMeClient({ currentUser }: ProfilePageProps) { {editing && (
- + setDisplayName(e.target.value)} - className="mt-1 w-full rounded-lg border border-stone-300 px-3 py-2 text-sm focus:border-emerald-500 focus:outline-none focus:ring-1 focus:ring-emerald-500" + className="mt-1 w-full rounded-lg border px-3 py-2 text-sm focus:outline-none focus:ring-1" + style={{ + borderColor: "var(--admin-border)", + color: "var(--admin-text-primary)", + backgroundColor: "white" + }} placeholder="Your name" />
- + setPhoneNumber(e.target.value)} - className="mt-1 w-full rounded-lg border border-stone-300 px-3 py-2 text-sm focus:border-emerald-500 focus:outline-none focus:ring-1 focus:ring-emerald-500" + className="mt-1 w-full rounded-lg border px-3 py-2 text-sm focus:outline-none focus:ring-1" + style={{ + borderColor: "var(--admin-border)", + color: "var(--admin-text-primary)", + backgroundColor: "white" + }} placeholder="+1 (555) 000-0000" />
@@ -158,14 +186,19 @@ export default function AdminMeClient({ currentUser }: ProfilePageProps) { @@ -175,35 +208,51 @@ export default function AdminMeClient({ currentUser }: ProfilePageProps) {
{/* Email change section */} -
-

Email Address

-

- Current: {currentUser.email} +

+

Email Address

+

+ Current: {currentUser.email}

{emailChangeSent ? ( -
+
A confirmation email has been sent to {newEmail}. Click the link in the email to confirm the change.
) : (
- + setNewEmail(e.target.value)} - className="mt-1 w-full rounded-lg border border-stone-300 px-3 py-2 text-sm focus:border-emerald-500 focus:outline-none focus:ring-1 focus:ring-emerald-500" + className="mt-1 w-full rounded-lg border px-3 py-2 text-sm focus:outline-none focus:ring-1" + style={{ + borderColor: "var(--admin-border)", + color: "var(--admin-text-primary)", + backgroundColor: "white" + }} placeholder="new@example.com" />
{emailError && ( -
{emailError}
+
{emailError}
)} diff --git a/src/app/admin/products/[id]/page.tsx b/src/app/admin/products/[id]/page.tsx index 45c9282..f35207d 100644 --- a/src/app/admin/products/[id]/page.tsx +++ b/src/app/admin/products/[id]/page.tsx @@ -30,7 +30,7 @@ export default async function ProductDetailPage({ params }: ProductDetailPagePro if (error || !product) { return ( -
+

Product not found

@@ -48,7 +48,7 @@ export default async function ProductDetailPage({ params }: ProductDetailPagePro
   }
 
   return (
-    
+
+
diff --git a/src/app/admin/products/new/page.tsx b/src/app/admin/products/new/page.tsx index c42c6e1..c85755c 100644 --- a/src/app/admin/products/new/page.tsx +++ b/src/app/admin/products/new/page.tsx @@ -6,7 +6,7 @@ export default async function NewProductPage() { const adminUser = await getAdminUser(); if (!adminUser?.can_manage_products) redirect("/admin/pickup"); return ( -
+
+
+

Lot not found

@@ -53,7 +53,7 @@ export default async function LotDetailPage({ params }: { params: Promise<{ id: } return ( -
+
← Back to Lots diff --git a/src/app/admin/route-trace/lots/new/page.tsx b/src/app/admin/route-trace/lots/new/page.tsx index 546af51..103599f 100644 --- a/src/app/admin/route-trace/lots/new/page.tsx +++ b/src/app/admin/route-trace/lots/new/page.tsx @@ -25,7 +25,7 @@ export default async function NewLotPage() { if (!enabled) redirect("/admin/settings/apps?reason=route_trace"); return ( -
+
← Back to Lots diff --git a/src/app/admin/sales/import/page.tsx b/src/app/admin/sales/import/page.tsx index 70fb5e0..cc82a8f 100644 --- a/src/app/admin/sales/import/page.tsx +++ b/src/app/admin/sales/import/page.tsx @@ -77,7 +77,7 @@ John Doe,john@example.com,555-5678,{STOP_ID},{PRODUCT_ID},1,shipping } return ( -
+
diff --git a/src/app/admin/settings/shipping/page.tsx b/src/app/admin/settings/shipping/page.tsx index 975f033..5ed8163 100644 --- a/src/app/admin/settings/shipping/page.tsx +++ b/src/app/admin/settings/shipping/page.tsx @@ -26,30 +26,30 @@ export default async function ShippingSettingsPage() { const settings = result.success ? result.settings : null; return ( -
+
{/* Breadcrumb */} -