Skip to content

feat: split navbar into separate API, SDK, and CLI items#2761

Open
TC-MO wants to merge 3 commits into
masterfrom
feat/split-api-sdk-cli-navbar
Open

feat: split navbar into separate API, SDK, and CLI items#2761
TC-MO wants to merge 3 commits into
masterfrom
feat/split-api-sdk-cli-navbar

Conversation

@TC-MO

@TC-MO TC-MO commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

More context in this slack thread

Replace the single "APIs, SDKs & CLI" dropdown with three right-side items: API and SDK as hover dropdowns, CLI as a plain link. Each label links to its landing page (/api, /sdk, /cli) while API/SDK still reveal their sub-links on hover, and the API dropdown groups the experimental clients under a labeled subsection.

Override DropdownNavbarItem/Desktop so a dropdown label navigates on href (stock only navigates on to), since the shared navbar uses absolute hrefs for cross-repo links.

Replace the single "APIs, SDKs & CLI" dropdown with three right-side
items: API and SDK as hover dropdowns, CLI as a plain link. Each label
links to its landing page (/api, /sdk, /cli) while API/SDK still reveal
their sub-links on hover, and the API dropdown groups the experimental
clients under a labeled subsection.

Override DropdownNavbarItem/Desktop so a dropdown label navigates on
href (stock only navigates on to), since the shared navbar uses absolute
hrefs for cross-repo links. Guard NavbarNavLink's active-state check
against link-less items (the html subheader).
@TC-MO TC-MO requested a review from barjin July 10, 2026 14:03
@TC-MO TC-MO self-assigned this Jul 10, 2026
@TC-MO TC-MO added the t-docs Issues owned by technical writing team. label Jul 10, 2026
@apify-service-account

apify-service-account commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

✅ Preview for this PR (commit 5d03910e) is ready at https://pr-2761.preview.docs.apify.com (see action run).

TC-MO added 2 commits July 10, 2026 16:07
The right-hand navbar group used a wider gap (1.6rem) than the left
(0.4rem). With only Academy plus one dropdown on the right it went
unnoticed, but splitting into API, SDK, and CLI made the mismatch
obvious. Match the right gap to the left so all top-nav items are
evenly spaced.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

t-docs Issues owned by technical writing team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants