import { lazy, Suspense } from 'react'; import { useParams } from 'react-router'; const CONTENT_MAP: Record> = { 'env-intro': lazy(() => import('../content/DevEnvIntro')), 'initial-setup': lazy(() => import('../content/InitialSetup')), 'gitea-usage': lazy(() => import('../content/GiteaUsage')), 'nexus-usage': lazy(() => import('../content/NexusUsage')), 'git-workflow': lazy(() => import('../content/GitWorkflow')), 'chat-bot': lazy(() => import('../content/ChatBotIntegration')), 'starting-project': lazy(() => import('../content/StartingProject')), 'design-system': lazy(() => import('../content/DesignSystem')), 'ci-cd': lazy(() => import('../content/CiCdGuide')), }; export function GuidePage() { const { section } = useParams<{ section: string }>(); const Content = section ? CONTENT_MAP[section] : null; if (!Content) { return (

페이지를 찾을 수 없습니다

요청한 가이드 섹션이 존재하지 않습니다.

); } return (
} >
); }