Skip to content

Commit

Permalink
the collective...
Browse files Browse the repository at this point in the history
  • Loading branch information
redd-rl committed Mar 30, 2024
1 parent 67b405e commit 83cdcee
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
var currentDate = new Date();
var currentYear = new Date().getFullYear();
var targetCountdownDay = new Date("Feb 19, " + currentYear + " 12:00:00 AM GMT+1 (CET)");
var stopDay = new Date("Feb 19, " + currentYear + " 11:59:59 PM GMT+1 (CET)");
var targetCountdownDay = new Date("Mar 30, " + currentYear + " 12:00:00 AM GMT+1 (CET)");
var stopDay = new Date("Mar 30, " + currentYear + " 11:59:59 PM GMT+1 (CET)");
var scriptAdded = false;

function checkDate() {
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
// Set the date we're counting down to
var currentYear = new Date().getFullYear();
var countDownDate = new Date("Feb 19, " + currentYear + " 12:00:00 AM GMT+1 (CET)").getTime();
var countDownDate = new Date("Mar 30, " + currentYear + " 12:00:00 AM GMT+1 (CET)").getTime();
var now = new Date().getTime();
if (countDownDate < now) {
var currentYear = new Date().getFullYear()+1;
var countDownDate = new Date("Feb 19, " + currentYear + " 12:00:00 AM GMT+1 (CET)").getTime();
var countDownDate = new Date("Mar 30, " + currentYear + " 12:00:00 AM GMT+1 (CET)").getTime();
}
// Update the count down every 1 second
var x = setInterval(function() {
Expand All @@ -14,7 +14,7 @@ var x = setInterval(function() {
var distance = countDownDate - now;
if (countDownDate < now) {
currentYear = new Date().getFullYear()+1;
countDownDate = new Date("Feb 19, " + currentYear + " 12:00:00 AM GMT+1 (CET)").getTime();
countDownDate = new Date("Mar 30, " + currentYear + " 12:00:00 AM GMT+1 (CET)").getTime();
}
// Calculate the number of days until the countdown date
var days = Math.floor(distance / (1000 * 60 * 60 * 24));
Expand Down Expand Up @@ -85,7 +85,7 @@ var x = setInterval(function() {
} else {
document.getElementsByClassName("rainbow_text_animated")[0].textContent = "Error\r\n";
currentYear = new Date().getFullYear()+1;
countDownDate = new Date("Feb 19, " + currentYear + " 12:00:00 AM GMT+1 (CET)").getTime();
countDownDate = new Date("Mar 30, " + currentYear + " 12:00:00 AM GMT+1 (CET)").getTime();
}
// code written up by chatgpt xx love you mwah
}, 1000);
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ height: 40%;
letter-spacing: 5px;
}
.rainbow_text_animated {
background: linear-gradient(to right, #6666ff, #0099ff , #00ff00, #ff3399, #6666ff);
background: linear-gradient(to right, #ff6f00, #850000 , #ff6f00, #850000, #ff6f00);
-webkit-background-clip: text;
background-clip: text;
color: transparent;
Expand Down
8 changes: 4 additions & 4 deletions the_collective.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@
<head>
<!-- aHR0cHM6Ly9pbWd1ci5jb20vYS9oeWhVeTh0 -->
<title>The Collective....</title>
<link rel="stylesheet" href="static/akuma/styles/style.css">
<link rel="stylesheet" href="static/thecollective/styles/style.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.1/jquery.min.js"></script>
<meta content="The Collective" property="og:title" />
<meta content="The Collective" property="og:description" />
<meta content="redd-rl.github.io/countdown" property="og:url" />
<meta content="https://cdn.discordapp.com/attachments/382404542245109772/1135830650331594792/favicon-dark.png" property="og:image" />
<meta content="#666666" data-react-helmet="true" name="theme-color" />
<link href="https://fonts.googleapis.com/css?family=Lexend" rel="stylesheet">
<link href="favicon-light.png" rel="icon" media="(prefers-color-scheme: light)"/>
<link href="favicon-dark.png" rel="icon" media="(prefers-color-scheme: dark)"/>
<link href="thecollective.png" rel="icon" media="(prefers-color-scheme: light)"/>
<link href="thecollective.png" rel="icon" media="(prefers-color-scheme: dark)"/>
</head>
</div>
<div onmouseover="playMusic()">
Expand All @@ -24,7 +24,7 @@
<script src="static/thecollective/scripts/timer.js"> </script>

<audio autoplay loop id="bgmusic">
<source src="https://cdn.discordapp.com/attachments/382404542245109772/1135800626454999091/yt1s.com_-_Born_To_Be_Wild.mp3" type="audio/mp3">
<source src="https://cdn.discordapp.com/attachments/1223025197897220236/1223476452738203722/youtube_An0vmCaSZqo_audio.mp3" type="audio/mp3">
Your browser does not support the audio element.
</audio>
<script src="static/thecollective/scripts/music.js"></script>
Expand Down
Binary file added thecollective.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 83cdcee

Please sign in to comment.