Skip to content

Classic redesign: header, home, Players, Leaderboards - #13

Merged
github-actions[bot] merged 5 commits into
sourcejump:u/zasbufrom
zasbu:feat/classic-redesign
Nov 7, 2026
Merged

github-actions[bot] merged 5 commits into
sourcejump:u/zasbufrom
zasbu:feat/classic-redesign

Conversation

@zasbu

@zasbu zasbu commented Nov 7, 2026

Copy link
Copy Markdown
Contributor

The site in the old sourcejump.net's look, brought up to date, plus the pages built on it. Website only; no API changes.

Look and shell

  • The old site's slate sheet down the middle, edges lit, a blurred map picture in the gutters; its colors in the tokens, cyan kept as the accent.
  • Sticky header: wordmark, sections, a players-and-maps search that answers as you type (/ focuses it), Steam sign-in with its logo.
  • One-line footer: ruleset, tagline, community logos in their own colors.

Pages

  • Home: a strip of live numbers, latest world records (Activity-style times with a replay button) beside top players, and online servers.
  • Players: laid out as the other boards, two columns, search as you type.
  • Player pages: a header over a map picture, a standing panel, the flag centered on the name.
  • Leaderboards: both lists side by side, each paged on its own, pages turning instantly as on Activity.

Fixes

  • Menus could get stuck open on phones without CSS anchor positioning (Firefox, Safari before 26): the menu landed over its own button.

Checked: lint, format, types, unit tests, style guide snapshots (updated). Desktop and phone checked in the browser against the beta API.

zasbu added 5 commits November 7, 2026 14:43
Browsers without CSS anchor positioning (Firefox, Safari before 26) ignore a
menu's placement and pin it to the window's top-left corner, where on a phone
it covers the menu button: a second tap then lands on the menu itself and it
can't be closed. There the menu is now placed under its trigger by hand as it
opens.

iOS Safari also doesn't count a tap on something that isn't clickable as a
press outside, so any press outside an open menu and its trigger now closes
it too.
Direction "Classic" replaces "Navy": the old site's slate sheet down the
middle of the window, edges lit, darker gutters either side (a blurred map
picture behind them), and its colors in the tokens, cyan kept as the one
accent. The header, page and footer sit on the sheet.

- Header: one sticky bar with the wordmark, the sections (the current one
  underlined), a search for players and maps, and Steam sign-in with its
  logo. The search answers as you type, as ok-website's does: a short pause,
  each keystroke cancelling the request still out, late replies dropped,
  results kept up until the next arrive, answers cached; `/` focuses it.
- Footer: one line with the ruleset, what the site is, and the community's
  logos in their own colors (BrandIcon, Bootstrap Icons, MIT).
- SearchField: a search box with its button inside, used on Maps.
- Pager takes the name of its address key, for pages with two lists.
- Masthead: a full-width band over a map picture, for player pages.

Style guide snapshots updated for the new look.
The hero is shorter, and under it the page shows the community's activity
instead of explaining bunnyhopping:

- A strip of numbers, each opening its page: players on the servers now (in
  green), the latest day's runs and world records, and the world records of
  the last 7 days.
- The latest world records, set out as on the Activity board (the time, what
  it took off the old record in brackets, a replay button), beside the top of
  the points board.
- The servers people are playing on, as the Servers page's cards.

The strafing demo, its simulation and the three get-started cards are gone,
and with them motion-ripple, which only the demo used.
The title and count sit on the left with the search beside them, and players
fill one panel in two columns with lines between rows and columns, the
players-over-time chart below. The search answers as it's typed, in the
browser, with the address following so a search can be shared; without
script the form still submits.

On a player's page: a header over a picture of the map of one of their best
runs, their country, first and latest 2.0 runs, a standing panel (rank in its
medal color, completed maps with a bar, world records that switch the list),
and the flag centered on the name's letters rather than its line box.
Top players and completed maps sit side by side as panels, each paged on its
own (points_page, completed_page) instead of "Show more". As on the Activity
board, the server sends the hundred players around the page asked for, pages
within them turn in the browser at once, and the hundreds either side load
ahead, so Next and Previous never wait. The full tables page 50 at a time.
@github-actions
github-actions Bot merged commit 39125f9 into sourcejump:u/zasbu Nov 7, 2026
3 checks passed
@github-actions

github-actions Bot commented Nov 7, 2026

Copy link
Copy Markdown

Merged into u/zasbu. It'll be live at https://zasbu-sj.okwhiteli.st in a few minutes.

@zasbu
zasbu deleted the feat/classic-redesign branch November 9, 2026 09:32
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