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
- 1c7dab74HM50: the shell reads the framework's online state, netProbe removed (tracker#55)mre
- e8b91697HM50: search address follows the text via navigate(path, replace = true) (tracker#52)mre
- 6fe1896cHM50: re-vendor Hybriel set day50 (source 0ae38232, bin d3ef9d16)mre
- 2f391aa9Log: HM50 startedmre
- 4b59c03dHM50 mission: doc pathmre
- ed526d67HM50 missionmre
- 2f986ca3Log: RT50 passmre
- 1c4715a4RT50 mission: day50 repro retestmre
- 57d1c0dcLog: day50 retest requestmre
- 60b1f419Log: Anton #336 result, wake checkmre
- 919a18aalog: scratchmre
- 6b504440status tidymre
- 9332bd10log: DP70 livemre
- be11daa0DP70 brief fixmre
- 886a7028DP70 brief, HM67 mergedmre
- b41cdd6dMerge hm67-searchids: packed search IDsmre
- 385904eaReport HM67 matched heap measurements and gate proofmre
- e5c9b659Pack retained search IDs into UTF-8 bytesmre
- 62a5f6c7HM67 brief, HM66 mergedmre
- b32b8440Merge hm66-catalogindex: packed catalog indexmre