tracker
All repositories: gitoria
1.6 KB
// components/genres.hl — `/genres` (tracker#32, mission 031: the main menu's Genres): every genre that has public titles, A–Z, with// how many; each links to its page `/genres/<genre>` (components/genre.hl). The list: catalog.hl genreList.parent './main.hl'import { appTitle } from '../project.hl'import { genreList } from '../lib/catalog.hl'import { warmReady, warmText } from '../lib/warm.hl'rows = genreList()__title = 'Genres — ' + appTitle// mission T17 (boot time): the server listens while bootscan.hl still builds the lists / slug maps / search index (lib/warm.hl); until the 'catalog'// stage is there this page says so instead of showing half a mapwarming = !warmReady('catalog')warmNote = warming ? warmText() : ''// HM49: component rules keep the existing selectors and shared theme variables.Style {genreLinks {display = 'flex'flexWrap = 'wrap'gap = '.5rem'}aGenreLink {display = 'inline-flex'alignItems = 'baseline'gap = '.45rem'minHeight = '2.75rem'padding = '.35rem .85rem'borderRadius = 'var(--radius-small)'fontWeight = '600'color = 'var(--color-type4)'background = 'var(--color-surface)'hover {textDecoration = 'none'color = 'var(--color-text-strong)'}}genreCount {fontSize = '.8rem'fontWeight = '400'color = 'var(--color-text-muted)'}}View {listPage { id = "genres-list"if (warming) { p { id = "warming" class = "message banner" warmNote } }h1 { class = "typed" typeWord { class = "type-word type-genre" "Genres" } }genreLinks {for (g of rows) { a { Style.aGenreLink href = g.href genreName { g.name } genreCount { g.count } } }}}}
Branches
Latest commits
- 7c3991f9log: day46 from Antonmre
- c1a8d074log: correct timesmre
- 5827eba9log: HM57 merged, HM59 startedmre
- d1a91be9Merge hm57-let: tracker#57 let only for reassigned namesmre
- a404ed75Report HM57 audit, gates and integration notesmre
- 1dcb87a7Use plain declarations for unchanged bindingsmre
- b90395e3log: HM51 mergedmre
- 9888d076Merge hm51-classes: tracker#51 views use Style referencesmre
- 4399bc2fReference remaining component-owned root Style rulesmre
- 9edcc2dflog: #58 live, HM57 startedmre
- 73fa20ddMerge hm49b-styles: tracker#49 rest of the component stylesmre
- aed12917Reference owned Style rules in genres and searchmre
- 14195720log: HM49B done, HM51 startedmre
- 78ee6b56Move remaining component styles into Style blocksmre
- 7f04de33log: HM49Bmre
- 00616cf3log: #49 batch merged, DP67 startedmre
- d7232e86Merge hm49-styles: tracker#49 first batch of component stylesmre
- 079f376dMove seven components' styles into Style blocksmre
- 17d66feelog: #58 mergedmre
- 69a6640bMerge hm58-map: tracker#58 project.hl only the mapmre