-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
dbf951f
commit dc30ba6
Showing
1 changed file
with
97 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"> | ||
© <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> |