summaryrefslogtreecommitdiff
path: root/to
diff options
context:
space:
mode:
authors1n <[email protected]>2019-10-24 16:47:41 -0700
committers1n <[email protected]>2019-10-24 16:47:41 -0700
commit96813d6fb9fafe787e4f46e71007d1f156fd81c5 (patch)
tree32dd31a339620d2de652a5a83d5882d8870b1ff9 /to
parentUpdate humans.txt (diff)
downloads1n.pw-admin-96813d6fb9fafe787e4f46e71007d1f156fd81c5.tar.xz
s1n.pw-admin-96813d6fb9fafe787e4f46e71007d1f156fd81c5.zip
make redirect accurate and nice
Diffstat (limited to 'to')
-rw-r--r--to/example/index.html6
-rw-r--r--to/halloween-blender/index.html6
-rw-r--r--to/js/countdown.js2
-rw-r--r--to/test/index.html85
4 files changed, 92 insertions, 7 deletions
diff --git a/to/example/index.html b/to/example/index.html
index 2b56dad..e4b299a 100644
--- a/to/example/index.html
+++ b/to/example/index.html
@@ -18,11 +18,11 @@
<link rel="stylesheet" href="/404/css/main.css">
<!-- Invisible Scripts -->
<script src="/js/loader-animation.js"></script>
- <script src="/404/js/redirect-to-mobile.js"></script>
+ <script src="/js/refresh-on-media.js"></script>
<script>
var timer = setTimeout(function() {
window.location='http://example.com'
- }, 6000);
+ }, 4500);
</script>
</head>
@@ -50,7 +50,7 @@
<div class="blog-slider">
<div class="content" style="text-align: center;">
<h1>Loading...</h1>
- <h2>Redirecting in <span id="time"></span> seconds</h2>
+ <h2>Redirecting in <span id="time">5</span> seconds</h2>
<h1>
<!-- Filler -->
</h1>
diff --git a/to/halloween-blender/index.html b/to/halloween-blender/index.html
index 3295070..5a2d270 100644
--- a/to/halloween-blender/index.html
+++ b/to/halloween-blender/index.html
@@ -19,11 +19,11 @@
<link rel="stylesheet" href="/404/css/main.css">
<!-- Invisible Scripts -->
<script src="/js/loader-animation.js"></script>
- <script src="/404/js/redirect-to-mobile.js"></script>
+ <script src="/js/refresh-on-media.js"></script>
<script>
var timer = setTimeout(function () {
window.location = 'https://bst.gg/zmrh23'
- }, 6000);
+ }, 4500);
</script>
</head>
@@ -60,7 +60,7 @@
<div class="blog-slider">
<div class="content" style="text-align: center;">
<h1>Loading...</h1>
- <h2>Redirecting in <span id="time"></span> seconds</h2>
+ <h2>Redirecting in <span id="time">5</span> seconds</h2>
<h1>
<!-- Filler -->
</h1>
diff --git a/to/js/countdown.js b/to/js/countdown.js
index c31a289..9312d8a 100644
--- a/to/js/countdown.js
+++ b/to/js/countdown.js
@@ -19,7 +19,7 @@ function startTimer(duration, display) {
}
window.onload = function () {
- var fiveMinutes = 5 * 1, // 60 * 5
+ var fiveMinutes = 4 * 1, // 60 * 5
display = document.querySelector('#time');
startTimer(fiveMinutes, display);
}; \ No newline at end of file
diff --git a/to/test/index.html b/to/test/index.html
new file mode 100644
index 0000000..57e6514
--- /dev/null
+++ b/to/test/index.html
@@ -0,0 +1,85 @@
+<!DOCTYPE html>
+
+<body lang="en">
+
+ <head>
+ <meta charset="UTF-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <meta http-equiv="X-UA-Compatible" content="ie=edge">
+ <title>s1nical - Loading...</title>
+ <!-- External Links -->
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/trianglify/0.3.1/trianglify.min.js"></script>
+ <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
+ <script src="https://code.jquery.com/jquery-1.10.2.js"></script>
+ <!-- CSS Links -->
+ <link rel="stylesheet" href="/about/css/main.css">
+ <link rel="stylesheet" href="/about/css/navigation-bar.css">
+ <link rel="stylesheet" href="/about/css/loader-animation.css">
+ <link rel="stylesheet" href="/about/css/blog-slider.css">
+ <link rel="stylesheet" href="/404/css/main.css">
+ <!-- Invisible Scripts -->
+ <script src="/js/loader-animation.js"></script>
+ <script src="/js/refresh-on-media.js"></script>
+ <script>
+ var timer = setTimeout(function () {
+ window.location = '#'
+ }, 4500); // Time to redirect, 1000 = 1.000
+ </script>
+ </head>
+
+ <body>
+ <!-- Visable Links -->
+ <script src="/js/background-sparkles.js"></script>
+ <script src="/to/js/countdown.js"></script>
+
+ <!-- Navigation Bar -->
+ <div class="navigation-bar">
+ <nav class="nav">
+ <a href="/" class="nav-item" active-color="orange">Home</a>
+ <!-- Had `is-active` after it but removed it due to not highlighting. -->
+ <a href="/about/" class="nav-item" active-color="green">About</a> <!-- About -->
+ <a href="https://p.s1n.pw/" class="nav-item" active-color="blue">Portfolio</a> <!-- Testimonials -->
+ <!--<a href="/doge" class="nav-item" active-color="red">Doge</a> <!-- Blog -->
+ <!--<a href="/cars/" class="nav-item" active-color="rebeccapurple">Cars</a> <!-- Contact -->
+ <a href="https://nani.s1n.pw" class="nav-item" active-color="rebeccapurple">Nani?!</a>
+ <span class="nav-indicator"></span>
+ </nav>
+ </div>
+
+ <div class="bio">
+ <div class="links">
+ <div class="blog-slider">
+ <div class="content" style="text-align: center;">
+ <h1>Loading...</h1>
+ <h2>Redirecting in <span id="time">5</span> seconds</h2>
+ <h1>
+ <!-- Filler -->
+ </h1>
+ </div>
+ </div>
+ </div>
+ </div>
+
+ <!-- Loading Animation -->
+ <div class="loader-wrapper">
+ <div class="loader">
+ <row>
+ <span></span>
+ <span></span>
+ <span></span>
+ </row>
+ <row>
+ <span></span>
+ <span></span>
+ <span></span>
+ </row>
+ <row>
+ <span></span>
+ <span></span>
+ <span></span>
+ </row>
+ </div>
+ </div>
+ </body>
+
+</body> \ No newline at end of file