From a0f8284561c6379d15934c84f781e64bd954b928 Mon Sep 17 00:00:00 2001 From: Ronald Tse Date: Wed, 9 Sep 2026 13:26:05 +0200 Subject: [PATCH] site: one playground - the nav API entry is labeled API With /playground live, the nav advertised two different pages as playgrounds: 'API playground' (/api, the form that generates snippets) and 'Playground' (/playground, the TS editor). The /api entry is now labeled 'API', matching the page's own headline. --- src/layouts/Base.astro | 4 ++-- src/pages/use-cases.astro | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/layouts/Base.astro b/src/layouts/Base.astro index b88bb87..8c47a26 100644 --- a/src/layouts/Base.astro +++ b/src/layouts/Base.astro @@ -44,7 +44,7 @@ const navItems: NavItem[] = [ { label: "Developers", children: [ - { href: "/api", label: "API playground" }, + { href: "/api", label: "API" }, { href: "https://api.interscript.org/docs", label: "API reference" }, { href: "/status", label: "Status" }, ], @@ -86,7 +86,7 @@ const drawerGroups: Array<{ label: string; links: NavLink[] }> = [ { label: "Developers", links: [ - { href: "/api", label: "API playground" }, + { href: "/api", label: "API" }, { href: "https://api.interscript.org/docs", label: "API reference" }, { href: "/status", label: "Status" }, ], diff --git a/src/pages/use-cases.astro b/src/pages/use-cases.astro index 08bb828..f9f6c6d 100644 --- a/src/pages/use-cases.astro +++ b/src/pages/use-cases.astro @@ -158,7 +158,7 @@ const useCases: UseCase[] = [ need. Open an issue on GitHub to discuss your scenario.

- Try the API playground → + Try the API →