演示目录只保留可重建的源码。运行密钥、数据卷、依赖和带口令的本地配置不进入仓库。 Co-authored-by: Cursor <cursoragent@cursor.com>
15 lines
503 B
TypeScript
15 lines
503 B
TypeScript
'use client'
|
|
|
|
import IntegrationsPage from '@/app/components/integrations'
|
|
import { getIntegrationRouteTargetBySlug } from '@/app/components/integrations/routes'
|
|
import { usePathname } from '@/next/navigation'
|
|
|
|
export function IntegrationsRoutePage() {
|
|
const pathname = usePathname()
|
|
const target = getIntegrationRouteTargetBySlug(pathname.split('/').filter(Boolean).slice(1))
|
|
|
|
if (target.type !== 'section') return null
|
|
|
|
return <IntegrationsPage section={target.section} syncDocumentTitle />
|
|
}
|