Skip to content

docs: the header is the name and three icons on a phone, and the footer sorts its links into lists - #113

Merged
ChristopherPHolder merged 1 commit into
mainfrom
fix/mobile-nav-footer
Nov 28, 2026
Merged

ChristopherPHolder merged 1 commit into
mainfrom
fix/mobile-nav-footer

Conversation

@ChristopherPHolder

Copy link
Copy Markdown
Collaborator

Closes #112.

On a phone the header was the name with "docs" after it, a boxed magnifier and a boxed "Menu", pressed against the right edge. The footer was one sentence and six links in a row.

Header

  • The brand is the logo and "angular-ssr-stream". The "docs" suffix is gone at every width; the demo keeps its "demo".
  • Search, the repository and the menu are icons of one kind (.icon-btn): no border, 40 by 44px, a grey square on hover.
  • The repository's GitHub mark is in the header at every width, where the word "GitHub" was on a desktop. It is the same mark the demo's header has.
  • The menu button is three lines that cross while the menu is open. Its name stays "Menu"; aria-expanded says whether it is open, so a screen reader no longer hears the name change under it.
  • From 561 to 900px the search keeps its word, with a little space before the icons.
  • Below 360px there is room for two icons next to the name, so the repository's gives way. It is still in the menu, under "Elsewhere".

Footer

  • The logo, the name and one sentence on what the library does.
  • Three lists: Docs (each section of the contents; "Runtimes" goes to the choice on the home page, since its pages are alternatives), See it run (the demo, Angular Movies) and Project (the source, the issues, the press kit, llms.txt).
  • "Built by" and the PushBased logo, linking to push-based.io.
  • On a phone the docs go down the left and the other two lists down the right, each link 44px tall.

Checked

On the built site, in headless Chrome:

  • No horizontal overflow on any of the 39 pages at 320 and 1440px, nor on the home page and a doc page at 359, 360, 390, 561, 820 and 901px.
  • No axe violations (WCAG A/AA, best practice) at 390 and 1440px, on the home page and a doc page, and with the menu open.
  • The menu opens onto the current page's link, Escape closes it and puts the focus back on the button, and the footer is inert under it, as before.
  • The footer's "Runtimes" link lands on "Pick your runtime", below the sticky header.
  • vp check passes.

…er sorts its links into lists

The header's brand no longer says "docs". Search, the repository on GitHub
and the menu are icons of one kind; the menu's three lines cross while it is
open, and its name stays "Menu" with aria-expanded saying the rest. Below
360px the repository's icon gives way and stays in the menu.

The footer has the name and what the library does, three lists (the docs'
sections, the live examples, the project) and who built it.

Closes #112
@ChristopherPHolder
ChristopherPHolder merged commit e9bfc5e into main Nov 28, 2026
1 check 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.

docs: the header is crowded on a phone, and the footer is a flat row of links

1 participant