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 '../lib/app.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
- 096ce0d4log: DP69 live on day48mre
- b3d8a80bDP69 brief, RV48 mergedmre
- ce6d7d32Merge rv48: Hybriel day48mre
- 3da2ea86RV48: report day48 cold starts, gates and cleanupmre
- 8d9ecdfeRV48: re-vendor Hybriel set day48 (source b6a8f429, bin 660a9524)mre
- 4a802ae7status: RV48 runningmre
- 0a5412b6RV48 brief, day48 outmre
- 56665efelog: CB69 mergedmre
- 05448a98Merge cb69-imports: appTitle in a dependency-free topicmre
- e55b379dKeep shared app title independent of the route import graphmre
- 9a99659blog: hybriel#334, batch waits for day48mre
- 85fa6c9blog: CB68 result, CB69 startedmre
- 2f07c1b7log: DP68 boot gate failed, CB68mre
- 9652782dlog: HM59 merged, DP68 startedmre
- 29867a75Merge hm59-logic: tracker#59 page logic moved to libmre
- f7bfe90bMove remaining page builders into their topicsmre
- 7c3991f9log: day46 from Antonmre
- ec54fc35Move show page logic into the shows topicmre
- c1a8d074log: correct timesmre
- 5827eba9log: HM57 merged, HM59 startedmre