diff --git a/app/qg/page.tsx b/app/qg/page.tsx deleted file mode 100644 index 92c628c6..00000000 --- a/app/qg/page.tsx +++ /dev/null @@ -1,23 +0,0 @@ -import { getServerSession } from "next-auth/next"; -import { authOptions } from "@/app/api/auth/[...nextauth]/route"; -import { redirect } from "next/navigation"; -import { ResponsiveIframe } from "@/app/components/responsive-iframe"; - -export default async function Page() { - const session = await getServerSession(authOptions); - - if (!session) { - redirect("/signin"); - } - - return ( -
-
- -
-
- ); -} \ No newline at end of file diff --git a/components/main-nav.tsx b/components/main-nav.tsx index 09bdc03c..2ec94931 100644 --- a/components/main-nav.tsx +++ b/components/main-nav.tsx @@ -180,13 +180,12 @@ export function MainNav() { }; // Base menu items (available for everyone) - const baseMenuItems = [ - { - title: "QG", - icon: Target, - href: '/qg', - }, - ]; + const baseMenuItems: { + title: string; + icon: any; + href: string; + requiredRoles?: string[]; + }[] = []; // Role-specific menu items const roleSpecificItems = [