From 5d1309633d35a33173ab3ec4072c5a66c2ae168f Mon Sep 17 00:00:00 2001 From: Oleg Proskurin Date: Fri, 2 Jan 2026 21:08:28 +0700 Subject: [PATCH] fix: ensure trailing slashes --- apps/landing/src/app/(apps)/admin/layout.tsx | 4 ++-- apps/landing/src/app/(apps)/demo/layout.tsx | 4 ++-- apps/landing/src/app/(apps)/docs/layout.tsx | 2 +- .../landing/src/components/demo/gallery/EmptyGalleryState.tsx | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/apps/landing/src/app/(apps)/admin/layout.tsx b/apps/landing/src/app/(apps)/admin/layout.tsx index c7fe84e..eed29a8 100644 --- a/apps/landing/src/app/(apps)/admin/layout.tsx +++ b/apps/landing/src/app/(apps)/admin/layout.tsx @@ -4,8 +4,8 @@ import { usePathname } from 'next/navigation'; import { SubsectionNav } from '@/components/shared/SubsectionNav'; const navItems = [ - { label: 'Master Key', href: '/admin/master' }, - { label: 'API Keys', href: '/admin/apikeys' }, + { label: 'Master Key', href: '/admin/master/' }, + { label: 'API Keys', href: '/admin/apikeys/' }, ]; export default function AdminLayout({ children }: { children: React.ReactNode }) { diff --git a/apps/landing/src/app/(apps)/demo/layout.tsx b/apps/landing/src/app/(apps)/demo/layout.tsx index 553eaa1..2b4f9f4 100644 --- a/apps/landing/src/app/(apps)/demo/layout.tsx +++ b/apps/landing/src/app/(apps)/demo/layout.tsx @@ -6,11 +6,11 @@ import { ApiKeyProvider } from '@/components/shared/ApiKeyWidget/apikey-context' import { PageProvider } from '@/contexts/page-context'; const navItems = [ - { label: 'API', href: '/docs' }, + { label: 'API', href: '/docs/' }, { label: 'SDK', href: '#', disabled: true }, { label: 'MCP', href: '#', disabled: true }, { label: 'CLI', href: '#', disabled: true }, - { label: 'Lab', href: '/demo/tti' }, + { label: 'Lab', href: '/demo/tti/' }, ]; export default function DemoLayout({ children }: { children: React.ReactNode }) { diff --git a/apps/landing/src/app/(apps)/docs/layout.tsx b/apps/landing/src/app/(apps)/docs/layout.tsx index 26df6a8..f8509c6 100644 --- a/apps/landing/src/app/(apps)/docs/layout.tsx +++ b/apps/landing/src/app/(apps)/docs/layout.tsx @@ -8,7 +8,7 @@ import { ApiKeyProvider } from '@/components/shared/ApiKeyWidget/apikey-context' import { PageProvider } from '@/contexts/page-context'; const navItems = [ - { label: 'API', href: '/docs' }, + { label: 'API', href: '/docs/' }, { label: 'SDK', href: '#', disabled: true }, { label: 'MCP', href: '#', disabled: true }, { label: 'CLI', href: '#', disabled: true }, diff --git a/apps/landing/src/components/demo/gallery/EmptyGalleryState.tsx b/apps/landing/src/components/demo/gallery/EmptyGalleryState.tsx index 0136ded..147a047 100644 --- a/apps/landing/src/components/demo/gallery/EmptyGalleryState.tsx +++ b/apps/landing/src/components/demo/gallery/EmptyGalleryState.tsx @@ -30,7 +30,7 @@ export const EmptyGalleryState = () => {

Generate Images