remove qg place

This commit is contained in:
alma 2025-05-05 11:46:46 +02:00
parent b4347c5914
commit fa08cebaa5
2 changed files with 6 additions and 30 deletions

View File

@ -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 (
<main className="w-full h-screen bg-black">
<div className="w-full h-full px-4 pt-12 pb-4">
<ResponsiveIframe
src={process.env.NEXT_PUBLIC_IFRAME_MISSIONVIEW_URL || ''}
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
/>
</div>
</main>
);
}

View File

@ -180,13 +180,12 @@ export function MainNav() {
}; };
// Base menu items (available for everyone) // Base menu items (available for everyone)
const baseMenuItems = [ const baseMenuItems: {
{ title: string;
title: "QG", icon: any;
icon: Target, href: string;
href: '/qg', requiredRoles?: string[];
}, }[] = [];
];
// Role-specific menu items // Role-specific menu items
const roleSpecificItems = [ const roleSpecificItems = [