>{{ channels }}</span>
        <span class="stat-label">channels</span>
      </div>
      <div class="stat">
        <span class="stat-value">{{ messages_relayed }}</span>
        <span class="stat-label">messages</span>
      </div>
    </div>
    <a href="/bouncers" class="btn-fill">manage bouncers</a>
    {% else %}
    <p>no bouncer configured</p>
    <a href="/bouncers" class="btn-fill">create bouncer</a>
    {% endif %}
  </div>

  <div class="card">
    <h2>bots</h2>
    {% if bot_count > 0 %}
    <div class="stats-grid">
      <div class="stat">
        <span class="stat-value">{{ bot_count }}</span>
        <span class="stat-label">bots</span>
      </div>
      <div class="stat">
        <span class="stat-value">{{ bots_running }}</span>
        <span class="stat-label">running</span>
      </div>
    </div>
    <a href="/bots" class="btn-fill">manage bots</a>
    {% else %}
    <p>no bots configured</p>
    <a href="/bots/create" class="btn-fill">create a bot</a>
    {% endif %}
  </div>
</div>
{% endblock %}
