april fools here or some fixes

This commit is contained in:
GDColon 2021-03-31 21:23:03 -04:00
parent d25c981828
commit 2a947878d8
5 changed files with 21 additions and 21 deletions

View file

@ -16,9 +16,9 @@ module.exports = async (app, req, res, api, ID, analyze) => {
else levelID = levelID.replace(/[^0-9]/g, "") else levelID = levelID.replace(/[^0-9]/g, "")
// daily hardcode fo' today 😎 // daily hardcode fo' today 😎
if (levelID < 0 && req.server.name == "Geometry Dash") { if (!api && levelID < 0 && req.server.name == "Geometry Dash") {
if (levelID == -1) levelID = "67984875" // marte if (levelID == -1) return res.redirect("67984875") // marte
else if (levelID == -2) levelID = "59075347" // tartarus else if (levelID == -2) return res.redirect("59075347") // tartarus
} }
req.gdRequest('downloadGJLevel22', { levelID }, function (err, resp, body) { req.gdRequest('downloadGJLevel22', { levelID }, function (err, resp, body) {

View file

@ -1,4 +1,4 @@
@font-face {font-family: Pusab; src: url('../../assets/Pusab.ttf')} @font-face {font-family: Pusab; src: url('../../assets/Pusab.ttf?')}
body { body {
margin: 0; margin: 0;
@ -253,7 +253,7 @@ input:-webkit-autofill, input:-webkit-autofill:hover, input:-webkit-autofill:foc
.gdcheckbox { .gdcheckbox {
vertical-align: middle; vertical-align: middle;
display: inline-block; display: inline-block;
background-image: url(../../assets/check-off.png); background-image: url(../../assets/check-off.png?);
background-repeat: no-repeat; background-repeat: no-repeat;
background-size: contain; background-size: contain;
padding-right: 20%; padding-right: 20%;
@ -261,7 +261,7 @@ input:-webkit-autofill, input:-webkit-autofill:hover, input:-webkit-autofill:foc
} }
input[type=checkbox]:checked + label.gdcheckbox { input[type=checkbox]:checked + label.gdcheckbox {
background-image: url(../../assets/check-on.png); background-image: url(../../assets/check-on.png?);
} }
::placeholder { ::placeholder {
@ -331,14 +331,14 @@ input::-webkit-outer-spin-button, input::-webkit-inner-spin-button {
border: 2.5vh solid transparent; border: 2.5vh solid transparent;
border-radius: 3vh; border-radius: 3vh;
background-color: black; background-color: black;
border-image: url('../../assets/brownbox.png') 10% round; border-image: url('../../assets/brownbox.png?') 10% round;
} }
.blueBox { .blueBox {
border: 2.5vh solid transparent; border: 2.5vh solid transparent;
border-radius: 3vh; border-radius: 3vh;
background-color: black; background-color: black;
border-image: url('../../assets/bluebox.png') 10% round; border-image: url('../../assets/bluebox.png?') 10% round;
} }
.fancybox { .fancybox {
@ -347,7 +347,7 @@ input::-webkit-outer-spin-button, input::-webkit-inner-spin-button {
border: 3.5vh solid transparent; border: 3.5vh solid transparent;
border-radius: 3vh; border-radius: 3vh;
background-color: black; background-color: black;
border-image: url('../../assets/fancybox.png') 20% stretch; border-image: url('../../assets/fancybox.png?') 20% stretch;
border-image-slice: 35; border-image-slice: 35;
} }
@ -357,21 +357,21 @@ input::-webkit-outer-spin-button, input::-webkit-inner-spin-button {
.epicbox { .epicbox {
border: 3.5vh solid transparent; border: 3.5vh solid transparent;
border-image: url('../../assets/epicbox.png') 20% stretch; border-image: url('../../assets/epicbox.png?') 20% stretch;
border-image-slice: 85 77; border-image-slice: 85 77;
border-image-width: 9.5vh; border-image-width: 9.5vh;
} }
.unepicbox { .unepicbox {
border: 3.5vh solid transparent; border: 3.5vh solid transparent;
border-image: url('../../assets/unepicbox.png') 20% stretch; border-image: url('../../assets/unepicbox.png?') 20% stretch;
border-image-slice: 85 77; border-image-slice: 85 77;
border-image-width: 9.5vh; border-image-width: 9.5vh;
} }
.leaderboardBox { .leaderboardBox {
border: 3.5vh solid transparent; border: 3.5vh solid transparent;
border-image: url('../../assets/leaderboardbox.png') 20% stretch; border-image: url('../../assets/leaderboardbox.png?') 20% stretch;
border-image-slice: 85 77; border-image-slice: 85 77;
border-image-width: 9.5vh; border-image-width: 9.5vh;
} }

View file

@ -1,5 +1,5 @@
@import url('https://fonts.googleapis.com/css?family=Roboto'); @import url('https://fonts.googleapis.com/css?family=Roboto');
@font-face {font-family: Pusab; src: url('../../assets/Pusab.ttf')} @font-face {font-family: Pusab; src: url('../../assets/Pusab.ttf?')}
.gdButton { .gdButton {
cursor: pointer; cursor: pointer;
@ -291,7 +291,7 @@ input:focus, select:focus, textarea:focus, button:focus {
} }
.iconSelected { .iconSelected {
border-image: url('../../assets/select.png') 10 stretch !important; border-image: url('../../assets/select.png?') 10 stretch !important;
} }
.iconTabButton, .glowToggle, .copyForm { .iconTabButton, .glowToggle, .copyForm {
@ -424,7 +424,7 @@ input:focus, select:focus, textarea:focus, button:focus {
border: 17px solid transparent; border: 17px solid transparent;
border-radius: 25px; border-radius: 25px;
background-color: black; background-color: black;
border-image: url('../../assets/brownbox.png') 10% round; border-image: url('../../assets/brownbox.png?') 10% round;
} }
.xButton { .xButton {
@ -461,7 +461,7 @@ input[type=checkbox] {
.gdcheckbox { .gdcheckbox {
vertical-align: middle; vertical-align: middle;
display: inline-block; display: inline-block;
background-image: url(../../assets/check-off.png); background-image: url(../../assets/check-off.png?);
background-repeat: no-repeat; background-repeat: no-repeat;
background-size: contain; background-size: contain;
padding-right: 40px; padding-right: 40px;
@ -471,7 +471,7 @@ input[type=checkbox] {
} }
input[type=checkbox]:checked + label.gdcheckbox { input[type=checkbox]:checked + label.gdcheckbox {
background-image: url(../../assets/check-on.png); background-image: url(../../assets/check-on.png?);
} }
.bounce { .bounce {

View file

@ -45,7 +45,7 @@ fetch('../api/gauntlets').then(res => res.json()).then(gauntlets => {
$('#gauntletList').append(` $('#gauntletList').append(`
<div class="gauntlet"> <div class="gauntlet">
<a href="../search/*?gauntlet=${x.id}"> <a href="../search/*?gauntlet=${x.id}">
<img src="../assets/black${Math.random() >= 0.5 ? "Check" : "x"}.png" height="300%"><br> <img src="../assets/black${Math.random() >= 0.5 ? "Check" : "X"}.png" height="300%"><br>
<h3 class="gauntletText"">${name}<br>Gauntlet</h3></div></a>`) <h3 class="gauntletText"">${name}<br>Gauntlet</h3></div></a>`)
}) })
}); });

View file

@ -4,8 +4,8 @@
<link href="../assets/css/browser.css?v=x" type="text/css" rel="stylesheet"> <link href="../assets/css/browser.css?v=x" type="text/css" rel="stylesheet">
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-135255146-3"></script><script>window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);}gtag('js', new Date());gtag('config', 'UA-135255146-3');</script> <script async src="https://www.googletagmanager.com/gtag/js?id=UA-135255146-3"></script><script>window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);}gtag('js', new Date());gtag('config', 'UA-135255146-3');</script>
<link rel="icon" href="../assets/coin.png?"> <link rel="icon" href="../assets/coin.png?">
<meta id="meta-title" property="og:title" content="Geometry Dash Browser!"> <meta id="meta-title" property="og:title" content="Geometry Dash Bowser!">
<meta id="meta-desc" property="og:description" content="Browse all of Geometry Dash's online features, right from this handy little website! Levels, profiles, leaderboards, comments, and more!"> <meta id="meta-desc" property="og:description" content="GMD BROW S ER !! (dot com),">
<meta id="meta-image" name="og:image" itemprop="image" content="https://gdbrowser.com/assets/coin.png?"> <meta id="meta-image" name="og:image" itemprop="image" content="https://gdbrowser.com/assets/coin.png?">
<meta name="twitter:card" content="summary"> <meta name="twitter:card" content="summary">
</head> </head>
@ -72,7 +72,7 @@
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
<a class="menuLink" href="./api">API</a> <a class="menuLink" href="./api">API</a>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
<a class="menuLink" href="https://github.com/GDColon/GDBrowser">GitHub</a> <a class="menuLink" href="https://github.com/GDColon/GDBrowser/tree/april-fools-2021">GitHub</a>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
<a class="menuLink" href="https://store.steampowered.com/app/322170/Geometry_Dash/">Buy Geometry Dash!</a></p> <a class="menuLink" href="https://store.steampowered.com/app/322170/Geometry_Dash/">Buy Geometry Dash!</a></p>
</div> </div>