UNGHHH
This commit is contained in:
parent
a92ac3c228
commit
741f9382ea
5 changed files with 40 additions and 28 deletions
BIN
frontend/public/assets/images/badges/friends/sophari.gif
(Stored with Git LFS)
Normal file
BIN
frontend/public/assets/images/badges/friends/sophari.gif
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
frontend/public/assets/images/badges/mine/missing-texture.png
(Stored with Git LFS)
Normal file
BIN
frontend/public/assets/images/badges/mine/missing-texture.png
(Stored with Git LFS)
Normal file
Binary file not shown.
|
@ -5,7 +5,7 @@ const badgeOrange = document.getElementById("badgeOrange");
|
||||||
const colorBool = Math.random() < 0.5;
|
const colorBool = Math.random() < 0.5;
|
||||||
const is_root = location.pathname === "/";
|
const is_root = location.pathname === "/";
|
||||||
|
|
||||||
const badgeAmount = 17
|
const badgeAmount = 18
|
||||||
|
|
||||||
// loads all the functions to be loaded on load, pretty simple, it loads shit on load.
|
// loads all the functions to be loaded on load, pretty simple, it loads shit on load.
|
||||||
function onLoad() {
|
function onLoad() {
|
||||||
|
@ -128,10 +128,11 @@ const nbsp = '<a href="https://enby.space/"><img class="badge" src="/assets/imag
|
||||||
const loveshock = '<a href="https://loveshock.xyz/"><img class="badge" src="/assets/images/badges/friends/loveshock.gif" alt="dark background, with a curved grid/web, with the text \'vist the jukebox at loveshock.xyz\'" loading="lazy"></a>'
|
const loveshock = '<a href="https://loveshock.xyz/"><img class="badge" src="/assets/images/badges/friends/loveshock.gif" alt="dark background, with a curved grid/web, with the text \'vist the jukebox at loveshock.xyz\'" loading="lazy"></a>'
|
||||||
const pancakes = '<a href="https://trypancakes.com/"><img class="badge" src="/assets/images/badges/friends/pancakes.png" alt="purple background, with a drawing of a cat, to the left of the cat is the underlined word \'pancakes\'" loading="lazy"></a>'
|
const pancakes = '<a href="https://trypancakes.com/"><img class="badge" src="/assets/images/badges/friends/pancakes.png" alt="purple background, with a drawing of a cat, to the left of the cat is the underlined word \'pancakes\'" loading="lazy"></a>'
|
||||||
const sophari = '<a href="https://sophari.org/"><img class="badge" src="https://sophari.org/img/sophari.gif" alt="black background, with white borders and text, colorful snow-like substance falling down, text says \'Sophari.org\' " loading="lazy"></a>'
|
const sophari = '<a href="https://sophari.org/"><img class="badge" src="https://sophari.org/img/sophari.gif" alt="black background, with white borders and text, colorful snow-like substance falling down, text says \'Sophari.org\' " loading="lazy"></a>'
|
||||||
const constellatory = '<a href="https://constellatory.net/"><imsg class="badge" src="/assets/images/badges/friends/constellatory.net.png" alt="constellatory" loading="lazy"></a>'
|
|
||||||
const micro = '<a href="https://micro.pages.gay/"><img class="badge" src="/assets/images/badges/friends/niko.png" alt="prototype from oneshot giviing a :3c expression with a darker background and Micro in purple 500 from tailwindcss on the right with dithering between the two sections" loading="lazy"></a>'
|
const micro = '<a href="https://micro.pages.gay/"><img class="badge" src="/assets/images/badges/friends/niko.png" alt="prototype from oneshot giviing a :3c expression with a darker background and Micro in purple 500 from tailwindcss on the right with dithering between the two sections" loading="lazy"></a>'
|
||||||
const lykrast = '<a href="https://lykrast.com/"><img class="badge" src="https://lykrast.com/8831.png" alt="hand holding a black hole, with the text \'Lykrast\'" loading="lazy"></a>'
|
const lykrast = '<a href="https://lykrast.com/"><img class="badge" src="https://lykrast.com/8831.png" alt="hand holding a black hole, with the text \'Lykrast\'" loading="lazy"></a>'
|
||||||
const starshines = '<a href="https://starshines.gay/"><img class="badge" style="width: 88px; height: 31px;" src="/assets/images/badges/friends/foxfoxfox.png" alt="image of a neofox in a box, next to it is some text reading off the screen \'fox fox fox fox fox\'" loading="lazy"></a>'
|
const starshines = '<a href="https://starshines.gay/"><img class="badge" src="/assets/images/badges/friends/foxfoxfox.png" alt="image of a neofox in a box, next to it is some text reading off the screen \'fox fox fox fox fox\'" loading="lazy"></a>'
|
||||||
|
|
||||||
|
const missing = '<a><img class="badge" src="/assets/images/badges/mine/missing-texture.png" alt="magenta and black checker pattern" loading="lazy"></a>'
|
||||||
|
|
||||||
const badges = [
|
const badges = [
|
||||||
elke,
|
elke,
|
||||||
|
@ -143,14 +144,15 @@ const badges = [
|
||||||
tempest,
|
tempest,
|
||||||
disarray,
|
disarray,
|
||||||
astrid,
|
astrid,
|
||||||
constellatory,
|
|
||||||
nbsp,
|
nbsp,
|
||||||
micro,
|
micro,
|
||||||
loveshock,
|
loveshock,
|
||||||
pancakes,
|
pancakes,
|
||||||
sophari,
|
sophari,
|
||||||
lykrast,
|
lykrast,
|
||||||
starshines
|
starshines,
|
||||||
|
missing,
|
||||||
|
missing
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -119,6 +119,8 @@ hr {
|
||||||
|
|
||||||
.badge {
|
.badge {
|
||||||
image-rendering: pixelated;
|
image-rendering: pixelated;
|
||||||
|
width: 88px;
|
||||||
|
height: 31px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ntfyOpts {
|
.ntfyOpts {
|
||||||
|
|
|
@ -8,14 +8,15 @@
|
||||||
<a id="badgeDefault7" href="https://tempest.dev/"><img class="badge" src="/assets/images/badges/friends/tempest.dev.png" alt="badge for tempest.dev'" loading="lazy"></a>
|
<a id="badgeDefault7" href="https://tempest.dev/"><img class="badge" src="/assets/images/badges/friends/tempest.dev.png" alt="badge for tempest.dev'" loading="lazy"></a>
|
||||||
<a id="badgeDefault8" href="https://disarray.sh/"><img class="badge" src="/assets/images/badges/friends/disarray.sh.png" alt="jade disarray site" loading="lazy"></a>
|
<a id="badgeDefault8" href="https://disarray.sh/"><img class="badge" src="/assets/images/badges/friends/disarray.sh.png" alt="jade disarray site" loading="lazy"></a>
|
||||||
<a id="badgeDefault9" href="https://astrid.tech/"><img class="badge" src="/assets/images/badges/friends/astrid.tech.png" alt="astrid dot tech" loading="lazy"></a>
|
<a id="badgeDefault9" href="https://astrid.tech/"><img class="badge" src="/assets/images/badges/friends/astrid.tech.png" alt="astrid dot tech" loading="lazy"></a>
|
||||||
<a id="badgeDefault10" href="https://constellatory.net/"><img class="badge" src="/assets/images/badges/friends/constellatory.net.png" alt="constellatory" loading="lazy"></a>
|
<a id="badgeDefault10" href="https://enby.space/"><img class="badge" src="/assets/images/badges/friends/nbsp.gif" alt="ralsei clapping next to the text 'nbsp'" loading="lazy"></a>
|
||||||
<a id="badgeDefault11" href="https://enby.space/"><img class="badge" src="/assets/images/badges/friends/nbsp.gif" alt="ralsei clapping next to the text 'nbsp'" loading="lazy"></a>
|
<a id="badgeDefault11" href="https://micro.pages.gay/"><img class="badge" src="/assets/images/badges/friends/niko.png" alt="prototype from oneshot giviing a :3c expression with a darker background and Micro in purple 500 from tailwindcss on the right with dithering between the two sections" loading="lazy"></a>
|
||||||
<a id="badgeDefault12" href="https://micro.pages.gay/"><img class="badge" src="/assets/images/badges/friends/niko.png" alt="prototype from oneshot giviing a :3c expression with a darker background and Micro in purple 500 from tailwindcss on the right with dithering between the two sections" loading="lazy"></a>
|
<a id="badgeDefault12" href="https://loveshock.xyz/"><img class="badge" src="/assets/images/badges/friends/loveshock.gif" alt="dark background, with a curved grid/web, with the text 'vist the jukebox at loveshock.xyz'" loading="lazy"></a>
|
||||||
<a id="badgeDefault13" href="https://loveshock.xyz/"><img class="badge" src="/assets/images/badges/friends/loveshock.gif" alt="dark background, with a curved grid/web, with the text 'vist the jukebox at loveshock.xyz'" loading="lazy"></a>
|
<a id="badgeDefault13" href="https://trypancakes.com/"><img class="badge" src="/assets/images/badges/friends/pancakes.png" alt="purple background, with a drawing of a cat, to the left of the cat is the underlined word 'pancakes'" loading="lazy"></a>
|
||||||
<a id="badgeDefault14" href="https://trypancakes.com/"><img class="badge" src="/assets/images/badges/friends/pancakes.png" alt="purple background, with a drawing of a cat, to the left of the cat is the underlined word 'pancakes'" loading="lazy"></a>
|
<a id="badgeDefault14" href="https://sophari.org/"><img class="badge" src="https://sophari.org/img/sophari.gif" alt="black background, with white borders and text, colorful snow-like substance falling down, text says 'Sophari.org' " loading="lazy"></a>
|
||||||
<a id="badgeDefault15" href="https://sophari.org/"><img class="badge" src="https://sophari.org/img/sophari.gif" alt="black background, with white borders and text, colorful snow-like substance falling down, text says 'Sophari.org' " loading="lazy"></a>
|
<a id="badgeDefault15" href="https://lykrast.com/"><img class="badge" src="https://lykrast.com/8831.png" alt="hand holding a black hole, with the text 'Lykrast'" loading="lazy"></a>
|
||||||
<a id="badgeDefault16" href="https://lykrast.com/"><img class="badge" src="https://lykrast.com/8831.png" alt="hand holding a black hole, with the text 'Lykrast'" loading="lazy"></a>
|
<a id="badgeDefault16" href="https://starshines.gay/"><img class="badge" src="/assets/images/badges/friends/foxfoxfox.png" alt="image of a neofox in a box, next to it is some text reading off the screen 'fox fox fox fox fox'" loading="lazy"></a>
|
||||||
<a id="badgeDefault17" href="https://starshines.gay/"><img class="badge" style="width: 88px; height: 31px;" src="/assets/images/badges/friends/foxfoxfox.png" alt="image of a neofox in a box, next to it is some text reading off the screen 'fox fox fox fox fox'" loading="lazy"></a>
|
<a id="badgeDefault17"><img class="badge" src="/assets/images/badges/mine/missing-texture.png" alt="magenta and black checker pattern" loading="lazy"></a>
|
||||||
|
<a id="badgeDefault18"><img class="badge" src="/assets/images/badges/mine/missing-texture.png" alt="magenta and black checker pattern" loading="lazy"></a>
|
||||||
|
|
||||||
<div id="badge1" style="display: none"></div>
|
<div id="badge1" style="display: none"></div>
|
||||||
<div id="badge2" style="display: none"></div>
|
<div id="badge2" style="display: none"></div>
|
||||||
|
@ -34,4 +35,5 @@
|
||||||
<div id="badge15" style="display: none"></div>
|
<div id="badge15" style="display: none"></div>
|
||||||
<div id="badge16" style="display: none"></div>
|
<div id="badge16" style="display: none"></div>
|
||||||
<div id="badge17" style="display: none"></div>
|
<div id="badge17" style="display: none"></div>
|
||||||
|
<div id="badge18" style="display: none"></div>
|
||||||
</div>
|
</div>
|
Loading…
Reference in a new issue