diff --git a/src/app/admin/achievements/page.tsx b/src/app/admin/achievements/page.tsx index 7267af99..e2e127dc 100644 --- a/src/app/admin/achievements/page.tsx +++ b/src/app/admin/achievements/page.tsx @@ -1,3 +1,4 @@ +import { Award } from "lucide-react"; import { StatusCard } from "@/components/admin/dashboard"; import { prisma } from "@/lib/prisma"; @@ -45,10 +46,15 @@ export default async function AdminAchievements() { return (
-

Achievements

-

- Read-only Β· {achievements.length} rows across {groups.size} categories. -

+
+
+ +
+
+

Achievements

+

Read-only Β· {achievements.length} rows across {groups.size} categories.

+
+
@@ -57,15 +63,15 @@ export default async function AdminAchievements() {
{groups.size === 0 ? ( -

No achievements found.

+
No achievements found.
) : ( [...groups.entries()].map(([category, rows]) => (
-

+

{category}{" "} {rows.length}

-
+
diff --git a/src/app/admin/ads/[id]/page.tsx b/src/app/admin/ads/[id]/page.tsx index 7e65b36f..0a2d0c1a 100644 --- a/src/app/admin/ads/[id]/page.tsx +++ b/src/app/admin/ads/[id]/page.tsx @@ -1,4 +1,5 @@ import Link from "next/link"; +import { Megaphone } from "lucide-react"; import { notFound } from "next/navigation"; import { deleteAd, updateAd } from "@/actions/admin-ads"; import { prisma } from "@/lib/prisma"; @@ -21,11 +22,16 @@ export default async function EditAd({ return (
-

- ← Advertisements -

-

Edit advertisement

-
+
+
+ +
+
+

Edit advertisement

+

← Advertisements

+
+
+
@@ -58,10 +61,10 @@ export default async function AdminAds() { {/* eslint-disable-next-line @next/next/no-img-element */} - -
+ {ad.image} + {ad.createdAt ? ad.createdAt.toISOString().slice(0, 10) : "β€”"} diff --git a/src/app/admin/alerts/page.tsx b/src/app/admin/alerts/page.tsx index 997b3608..7ba4471b 100644 --- a/src/app/admin/alerts/page.tsx +++ b/src/app/admin/alerts/page.tsx @@ -1,3 +1,4 @@ +import { Bell } from "lucide-react"; import { sendHotelAlert } from "@/actions/admin-alerts"; import { StatusCard } from "@/components/admin/dashboard"; import { prisma } from "@/lib/prisma"; @@ -74,10 +75,15 @@ export default async function AdminAlerts() { return (
-

Alerts

-

- Read-only Β· 100 most recent alert_logs (newest first). -

+
+
+ +
+
+

Alerts

+

Read-only Β· 100 most recent alert_logs (newest first).

+
+
@@ -101,19 +107,19 @@ export default async function AdminAlerts() { />
- -

Send hotel alert

-

+ +

Send hotel alert

+

Broadcasts a message to every online user via RCON (hotelalert).

-
+