From eab249ab1fba9cb3f5c9d1ca794d0c69e789ee62 Mon Sep 17 00:00:00 2001 From: DeathKaioken Date: Thu, 16 Oct 2025 10:27:56 +0200 Subject: [PATCH] beautify: unified admin dashboard style --- src/app/admin/page.tsx | 64 +++++++++--------------------- src/app/admin/user-verify/page.tsx | 58 ++++++++------------------- 2 files changed, 34 insertions(+), 88 deletions(-) diff --git a/src/app/admin/page.tsx b/src/app/admin/page.tsx index d4e252f..257fd04 100644 --- a/src/app/admin/page.tsx +++ b/src/app/admin/page.tsx @@ -49,12 +49,10 @@ export default function AdminDashboardPage() { if (!isClient) { return ( -
-
-
-
-

Loading...

-
+
+
+
+

Loading...

@@ -65,8 +63,8 @@ export default function AdminDashboardPage() { if (!isAdmin) { return ( -
-
+
+

Access Denied

You need admin privileges to access this page.

@@ -79,43 +77,18 @@ export default function AdminDashboardPage() { return ( -
- {/* Background */} -
-
- - - - {/* Outer container card */} -
+
+
{/* Heading */} -
-

- Admin Dashboard -

-

- Manage all administrative features, user management, permissions, and global settings. -

-
+
+

Admin Dashboard

+

+ Manage all administrative features, user management, permissions, and global settings. +

+
{/* Warning banner */} -
+

@@ -128,7 +101,7 @@ export default function AdminDashboardPage() {

{/* Top grid: User Management + Permission Management */} -
+
{/* User Management Card */}
@@ -234,7 +207,6 @@ export default function AdminDashboardPage() {
-
+
) -} +} \ No newline at end of file diff --git a/src/app/admin/user-verify/page.tsx b/src/app/admin/user-verify/page.tsx index 9ca85fe..cdd800c 100644 --- a/src/app/admin/user-verify/page.tsx +++ b/src/app/admin/user-verify/page.tsx @@ -106,12 +106,10 @@ export default function AdminUserVerifyPage() { if (!isClient) { return ( -
-
-
-
-

Loading...

-
+
+
+
+

Loading...

@@ -122,8 +120,8 @@ export default function AdminUserVerifyPage() { if (!isAdmin) { return ( -
-
+
+

Access Denied

@@ -137,43 +135,19 @@ export default function AdminUserVerifyPage() { return ( -
- {/* Background */} -
-
- - - - {/* Outer container */} -
-
-

- User Verification Center -

-

+

+
+ {/* Title (unified) */} +
+

User Verification Center

+

Review and verify all users who need admin approval. Users must complete all steps before verification.

{/* Error Message */} {error && ( -
+

Error loading data

@@ -191,7 +165,7 @@ export default function AdminUserVerifyPage() { {/* Filter Card */}

Search & Filter Pending Users @@ -382,8 +356,8 @@ export default function AdminUserVerifyPage() {

-
+
) -} +} \ No newline at end of file