51 lines
1.4 KiB
HTML
51 lines
1.4 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<title>ArmCord</title>
|
|
<style>
|
|
@import url("css/splash.css");
|
|
</style>
|
|
</head>
|
|
|
|
<body>
|
|
<div class="container">
|
|
<video autoplay loop class="logo" id="splashscreen-armcord">
|
|
<source
|
|
src="https://armcord.smartfridge.space/discord_loading.webm"
|
|
type="video/webm"
|
|
/>
|
|
</video>
|
|
<p id="text-splashscreen"></p>
|
|
</div>
|
|
</body>
|
|
<script>
|
|
const text = document.getElementById("text-splashscreen");
|
|
if (window.navigator.onLine === false) {
|
|
text.innerHTML =
|
|
"You appear to be offline. Please connect to the internet and try again.";
|
|
} else {
|
|
text.innerHTML = "Starting ArmCord...";
|
|
|
|
setTimeout(() => {
|
|
window.armcord.splashEnd();
|
|
switch (window.armcord.channel) {
|
|
case "stable":
|
|
window.location.href = "https://discord.com/app";
|
|
break;
|
|
case "canary":
|
|
window.location.href = "https://canary.discord.com/app";
|
|
break;
|
|
case "ptb":
|
|
window.location.href = "https://ptb.discord.com/app";
|
|
break;
|
|
case "foss":
|
|
window.location.href = "https://dev.fosscord.com/app";
|
|
break;
|
|
default:
|
|
window.location.href = "https://discord.com/app";
|
|
}}, 5000);
|
|
}
|
|
</script>
|
|
</html>
|