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, "")
// daily hardcode fo' today 😎
if (levelID < 0 && req.server.name == "Geometry Dash") {
if (levelID == -1) levelID = "67984875" // marte
else if (levelID == -2) levelID = "59075347" // tartarus
if (!api && levelID < 0 && req.server.name == "Geometry Dash") {
if (levelID == -1) return res.redirect("67984875") // marte
else if (levelID == -2) return res.redirect("59075347") // tartarus
}
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 {
margin: 0;
@ -253,7 +253,7 @@ input:-webkit-autofill, input:-webkit-autofill:hover, input:-webkit-autofill:foc
.gdcheckbox {
vertical-align: middle;
display: inline-block;
background-image: url(../../assets/check-off.png);
background-image: url(../../assets/check-off.png?);
background-repeat: no-repeat;
background-size: contain;
padding-right: 20%;
@ -261,7 +261,7 @@ input:-webkit-autofill, input:-webkit-autofill:hover, input:-webkit-autofill:foc
}
input[type=checkbox]:checked + label.gdcheckbox {
background-image: url(../../assets/check-on.png);
background-image: url(../../assets/check-on.png?);
}
::placeholder {
@ -331,14 +331,14 @@ input::-webkit-outer-spin-button, input::-webkit-inner-spin-button {
border: 2.5vh solid transparent;
border-radius: 3vh;
background-color: black;
border-image: url('../../assets/brownbox.png') 10% round;
border-image: url('../../assets/brownbox.png?') 10% round;
}
.blueBox {
border: 2.5vh solid transparent;
border-radius: 3vh;
background-color: black;
border-image: url('../../assets/bluebox.png') 10% round;
border-image: url('../../assets/bluebox.png?') 10% round;
}
.fancybox {
@ -347,7 +347,7 @@ input::-webkit-outer-spin-button, input::-webkit-inner-spin-button {
border: 3.5vh solid transparent;
border-radius: 3vh;
background-color: black;
border-image: url('../../assets/fancybox.png') 20% stretch;
border-image: url('../../assets/fancybox.png?') 20% stretch;
border-image-slice: 35;
}
@ -357,21 +357,21 @@ input::-webkit-outer-spin-button, input::-webkit-inner-spin-button {
.epicbox {
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-width: 9.5vh;
}
.unepicbox {
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-width: 9.5vh;
}
.leaderboardBox {
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-width: 9.5vh;
}

View file

@ -1,5 +1,5 @@
@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 {
cursor: pointer;
@ -291,7 +291,7 @@ input:focus, select:focus, textarea:focus, button:focus {
}
.iconSelected {
border-image: url('../../assets/select.png') 10 stretch !important;
border-image: url('../../assets/select.png?') 10 stretch !important;
}
.iconTabButton, .glowToggle, .copyForm {
@ -424,7 +424,7 @@ input:focus, select:focus, textarea:focus, button:focus {
border: 17px solid transparent;
border-radius: 25px;
background-color: black;
border-image: url('../../assets/brownbox.png') 10% round;
border-image: url('../../assets/brownbox.png?') 10% round;
}
.xButton {
@ -461,7 +461,7 @@ input[type=checkbox] {
.gdcheckbox {
vertical-align: middle;
display: inline-block;
background-image: url(../../assets/check-off.png);
background-image: url(../../assets/check-off.png?);
background-repeat: no-repeat;
background-size: contain;
padding-right: 40px;
@ -471,7 +471,7 @@ input[type=checkbox] {
}
input[type=checkbox]:checked + label.gdcheckbox {
background-image: url(../../assets/check-on.png);
background-image: url(../../assets/check-on.png?);
}
.bounce {

View file

@ -45,7 +45,7 @@ fetch('../api/gauntlets').then(res => res.json()).then(gauntlets => {
$('#gauntletList').append(`
<div class="gauntlet">
<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>`)
})
});

View file

@ -4,8 +4,8 @@
<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>
<link rel="icon" href="../assets/coin.png?">
<meta id="meta-title" property="og:title" content="Geometry Dash Browser!">
<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-title" property="og:title" content="Geometry Dash Bowser!">
<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 name="twitter:card" content="summary">
</head>
@ -72,7 +72,7 @@
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
<a class="menuLink" href="./api">API</a>
&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;
<a class="menuLink" href="https://store.steampowered.com/app/322170/Geometry_Dash/">Buy Geometry Dash!</a></p>
</div>