From 4bfb3b4250efa735aa265e924680a36a4b8bb1a7 Mon Sep 17 00:00:00 2001
From: Mohamed Bassem <me@mbassem.com>
Date: Sat, 21 Dec 2024 21:35:35 +0000
Subject: feature: Add an admin notice about the usage of the legacy container
 images

---
 apps/web/app/dashboard/admin/page.tsx | 15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)

(limited to 'apps/web/app/dashboard/admin/page.tsx')

diff --git a/apps/web/app/dashboard/admin/page.tsx b/apps/web/app/dashboard/admin/page.tsx
index 18efc889..cf97698b 100644
--- a/apps/web/app/dashboard/admin/page.tsx
+++ b/apps/web/app/dashboard/admin/page.tsx
@@ -1,5 +1,7 @@
 import { redirect } from "next/navigation";
 import AdminActions from "@/components/dashboard/admin/AdminActions";
+import { AdminCard } from "@/components/dashboard/admin/AdminCard";
+import { AdminNotices } from "@/components/dashboard/admin/AdminNotices";
 import ServerStats from "@/components/dashboard/admin/ServerStats";
 import UserList from "@/components/dashboard/admin/UserList";
 import { getServerAuthSession } from "@/server/auth";
@@ -10,14 +12,15 @@ export default async function AdminPage() {
     redirect("/");
   }
   return (
-    <>
-      <div className="rounded-md border bg-background p-4">
+    <div className="flex flex-col gap-4">
+      <AdminNotices />
+      <AdminCard>
         <ServerStats />
         <AdminActions />
-      </div>
-      <div className="mt-4 rounded-md border bg-background p-4">
+      </AdminCard>
+      <AdminCard>
         <UserList />
-      </div>
-    </>
+      </AdminCard>
+    </div>
   );
 }
-- 
cgit v1.2.3-70-g09d2

