mirror of
https://github.com/uhIgnacio/igna.rocks.git
synced 2024-08-15 02:23:12 +00:00
i hope this is last commit
This commit is contained in:
parent
3f3dc1074b
commit
3c739ce35c
2 changed files with 5 additions and 131 deletions
10
index.html
10
index.html
|
@ -1,9 +1,8 @@
|
|||
<html>
|
||||
<head>
|
||||
<title>tixte.gifts - loading</title>
|
||||
<title>tixte.gifts - home</title>
|
||||
<meta content="igna#1337" property="og:title">
|
||||
<meta content="igna#1337" property="og:site_name">
|
||||
<meta content='https://cdn.discordapp.com/attachments/853441110302916608/862804959107743744/critters.gif' property='og:image'>
|
||||
<meta content='https://cdn.discordapp.com/attachments/859297371628240896/871372386988097596/image1.jpg' property='og:image'>
|
||||
<title>tixte.gifts - home</title>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js" type="ac07b7f0ca4afd503f432a03-text/javascript"></script>
|
||||
|
@ -19,9 +18,9 @@
|
|||
| | / _` | | '_ \ / _` |
|
||||
| | | (_| | | | | | | (_| |
|
||||
|_| \__, | |_| |_| \__,_|
|
||||
|___/
|
||||
|___/
|
||||
|
||||
igna#1337 | <a href="https://discord.com/users/881376072015417375">Discord</a> | <a href="https://bio.horizon.pics/igna">bio</a> | <a href="https://steamcommunity.com/id/nulIed">steam</a> | <a href="https://matrix.to/#/@lgna:matrix.org">matrix</a>
|
||||
igna#1337 | <a href="https://discord.com/users/881376072015417375">Discord</a> | <a href="https://bio.horizon.pics/igna">Bio</a> | <a href="https://steamcommunity.com/id/nulIed">Steam</a> | <a href="https://matrix.to/#/@lgna:matrix.org">Matrix</a>
|
||||
|
||||
</pre>
|
||||
</div>
|
||||
|
@ -33,4 +32,3 @@
|
|||
<script src="script.js" type="ac07b7f0ca4afd503f432a03-text/javascript"></script>
|
||||
<script src="https://ajax.cloudflare.com/cdn-cgi/scripts/7089c43e/cloudflare-static/rocket-loader.min.js" data-cf-settings="ac07b7f0ca4afd503f432a03-|49" defer=""></script><script type="text/javascript">(function(){window['__CF$cv$params']={r:'606d17ca6c921515',m:'9332caebce351495cb57b107dc76d6c23dafab76-1608841960-1800-Ae6pl7nsqPKOOMVdAXjJIJZzSKk+o1t82sy17XYN+o9yqPgB6A9p9YPNCPhyiGsxry8id/ioNHWpLk1baTcBm9CHDIS+T2BdT16pdhP665Ejvw7v8k4tHdxAj5JysU4X8Q==',s:[0xac9900addc,0xa329a9c8e4],}})();</script></body>
|
||||
</html>
|
||||
|
124
script.js
124
script.js
|
@ -1,26 +1,3 @@
|
|||
//Clock
|
||||
function getTime() {
|
||||
var date = new Date();
|
||||
var h = date.getHours() <= 9 ? "0" + date.getHours() : date.getHours();
|
||||
var m = date.getMinutes() <= 9 ? "0" + date.getMinutes() : date.getMinutes();
|
||||
var s = date.getSeconds() <= 9 ? "0" + date.getSeconds() : date.getSeconds();
|
||||
$("#time").text(`${h}:${m}:${s}`);
|
||||
}
|
||||
setInterval(getTime, 1000);
|
||||
getTime();
|
||||
|
||||
//Colored Text
|
||||
let colorsArr = ["red", "cyan", "purple", "orange"];
|
||||
let colori = 0;
|
||||
setInterval(() => {
|
||||
document.documentElement.style.setProperty("--color", colorsArr[colori]);
|
||||
if (colori == colorsArr.length - 1) {
|
||||
colori = 0;
|
||||
} else {
|
||||
colori++;
|
||||
}
|
||||
}, 2000);
|
||||
|
||||
//Video volume
|
||||
document.getElementById("vid").volume = 0.6;
|
||||
|
||||
|
@ -44,107 +21,6 @@ function main() {
|
|||
$("#clickToPlay").css("display", "none");
|
||||
}, 1050);
|
||||
document.getElementById("vid").play();
|
||||
//Border
|
||||
borderTop = 0;
|
||||
borderRight = 0;
|
||||
borderBottom = 0;
|
||||
borderLeft = 0;
|
||||
function topBorder() {
|
||||
let int = setInterval(() => {
|
||||
borderTop++;
|
||||
if (borderTop <= 100) {
|
||||
$("#borderTop").css("width", borderTop + "%");
|
||||
} else {
|
||||
rightBorder();
|
||||
clearInterval(int);
|
||||
$("#borderTop").css({ left: "", right: "0" });
|
||||
setTimeout(() => {
|
||||
let int = setInterval(() => {
|
||||
borderTop--;
|
||||
if (borderTop >= 0) {
|
||||
$("#borderTop").css("width", borderTop + "%");
|
||||
} else {
|
||||
$("#borderTop").css({ right: "", left: "0" });
|
||||
clearInterval(int);
|
||||
}
|
||||
}, 7);
|
||||
}, 250);
|
||||
}
|
||||
}, 7);
|
||||
}
|
||||
function rightBorder() {
|
||||
let int = setInterval(() => {
|
||||
borderRight++;
|
||||
if (borderRight <= 100) {
|
||||
$("#borderRight").css("height", borderRight + "%");
|
||||
} else {
|
||||
bottomBorder();
|
||||
clearInterval(int);
|
||||
$("#borderRight").css({ top: "", bottom: "0" });
|
||||
|
||||
setTimeout(() => {
|
||||
let int = setInterval(() => {
|
||||
borderRight--;
|
||||
if (borderRight >= 0) {
|
||||
$("#borderRight").css("height", borderRight + "%");
|
||||
} else {
|
||||
$("#borderRight").css({ bottom: "", top: "0" });
|
||||
clearInterval(int);
|
||||
}
|
||||
}, 5);
|
||||
}, 450);
|
||||
}
|
||||
}, 5);
|
||||
}
|
||||
function bottomBorder() {
|
||||
let int = setInterval(() => {
|
||||
borderBottom++;
|
||||
if (borderBottom <= 100) {
|
||||
$("#borderBottom").css("width", borderBottom + "%");
|
||||
} else {
|
||||
leftBorder();
|
||||
clearInterval(int);
|
||||
$("#borderBottom").css({ right: "", left: "0" });
|
||||
|
||||
setTimeout(() => {
|
||||
let int = setInterval(() => {
|
||||
borderBottom--;
|
||||
if (borderBottom >= 0) {
|
||||
$("#borderBottom").css("width", borderBottom + "%");
|
||||
} else {
|
||||
$("#borderBottom").css({ left: "", right: "0" });
|
||||
clearInterval(int);
|
||||
}
|
||||
}, 7);
|
||||
}, 250);
|
||||
}
|
||||
}, 7);
|
||||
}
|
||||
function leftBorder() {
|
||||
let int = setInterval(() => {
|
||||
borderLeft++;
|
||||
if (borderLeft <= 100) {
|
||||
$("#borderLeft").css("height", borderLeft + "%");
|
||||
} else {
|
||||
topBorder();
|
||||
clearInterval(int);
|
||||
$("#borderLeft").css({ bottom: "", top: "0" });
|
||||
|
||||
setTimeout(() => {
|
||||
let int = setInterval(() => {
|
||||
borderLeft--;
|
||||
if (borderLeft >= 0) {
|
||||
$("#borderLeft").css("height", borderLeft + "%");
|
||||
} else {
|
||||
$("#borderLeft").css({ top: "", bottom: "0" });
|
||||
clearInterval(int);
|
||||
}
|
||||
}, 5);
|
||||
}, 450);
|
||||
}
|
||||
}, 5);
|
||||
}
|
||||
topBorder();
|
||||
}
|
||||
|
||||
//Start Main Function
|
||||
|
|
Loading…
Reference in a new issue