mirror of
https://github.com/smartfrigde/armcord.git
synced 2024-08-14 23:56:58 +00:00
51 lines
1.3 KiB
HTML
51 lines
1.3 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">
|
||
|
<source
|
||
|
src="https://armcord.smartfridge.space/discord_loading.webm"
|
||
|
type="video/webm"
|
||
|
/>
|
||
|
</video>
|
||
|
<p id="text"></p>
|
||
|
</div>
|
||
|
</body>
|
||
|
<script>
|
||
|
const text = document.getElementById("text");
|
||
|
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>
|