diff --git a/app/admin/devices/page.tsx b/app/admin/devices/page.tsx index 3536885..401ce9a 100644 --- a/app/admin/devices/page.tsx +++ b/app/admin/devices/page.tsx @@ -190,28 +190,35 @@ export default function DevicesPage() { } return ( -
- {/* Header */} -
-
-

Device Management

- {!isAdmin && ( -

Read-only view

+
+ {/* Hero Section with Gradient */} +
+
+
+
+
+

Device Management

+

+ {!isAdmin ? "Read-only view" : "Verwalte deine Tracking-Geräte"} +

+
+ {isAdmin && ( + )}
- {isAdmin && ( - - )}
{error && ( -
- {error} +
+
+ ⚠️ + {error} +
)} @@ -228,32 +235,33 @@ export default function DevicesPage() { return (
+
+
📱
-

+

{device.name}

-

ID: {device.id}

+

ID: {device.id}

- {isRecent ? "Online" : "Offline"} + {isRecent ? "🟢 Online" : "⚫ Offline"}
@@ -262,7 +270,7 @@ export default function DevicesPage() { )} {device.latestLocation && ( -
+
🕒 @@ -322,13 +330,13 @@ export default function DevicesPage() {
@@ -340,8 +348,10 @@ export default function DevicesPage() {
{devices.length === 0 && ( -
- No devices found. Add a device to get started. +
+
📱
+

Keine Devices gefunden

+

Füge dein erstes Device hinzu, um zu starten.

)} diff --git a/app/admin/emails/page.tsx b/app/admin/emails/page.tsx index ff63181..84cbb11 100644 --- a/app/admin/emails/page.tsx +++ b/app/admin/emails/page.tsx @@ -48,28 +48,42 @@ export default function EmailsPage() { const previewUrl = `/api/admin/emails/preview?template=${selectedTemplate}`; return ( -
-

Email Templates

+
+ {/* Hero Section with Gradient */} +
+
+
+
+

Email Templates

+

Verwalte und teste E-Mail-Vorlagen

+
+
{/* Status Message */} {message && (
- {message.text} + {message.type === 'success' ? '✓' : '⚠️'} + {message.text}
)}
{/* Template List */} -
-
-
-

Templates

+
+
+
+
+
+ 📧 +
+

Templates

+
@@ -77,16 +91,16 @@ export default function EmailsPage() {
{/* Preview */}
-
-
-

Preview

- - {EMAIL_TEMPLATES.find(t => t.name === selectedTemplate)?.subject} - +
+
+
+
+
+ 👁️ +
+

Preview

+
+ + {EMAIL_TEMPLATES.find(t => t.name === selectedTemplate)?.subject} + +