feat(landing): update subnav items to API, SDK, MCP, CLI, Lab

- Docs layout: API (active), SDK/MCP/CLI/Lab (disabled)
- Demo layout: API, SDK/MCP/CLI (disabled), Lab (active, links to demo)
- Disabled items show "Coming soon" tooltip on hover

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Oleg Proskurin 2025-12-31 18:38:42 +07:00
parent 62594774e3
commit 2d01fa4182
2 changed files with 10 additions and 6 deletions

View File

@ -6,9 +6,11 @@ import { ApiKeyProvider } from '@/components/shared/ApiKeyWidget/apikey-context'
import { PageProvider } from '@/contexts/page-context';
const navItems = [
{ label: 'Text to Image', href: '/demo/tti' },
{ label: 'Upload', href: '/demo/upload' },
{ label: 'Gallery', href: '/demo/gallery' },
{ label: 'API', href: '/docs' },
{ label: 'SDK', href: '#', disabled: true },
{ label: 'MCP', href: '#', disabled: true },
{ label: 'CLI', href: '#', disabled: true },
{ label: 'Lab', href: '/demo/tti' },
];
export default function DemoLayout({ children }: { children: React.ReactNode }) {

View File

@ -8,9 +8,11 @@ import { ApiKeyProvider } from '@/components/shared/ApiKeyWidget/apikey-context'
import { PageProvider } from '@/contexts/page-context';
const navItems = [
{ label: 'Documentation', href: '/docs' },
{ label: 'Demo', href: '/demo' },
{ label: 'Examples', href: '/docs/examples' },
{ label: 'API', href: '/docs' },
{ label: 'SDK', href: '#', disabled: true },
{ label: 'MCP', href: '#', disabled: true },
{ label: 'CLI', href: '#', disabled: true },
{ label: 'Lab', href: '#', disabled: true },
];
export default function DocsRootLayout({ children }: { children: React.ReactNode }) {