Skip to content

Commit

Permalink
edited discord html
Browse files Browse the repository at this point in the history
  • Loading branch information
[email protected] committed Jun 10, 2024
1 parent dbf951f commit dc30ba6
Showing 1 changed file with 97 additions and 14 deletions.
111 changes: 97 additions & 14 deletions discord.html
Original file line number Diff line number Diff line change
@@ -1,18 +1,101 @@
<!DOCTYPE html>
<html lang="en">

<body>
<a class="navbar-brand" href="./discord">tay.is-a.dev</a>
<!DOCTYPE html>
<html>
<head>
<!DOCTYPE html>
<html lang="en">

<head>

<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<head>
<title>tay.is-a.dev</title>
<meta charset="UTF-8" />
<meta http-equiv="refresh" content="0; URL=https://discord.gg/xMdsWvqp7P" />
<meta http-equiv="refresh" content="4; URL=https://discord.gg/xMdsWvqp7P" />
<!-- Set to 4 so that visitors can see the timer when it hits 0 -->
</head>

<!-- CSS -->
<link rel="stylesheet" href="assets/bootstrap/css/bootstrap.min.css">
<link rel="stylesheet" href="assets/font-awesome/css/font-awesome.min.css">
<link rel="stylesheet" href="assets/css/animate.css">
<link rel="stylesheet" href="assets/css/style.css">

<!-- Favicon -->
<link rel="shortcut icon" href="assets/imgs/favicon.png">

</head>

<body>
<a class="navbar-brand" href="./projects">tay.is-a.dev</a>
</div>
</ul>
</div>
</div>
</nav>

<about>
<div class="about">
<div>
<p>If you have not been redirected to my Discord within 3 seconds.</p>
</div>
<p>Please click <a href="https://discord.gg/xQVDR3ANQX">this</a> to join</p>
<div>
</div>
</div>
</about>

<footer>
<div class="container">
<div class="row">
&copy; <b>2024
<a href="https://github.com/tayrp/tayrp.github.io">TayRP</a>. All rights reserved.</b>
</div>
</div>
</footer>
<countdown>
<body>
<p></p>
</body>
</html>

</body>
<script>
ProgressCountdown(3, "pageBeginCountdownText");

function ProgressCountdown(timeleft, text) {
return new Promise((resolve, reject) => {
var countdownTimer = setInterval(() => {
timeleft--;

document.getElementById(text).textContent = timeleft;

if (timeleft <= 0) {
clearInterval(countdownTimer);
resolve(true);
}
}, 1000);
});
}
</script>

<style>
.dot {
height: 115px;
width: 115px;
border-style: solid;
border-width: 2px;
border-radius: 50%;
display: inline-block;
text-align: center;
}

.clock {
text-align: center;
}
.pp {
text-align: center;
}


</style>

<div class="row begin-countdown">
<div class="col-md-12 text-center">
<div class="dot" style="position: center">
<h3 id="pageBeginCountdownText" class="clock">3</h3>
<p class="pp">Until Join</p>
</countdown>

0 comments on commit dc30ba6

Please sign in to comment.