Changeset 8afbdd6 in Klonkt for src/views/pages/hub-home.ejs
- Timestamp:
- 06/14/2026 06:07:51 PM (3 months ago)
- Branches:
- main
- Children:
- c869272
- Parents:
- b94c08e
- File:
-
- 1 edited
-
src/views/pages/hub-home.ejs (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/views/pages/hub-home.ejs
rb94c08e r8afbdd6 33 33 <%# ── ARTIESTEN-ROSTER ─────────────────────────────────────────── %> 34 34 <% if (artists && artists.length) { %> 35 <% var _total = (typeof totalArtists !== 'undefined') ? totalArtists : artists.length; %> 36 <% var _hasMore = _total > artists.length; %> 35 37 <section class="hub-sec"> 36 <h2 class="hub-sec-title">Artiesten</h2> 38 <h2 class="hub-sec-title"> 39 Artiesten 40 <% if (_hasMore) { %><span class="hub-sec-count"><%= _total %></span><% } %> 41 </h2> 37 42 <div class="roster"> 38 43 <% artists.forEach(function(a){ %> … … 48 53 <% }); %> 49 54 </div> 55 <% if (_hasMore) { %> 56 <div class="hub-more"> 57 <a class="hub-more-link" href="/artiesten">Alle <%= _total %> artiesten <span aria-hidden="true">→</span></a> 58 </div> 59 <% } %> 50 60 </section> 51 61 <% } %> … … 131 141 } 132 142 .hub-sec-title::after { content: ''; flex: 1; height: 1px; background: var(--rule); } 143 .hub-sec-count { 144 font-family: var(--font-ui, system-ui); font-size: 0.8rem; font-weight: 700; 145 color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); 146 padding: 0.1rem 0.55rem; border-radius: 99px; order: 1; 147 } 148 .hub-more { margin-top: 1.25rem; text-align: center; } 149 .hub-more-link { 150 display: inline-flex; align-items: center; gap: 0.4rem; 151 padding: 0.6rem 1.3rem; border: 1px solid var(--rule); border-radius: 99px; 152 background: var(--paper-2); color: var(--ink); text-decoration: none; 153 font-weight: 600; font-size: 0.92rem; transition: border-color 140ms, background 140ms; 154 } 155 .hub-more-link:hover { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 7%, var(--paper-2)); } 133 156 134 157 /* ── Roster (artiesten) ───────────────────────────────────────────── */
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)