---
// Static server-list panel — mirrors the multiplayer-list row. No live count
// (plan 09-landing.md option B); shows version, motd and slot cap.
import Creeper from "./Creeper.astro";
import { site } from "../data/site";
interface Props {
  modded: string;
  motd: string;
  upTo: string;
}
const { modded, motd, upTo } = Astro.props;
const { status } = site;
---
<div class="serverlist">
  <div class="icon"><Creeper /></div>
  <div class="meta">
    <div class="row1">
      <span class="title">{site.name}</span>
      <span class="ver">Java {site.mcVersion}</span>
    </div>
    <p class="motd">
      <span class="a">⛏ {modded}</span> · {motd}
    </p>
  </div>
  <div class="stat">
    <div class="players">
      <span class="bars" aria-hidden="true"><i /><i /><i /><i /><i /></span>
      <span>{upTo} <b>{status.slots}</b></span>
    </div>
  </div>
</div>
