Skip to content

Commit 37b4b67

Browse files
committed
feat: add season logos (season1/2/3 webp)
1 parent 8274a22 commit 37b4b67

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

app/views/seasons/index.html.erb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@
1717
onmouseover="this.style.borderColor='var(--retro-gold)';this.style.background='rgba(200,155,60,0.05)'"
1818
onmouseout="this.style.borderColor='var(--retro-gold-dim)';this.style.background='var(--retro-card)'">
1919
<div class="retro-corners"></div>
20-
<!-- Season roman numeral badge -->
21-
<div style="width:56px;height:56px;border:1px solid var(--retro-gold);background:linear-gradient(135deg,var(--retro-blue),var(--retro-blue-dark));display:flex;align-items:center;justify-content:center;flex-shrink:0;position:relative">
22-
<div class="retro-corners"></div>
23-
<span style="font-size:20px;font-weight:bold;color:var(--retro-gold);font-family:var(--retro-font);text-shadow:0 0 8px rgba(200,155,60,0.6)"><%= roman_num %></span>
20+
<!-- Season logo -->
21+
<div style="width:56px;height:56px;flex-shrink:0">
22+
<%= image_tag "/Kings_Lendas_season#{season_num}.webp", alt: season[:label],
23+
width: 56, height: 56, style: "width:56px;height:56px;object-fit:contain" %>
2424
</div>
2525
<div style="flex:1">
2626
<p style="font-size:9px;color:var(--retro-teal);letter-spacing:0.18em;font-family:var(--retro-font);text-transform:uppercase;margin-bottom:3px">IDL Kings Lendas</p>

0 commit comments

Comments
 (0)