From ba2cf69a8b55ceb99bbc02a72b5e3dd95e1b11c5 Mon Sep 17 00:00:00 2001 From: weeihan Date: Sun, 12 Jul 2026 16:24:05 +0800 Subject: [PATCH] feat: add cross-section nav links on admin page for admin role --- app/(protected)/admin/page.tsx | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/app/(protected)/admin/page.tsx b/app/(protected)/admin/page.tsx index 2441d82..7932182 100644 --- a/app/(protected)/admin/page.tsx +++ b/app/(protected)/admin/page.tsx @@ -1,5 +1,6 @@ export const dynamic = 'force-dynamic' +import Link from 'next/link' import { redirect } from 'next/navigation' import { createClient } from '@/lib/supabase/server' import { UserManager, type AdminUser, type SiteOption } from '@/components/admin/user-manager' @@ -29,7 +30,15 @@ export default async function AdminHome() { return (
-

Admin

+
+

Admin

+ +