Everything Pete published so far was either the present moment (the roster, the Siege bar) or one thing that happened (a dispatch, a run report). None of it said what this place IS — how many zones there are, which are harder, or whether anybody has ever actually beaten them. Three pages off one snapshot, because they are one question and every number on all three comes off the same scan of the same run history upstream: /adventure/realm the world, in difficulty order, with who is inside it /adventure/standings the board, plus Pete's own duel record /adventure/firsts the hall of firsts, as a dated history The map is deliberately not who_map.go's layout engine. That lays out a graph, and the realm has no edges — zones aren't connected, you pick one and go. Forcing a graph onto a set would imply a topology the game doesn't have. What it has is an order, so tier bands are what get drawn. A zone nobody has ever cleared looks different rather than saying so in small text, and that styling keys off the clear count, never off whether a name is attached — otherwise an opt-out would silently redraw a conquered place as one nobody has come out of. The per-kind first dot goes through a custom property instead of a .firsts-entry-zone::before rule: input.css is in Tailwind's content glob, so a hand-written class survives the purge only if its literal name can be lifted out of the file, and a name glued to ::before cannot. It failed silently. Claude-Session: https://claude.ai/code/session_012bxpQQJDjC1mTtLN3VVtBQ
22 lines
1.4 KiB
HTML
22 lines
1.4 KiB
HTML
{{/* The realm nav, shared by the map, the board, the hall of firsts and the war
|
|
room, so the four read as one place rather than four orphans hanging off the
|
|
dispatch feed.
|
|
|
|
It lives in its own partial rather than in realm.html because each page gets
|
|
its own parsed template set (see server.go): a {{define}} in one page's file
|
|
is invisible to the others, and the only way to share a block is to list it
|
|
as a shared file. Passed the whole pageData, so it can mark the current tab
|
|
off .Path. */}}
|
|
{{define "realmnav"}}
|
|
<nav class="mb-5 flex flex-wrap items-center gap-x-4 gap-y-2 text-sm">
|
|
<a href="/adventure" class="inline-flex items-center gap-1.5 font-semibold text-[color:var(--ink)]/60 hover:text-[color:var(--ink)] transition">
|
|
<span aria-hidden="true">←</span> All dispatches
|
|
</a>
|
|
<span class="text-[color:var(--ink)]/20" aria-hidden="true">·</span>
|
|
<a href="/adventure/realm" class="realm-tab{{if eq .Path "/adventure/realm"}} realm-tab-on{{end}}">The map</a>
|
|
<a href="/adventure/standings" class="realm-tab{{if eq .Path "/adventure/standings"}} realm-tab-on{{end}}">The board</a>
|
|
<a href="/adventure/firsts" class="realm-tab{{if eq .Path "/adventure/firsts"}} realm-tab-on{{end}}">Hall of firsts</a>
|
|
<a href="/adventure/siege" class="realm-tab{{if eq .Path "/adventure/siege"}} realm-tab-on{{end}}">The Siege</a>
|
|
</nav>
|
|
{{end}}
|