Files
supercardinality-website/index.php
T
2026-07-31 09:45:51 +02:00

84 lines
2.4 KiB
PHP

<?php require "script.php"; ?>
<!doctype html>
<html>
<head>
<title>Supercardinality</title>
<meta name="robots" content="noindex" />
<meta name="description" content="If mid doesn't exist you can't run it down." />
<meta name="author" content="Thayol" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta charset="UTF-8" />
<link rel="icon" type="image/png" href="favicon/128.png">
<link rel="icon" type="image/png" sizes="64x64" href="favicon/64.png">
<link rel="icon" type="image/png" sizes="32x32" href="favicon/32.png">
<link rel="stylesheet" href="styles.css">
</head>
<body>
<div></div>
<main>
<div class="divider">
<div class="divider-gem"></div>
</div>
<h1>
Supercardinality
</h1>
<p class="divider subtitle">
NO MID NO FEED
</p>
<?php if (empty($options[$os_guess]["download_path"])): ?>
<a class="recommended build disabled">
<div>
Download unavailable
</div>
</a>
<?php else: ?>
<a class="recommended build" href="<?= $options[$os_guess]["download_path"] ?>" download="<?= $options[$os_guess]["download_filename"] ?>">
<div>
Download for <?= $options[$os_guess]["name"] ?>
</div>
</a>
<?php endif; ?>
<?php if ($display_other_builds): ?>
<ul class="other-builds">
<p>Other builds</p>
<?php foreach($options as $os => $target): ?>
<?php
if (empty($target["download_path"])) {
continue;
}
?>
<li>
<a class="other build" href="<?= $target["download_path"] ?>" download="<?= $target["download_filename"] ?>">
<?= $target["name"] ?><span class="architecture"><?= $target["architecture"] ?></span>
</a>
</li>
<?php endforeach; ?>
</ul>
<?php endif; ?>
</main>
<footer>
<p>
Online services are <a class="blend" href="<?= $online_services_source_url ?>">open source</a>.
<br>
In case of any questions, message <a href="<?= $contact_link ?>"><?= $contact_name ?></a>.
</p>
<?php if (!empty($version)): ?>
<p>
<?= $version ?>
<?php if (!empty($version_timestamp)): ?>
・ built <?= $version_timestamp_in_words ?>
<?php endif; ?>
</p>
<?php endif; ?>
</footer>
</body>
</html>