diff --git a/app/Admin/layout.tsx b/app/Admin/layout.tsx
index 696a445..a59f214 100644
--- a/app/Admin/layout.tsx
+++ b/app/Admin/layout.tsx
@@ -1,11 +1,13 @@
import React from "react";
-export default function AdminLayout({children}: {children: React.ReactNode}) {
+import ProtectedRoute from "@/components/wrappers/ProtectedRoute";
+
+export default async function AdminLayout({
+ children,
+}: {
+ children: React.ReactNode;
+}) {
// TODO: Put user state management here
//redirect("wherever state says") <= stateRouteManager()
- return (
-
- {children}
-
- )
- }
\ No newline at end of file
+ return {children};
+}
diff --git a/app/Admin/page.tsx b/app/Admin/page.tsx
index c19c6e1..05169a4 100644
--- a/app/Admin/page.tsx
+++ b/app/Admin/page.tsx
@@ -1,6 +1,5 @@
-import { redirect } from "next/navigation";
+import UnderConstruction from "@/components/static_pages/UnderConstruction";
export default function Admin() {
- // TODO: Replace with Layout State Manager
- redirect("/Admin/Login");
+ return ;
}
diff --git a/app/Admin/Login/page.tsx b/app/Authentication/Login/page.tsx
similarity index 50%
rename from app/Admin/Login/page.tsx
rename to app/Authentication/Login/page.tsx
index c176301..89264a1 100644
--- a/app/Admin/Login/page.tsx
+++ b/app/Authentication/Login/page.tsx
@@ -2,12 +2,16 @@
import { useState } from "react";
import { login, signup } from "@/lib/server_functions/userAuth";
+import Form from "@/components/ui/Form";
export default function Login() {
const [createAccount, setCreateAccount] = useState(false);
return (
-