diff --git a/src/app/admin/classes/page.tsx b/src/app/admin/classes/page.tsx index f5783d8..938e852 100644 --- a/src/app/admin/classes/page.tsx +++ b/src/app/admin/classes/page.tsx @@ -5,5 +5,5 @@ export const metadata: Metadata = { }; export default async function Page() { - return
Classes
; + returnHello world!
; } diff --git a/src/app/admin/layout.tsx b/src/app/admin/layout.tsx index d12d790..1c43f79 100644 --- a/src/app/admin/layout.tsx +++ b/src/app/admin/layout.tsx @@ -1,10 +1,15 @@ +"use client"; import { Sidebar } from "@/app/components/Sidebar"; +import { Divider } from "@nextui-org/react"; +import { usePathname } from "next/navigation"; import { FaDoorClosed, FaRegUser } from "react-icons/fa"; import { FiSettings } from "react-icons/fi"; import { IoMdStats } from "react-icons/io"; import { MdInbox } from "react-icons/md"; export default function Layout({ children }: { children: React.ReactNode }) { + const pathName = usePathname(); + const sidebarItems = [ [ { href: "/admin", title: "Dashboard", icon:Admin Home
; + return ( +Hello world!
+ ); } diff --git a/src/app/admin/rooms/page.tsx b/src/app/admin/rooms/page.tsx index ef357f0..ce017d3 100644 --- a/src/app/admin/rooms/page.tsx +++ b/src/app/admin/rooms/page.tsx @@ -5,5 +5,7 @@ export const metadata: Metadata = { }; export default async function Page() { - returnRooms
; + return ( +Hello world!
+ ); } diff --git a/src/app/admin/settings/page.tsx b/src/app/admin/settings/page.tsx index 509c111..5cbc088 100644 --- a/src/app/admin/settings/page.tsx +++ b/src/app/admin/settings/page.tsx @@ -5,5 +5,7 @@ export const metadata: Metadata = { }; export default async function Page() { - returnSettings
; + return ( +Hello world!
+ ); } diff --git a/src/app/admin/users/page.tsx b/src/app/admin/users/page.tsx index e0654e3..3a2f32d 100644 --- a/src/app/admin/users/page.tsx +++ b/src/app/admin/users/page.tsx @@ -6,9 +6,5 @@ export const metadata: Metadata = { }; export default async function Page() { - return ( -