From 1c12d378d66b92b1674acd17640f2bac752da289 Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Tue, 25 Mar 2025 14:13:06 -0400 Subject: Converted public dashboard to admin dashboard; Made API have a consistent output message --- web/src/app/dashboard/page.js | 65 +++++++++++++++++++++++-------------------- 1 file changed, 35 insertions(+), 30 deletions(-) (limited to 'web/src/app/dashboard/page.js') diff --git a/web/src/app/dashboard/page.js b/web/src/app/dashboard/page.js index bab3bd8..a252958 100644 --- a/web/src/app/dashboard/page.js +++ b/web/src/app/dashboard/page.js @@ -1,39 +1,44 @@ -import { redirect } from "next/navigation"; -import { auth } from "@/lib/auth"; -import SignOut from "@/app/components/sign-out"; -import Guilds from "@/app/components/Guilds"; - -export default async function Home() { - const session = await auth(); - if (!session) redirect("/"); +import Navbar from "@/app/components/Navbar"; +export default function Dashboard() { return ( <> - -
-
-
Settings
- -
-
-

Logging

-

Channel 1

-

Channel 2

-

Quote of the Day

-

LLM Chatbot

- ) + ); } -- cgit v1.2.3