Skip to content
This repository has been archived by the owner on May 24, 2024. It is now read-only.

Commit

Permalink
Just A Few Small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
TheUnblockedHubOfficial committed Nov 16, 2023
1 parent 4f893cb commit 10bbf39
Show file tree
Hide file tree
Showing 5 changed files with 325 additions and 64 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "The Unblockd Hub",
"version": "1.2.1",
"description": "site-theunblockedhubofficial.koyab.app",
"version": "1.3.6",
"description": "The Unblocked Hub is the #1 site for all-in-one school entertainment. Accelerate your "learning" with our collection of games, apps, emulators, proxies, and so much more.",
"type": "module",
"engines": {
"npm": ">=7.0.0",
Expand Down
302 changes: 302 additions & 0 deletions static/.render_temp_index.html

Large diffs are not rendered by default.

56 changes: 0 additions & 56 deletions static/assets/js/splashtexts.js

This file was deleted.

23 changes: 19 additions & 4 deletions static/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down Expand Up @@ -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 = [
Expand Down

0 comments on commit 10bbf39

Please sign in to comment.