tracker
All repositories: gitoria
3.1 KB
// components/franchisewidget.hl — THE FRANCHISE WIDGET on a show / movie page (tracker.worldapi.org#19, mission 066), composed// by components/show.hl: `FranchiseWidget { widgets = … }` (franchises.hl widgetsOf). One per timeline the title is in://// Star Trek ← the franchise (only when the timeline has one) → its index// ‹ Prequel | Star Trek — Prime | Sequel › ← links to the title before / after this one; an end is greyed out//// The timeline's name links to /timelines/<slug>. Each side shows the title it leads to under the word.widgets = []// HM49: component rules keep the existing selectors and shared theme variables.Style {franchiseWidgets {display = 'block'margin = '0'@media {minWidth = '40rem'margin = '.5rem 0'}}'franchise-widgets:not(:has(franchise-widget))' {display = 'none'}franchiseWidget {display = 'block'padding = '.5rem .6rem'marginBottom = '.5rem'background = 'var(--color-surface)'borderRadius = 'var(--radius-large)'}'a.fw-franchise' {display = 'block'padding = '.8rem 0'marginBottom = '0'fontSize = '.8rem'fontWeight = '600'letterSpacing = '.04em'textTransform = 'uppercase'textAlign = 'center'}fwRow {display = 'grid'gridTemplateColumns = 'minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 1fr)'alignItems = 'center'gap = '.5rem'@media {minWidth = '40rem'gridTemplateColumns = 'minmax(0, 1fr) minmax(0, 1.5fr) minmax(0, 1fr)'}}'.fw-side' {display = 'flex'flexDirection = 'column'justifyContent = 'center'minHeight = '2.75rem'minWidth = '0'color = 'var(--color-accent)'}'.fw-next' {alignItems = 'flex-end'textAlign = 'right'}'.fw-side.off' {color = 'var(--color-text-muted)'opacity = '.5'}'a.fw-side' {hover {textDecoration = 'none'fwDir {textDecoration = 'underline'}}}fwDir {fontWeight = '600'whiteSpace = 'nowrap'}fwTitle {fontSize = '.8rem'color = 'var(--color-text-muted)'whiteSpace = 'nowrap'overflow = 'hidden'textOverflow = 'ellipsis'maxWidth = '100%'}'a.fw-timeline' {minWidth = '0'fontWeight = '600'color = 'var(--color-text-strong)'textAlign = 'center'overflowWrap = 'anywhere'padding = '0 .4rem'}}View {franchiseWidgets {for (w of widgets) {franchiseWidget { "data-timeline" = w.idif (w.hasFranchise) { a { class = "fw-franchise" href = w.franchiseHref w.franchiseName } }fwRow {if (w.hasPrev) {a { class = "fw-side fw-prev" href = w.prevHref title = w.prevTitlefwDir { "‹ Prequel" }fwTitle { w.prevTitle }}}if (w.noPrev) { span { class = "fw-side fw-prev off" "aria-disabled" = "true" fwDir { "‹ Prequel" } } }a { class = "fw-timeline" href = w.href w.name }if (w.hasNext) {a { class = "fw-side fw-next" href = w.nextHref title = w.nextTitlefwDir { "Sequel ›" }fwTitle { w.nextTitle }}}if (w.noNext) { span { class = "fw-side fw-next off" "aria-disabled" = "true" fwDir { "Sequel ›" } } }}}}}}
Branches
Latest commits
- 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
- a85f7900Move route logic out of the project mapmre
- 13dea5belog: #56 live, HM49 and HM58 startedmre
- a31c8f2fdocs: tracker#36 remaining listmre
- 975d06d1log: #36 live, DP66 startedmre
- d6d03fa3mission: T36Bmre
- e7512d00status: #36 rolled back, retry askedmre
- c98e2043log: T36A rollbackmre
- ae905f15Merge t36a: tracker#36 apply rechecks, reportmre
- 796bfaceT36A: report validated fixes, failed live SSH check and verified rollbackmre
- 55257852log: #53 live, #56 mergedmre
- 78b39f1bMerge hm56-rows: tracker#56 list builders insert oncemre
- 7aea52batmdb fix: protect owners without slugs and record passing gatesmre
- 9b3c2559tmdb fix: revalidate planned identities and reserve target idsmre