Skip to content

Remove the area tabs row from the top of each page - #262

Merged
AQIB-NAWAB merged 1 commit into
mainfrom
chore/remove-area-tabs
Nov 23, 2026
Merged

AQIB-NAWAB merged 1 commit into
mainfrom
chore/remove-area-tabs

Conversation

@AQIB-NAWAB

Copy link
Copy Markdown
Collaborator

What this does

Removes the row of tabs at the top of the catalog, audiobook, /learn and area pages (All areas, Courses, Audiobooks, Labs, Practice, Puzzles, Tutors).

  • Removes <AreaTabs /> from catalog/page.tsx, audiobooks/[courseSlug]/page.tsx and AreaPage (used by /learn, /labs, /practice, /puzzles, /voice, /audiobooks, guided and shell labs).
  • Removes the top margin the row left on the first heading of each page, so the page does not start with a gap.
  • Deletes the unused area-tabs.tsx and its line in docs/16-learning-areas.mdx.

Why it was there

It was added so people on a phone could switch between areas in one tap. Signed-in learners already have the sidebar (desktop) and the bottom bar (phone), so the row repeated those links.

Check before merging

Signed-out visitors on a phone lose a way to reach Labs and All areas. The public header hides those two links below the sm and md widths, and the tabs were the replacement (see the comment in (catalog)/layout.tsx). That comment is now out of date. If this matters, the header needs a menu on small screens. Not done here.

Tested

  • Frontend tsc, lint on the changed folders, and the 303 unit tests under tests/unit/lab pass.
  • Not looked at in a running browser.

🤖 Generated with Claude Code

…rea pages

The row (All areas, Courses, Audiobooks, Labs, Practice, Puzzles, Tutors) was
added so phone users could switch areas. Signed-in learners already have the
sidebar and the phone bottom bar for that, so it was a second copy of the same
links on every page.

Also removes the top margin it left on the first heading of each page, deletes
the unused component, and drops its line from docs/16-learning-areas.mdx.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@AQIB-NAWAB
AQIB-NAWAB merged commit ae812d6 into main Nov 23, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant