This repository has been archived by the owner on May 24, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 263
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
4f893cb
commit 10bbf39
Showing
5 changed files
with
325 additions
and
64 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Large diffs are not rendered by default.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -64,10 +64,7 @@ <h1>The Unblocked Hub</h1> | |
<p id="splashtext"></p> | ||
</div> | ||
<br> | ||
<p>The Unblocked Hub is FOR SALE! to find out more information email <a | ||
href="mailto:[email protected]">[email protected]</a>. All | ||
assets including the status page, github, server, and V2 source files are included you will receive and | ||
manage the entirety of The Unblocked Hub. Email me to find out more!</p> | ||
<p>Now Under New Managment :)</p> | ||
<br> | ||
<p>Dear User, starting in December The Unblocked Hub will be experiencing minor and major downtimes as we | ||
transition to V2! To learn more click below:</p> | ||
|
@@ -97,6 +94,24 @@ <h1>The Unblocked Hub</h1> | |
gtag('config', 'G-BX1R0Q6FP4'); | ||
</script> | ||
<script> | ||
function acceptCookieConsent() { | ||
// Check if the user has already accepted the cookie consent | ||
if (document.cookie.indexOf("cookieConsent=accepted") === -1) { | ||
// Set a cookie to record user's consent | ||
document.cookie = "cookieConsent=accepted; expires=Thu, 31 Dec 2099 23:59:59 UTC; path=/"; | ||
|
||
// Hide the cookie notice | ||
document.getElementById('cookieNotice').style.display = 'none'; | ||
} | ||
} | ||
|
||
document.addEventListener("DOMContentLoaded", function () { | ||
// Check if the user has already accepted the cookie consent | ||
if (document.cookie.indexOf("cookieConsent=accepted") === -1) { | ||
// If not, show the cookie notice | ||
document.getElementById('cookieNotice').style.display = 'block'; | ||
} | ||
|
||
document.addEventListener("DOMContentLoaded", function () { | ||
const splashtextElement = document.getElementById("splashtext"); | ||
var splashtexts = [ | ||
|