<head>
    <link rel="stylesheet" href="./style.css" type="text/css" />

    <style>
        body {
            padding: 2em;
        }

        h1 {
            text-align: center;
        }
    </style>
</head>

<body>
    <h1 id="title">Aerocord</h1>
    <p>
        Aerocord is a Vesktop fork made to work with Windows Vista/7/8. This
        Vesktop
        fork is being maintained by Aiek @ https://git.randomserver.top/aiek/aerocord.
    </p>

    <section>
        <h2>Aerocord Gitea:</h2>
        <ul>
            <li>
                <a href="https://git.randomserver.top/aiek/aerocord" target="_blank">Aerocord Source Code</a>
            </li>
        </ul>
    </section>
    <section>
        <h2>Credits to the original Vesktop developer:</h2>
        <ul>
            <li>
                <a href="https://vencord.dev" target="_blank">Vencord Website</a>
            </li>
            <li>
                <a href="https://github.com/Vencord/Vesktop" target="_blank">Vesktop Source Code</a>
            </li>
        </ul>
    </section>
    <div>
        <a href="https://git.randomserver.top/aiek/aerocord/src/branch/main/documentation.md" target="_blank">Documentation can be found here</a>
    </div>
    <div>
        <a href="https://git.randomserver.top/aiek/aerocord/src/branch/main/build.md" target="_blank">Building instructions can be found here</a>
    </div>
</body>

<script type="module">
    const data = await Updater.getData();
    if (data.currentVersion) {
        const title = document.getElementById("title");

        title.textContent += ` v${data.currentVersion}`;
    }
</script>
