<!DOCTYPE html>
<html lang="en">
    <head>
        <title>Boppers Bizza MC Server</title>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <link rel="preconnect" href="https://fonts.googleapis.com">
        <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
        <link
            href="https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap"
            rel="stylesheet">
        <link rel="stylesheet" href="static/css/normalize.css">
        <link rel="stylesheet" href="static/css/skeleton.css">
        <link rel="stylesheet" href="static/css/custom.css">
        <link rel="icon" type="image/x-icon" href="/static/favicon.png">
    </head>
    <body>
        <div class="container">
            <section class="header">
                <img src="/static/favicon.png" alt="Boppers Bizza Server Logo">
                <h1 class="title">Boppers Bizza Minecraft Server</h1>
                <h3>Current Modpack: Prominence II v.2.8.0hf</h3>
            </section>
        </div>
        <div class="parallaxbox">
            <a
                href="https://www.curseforge.com/minecraft/modpacks/prominence-2-rpg"
                class="button">Download Modpack on Curseforge</a>
            <a href="https://www.curseforge.com/download/app"
                class="button">Download
                Curseforge Launcher</a>
            <a href="https://prismlauncher.org/" class="button">Download Prism
                Launcher</a>
        </div>
        <div class="containe playerbox">
            <h4>Current Players: {{ usercount }}/{{ maxcount}}</h4>
            {% if userlist %}
            {% for user in userlist %}
            <a href="https://namemc.com/profile/{{user[0]}}">
                <div class="playerline">
                    <img
                        src="https://crafatar.com/renders/head/{{user[1]}}?overlay"
                        alt="Minecraft head of {{user[0]}}">
                    <span>{{ user[0]}}</span>
                </div>
            </a>
            {% endfor %}
            {% endif %}
        </div>
    </body>
</html>