import { notFound } from 'next/navigation' const menuItems = { board: "https://example.com/board", chapter: "https://example.com/chapter", flow: "https://example.com/flow", design: "https://example.com/design", gitlab: "https://gitlab.com", crm: "https://example.com/crm", missions: "https://example.com/missions" } type PageProps = { params: { section: string; }; }; export default async function SectionPage({ params }: PageProps) { const sectionSlug = String(params?.section || ''); const iframeUrl = menuItems[sectionSlug as keyof typeof menuItems]; if (!iframeUrl) { notFound(); } return (