Skip to content

Commit a0f8284

Browse files
committed
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.
1 parent dd9e100 commit a0f8284

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/layouts/Base.astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ const navItems: NavItem[] = [
4444
{
4545
label: "Developers",
4646
children: [
47-
{ href: "/api", label: "API playground" },
47+
{ href: "/api", label: "API" },
4848
{ href: "https://api.interscript.org/docs", label: "API reference" },
4949
{ href: "/status", label: "Status" },
5050
],
@@ -86,7 +86,7 @@ const drawerGroups: Array<{ label: string; links: NavLink[] }> = [
8686
{
8787
label: "Developers",
8888
links: [
89-
{ href: "/api", label: "API playground" },
89+
{ href: "/api", label: "API" },
9090
{ href: "https://api.interscript.org/docs", label: "API reference" },
9191
{ href: "/status", label: "Status" },
9292
],

src/pages/use-cases.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ const useCases: UseCase[] = [
158158
need. Open an issue on GitHub to discuss your scenario.
159159
</p>
160160
<div class="cta-actions">
161-
<a class="btn btn-accent" href="/api">Try the API playground →</a>
161+
<a class="btn btn-accent" href="/api">Try the API →</a>
162162
<a
163163
class="btn btn-ghost"
164164
href="https://github.com/interscript/interscript-ruby/discussions"

0 commit comments

Comments
 (0)