feat(landing): slim status section, hero, and server-card icon
- Remove the stat-grid from the status section (server card only); prune the now-orphaned site.stats, MOD_COUNT_KEY, statLabels (3 locales), and .stat-grid/.tile CSS. - Empty-roster message -> "Nobody online", now localized (status.empty in en/es/eu) and wired to both ServerCard instances. - Flatten the server-card icon (drop the inset emboss bevel on .sc-icon). - Drop "Solo LAN" (hero metaLan) from the hero meta row; prune metaLan (3 locales). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
b9929da54d
commit
33b9ebc7f6
6 files changed
+9
-56
No files matched your search
@@ -111,8 +111,6 @@ const dustBits = Array.from({ length: 16 }, (_, i) => {
|
||||
<span>Java {site.mcVersion}</span>
|
||||
<span class="dot"></span>
|
||||
<span>{t.hero.metaModpack}</span>
|
||||
<span class="dot"></span>
|
||||
<span>{t.hero.metaLan}</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="hero-status">
|
||||
@@ -120,6 +118,7 @@ const dustBits = Array.from({ length: 16 }, (_, i) => {
|
||||
modded={t.status.modded}
|
||||
motd={t.status.motd}
|
||||
upTo={t.status.upTo}
|
||||
emptyLabel={t.status.empty}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
@@ -178,16 +177,9 @@ const dustBits = Array.from({ length: 16 }, (_, i) => {
|
||||
modded={t.status.modded}
|
||||
motd={t.status.motd}
|
||||
upTo={t.status.upTo}
|
||||
emptyLabel={t.status.empty}
|
||||
/>
|
||||
</div>
|
||||
<div class="stat-grid">
|
||||
{site.stats.map((s, i) => (
|
||||
<div class="tile reveal" style={`transition-delay:${i * 60}ms`}>
|
||||
<div class="k">{s.key}</div>
|
||||
<div class="l">{t.statLabels[i]}</div>
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
|
||||
Reference in new issue
Block a user