From 6165b7dd75bdfb1bf18dd35989a07bdcee179f72 Mon Sep 17 00:00:00 2001 From: amy Date: Wed, 4 Dec 2024 02:15:30 +0330 Subject: [PATCH] bleh --- src/App.css | 1 + src/App.tsx | 366 +++++++++++++++++++++++++++++----------------------- 2 files changed, 202 insertions(+), 165 deletions(-) diff --git a/src/App.css b/src/App.css index 91eaac4..482314d 100644 --- a/src/App.css +++ b/src/App.css @@ -81,6 +81,7 @@ margin: 1em; } + .musiclist { display: flex; justify-content: space-around; diff --git a/src/App.tsx b/src/App.tsx index bcdc6e9..f7c00e3 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -1,10 +1,11 @@ import './App.css' -import { AdvancedBr, SingularOomfie } from './components/comps.tsx' -import { createSignal, onMount } from 'solid-js'; +import {AdvancedBr, SingularOomfie} from './components/comps.tsx' +import {createSignal, onMount} from 'solid-js'; import Reviews from './components/api.tsx'; -import Music, { MusicEntry } from './components/music.tsx'; -import { Bdpfp, Normalpfp } from './components/pfp.tsx'; -import { InfoCard } from './components/middlecard.tsx'; +import Music, {MusicEntry} from './components/music.tsx'; +import {Bdpfp, Normalpfp} from './components/pfp.tsx'; +import {InfoCard} from './components/middlecard.tsx'; + export const [shouldpopup, setpopup] = createSignal(false) export const [shouldpopupEasterEgg, setpopupEasterEgg] = createSignal(false) export const [ishover, setishover] = createSignal(false) @@ -13,184 +14,219 @@ let explodcount = 0 const isitmybd = () => new Date().toISOString().slice(5, 10) === '08-22'; function getRandomVivsieWord() { - const words = [ - "fuck", - "shit", - "pussy", - "penis", - "dick" - ] - return words[Math.floor(Math.random() * words.length)] + const words = [ + "fuck", + "shit", + "pussy", + "penis", + "dick" + ] + return words[Math.floor(Math.random() * words.length)] } function vivsiepop() { - const blep = document.body.childNodes; - function fuckshit(node: ChildNode) { - if (node.nodeType === Node.TEXT_NODE) { - node.textContent = getRandomVivsieWord(); - } else { - node.childNodes.forEach(fuckshit); + const blep = document.body.childNodes; + + function fuckshit(node: ChildNode) { + if (node.nodeType === Node.TEXT_NODE) { + node.textContent = getRandomVivsieWord(); + } else { + node.childNodes.forEach(fuckshit); + } } - } - blep.forEach(fuckshit) + + blep.forEach(fuckshit) } + function nyaboom() { - explodcount++ - const blep = document.body.childNodes; - function fuckshit(node: ChildNode) { - if (node.nodeType === Node.TEXT_NODE) { - (node as Element).textContent = '' - node.parentElement?.appendChild( as Element) - } else if (node instanceof HTMLImageElement) { - node.src = "./explod.gif" + explodcount++ + const blep = document.body.childNodes; + + function fuckshit(node: ChildNode) { + if (node.nodeType === Node.TEXT_NODE) { + (node as Element).textContent = '' + node.parentElement?.appendChild( as Element) + } else if (node instanceof HTMLImageElement) { + node.src = "./explod.gif" + } else { + node.childNodes.forEach(fuckshit); + } } - else { - node.childNodes.forEach(fuckshit); - } - } - blep.forEach(fuckshit) + + blep.forEach(fuckshit) } function App() { - const [musicList, setMusicList] = createSignal([]); - const [isLoading, setIsLoading] = createSignal(true); - const [oomfies, setoomfies] = createSignal(<>oomfies) - const [isAnimating, setIsAnimating] = createSignal(false); - const [animatedwoem, setanimatedwoem] = createSignal(false); - onMount(async () => { - try { - const response = await fetch("https://imtoolazytomakeaproperapi.exhq.dev/"); - const data = await response.json(); - setMusicList(data); - } catch (error) { - console.error("Error fetching music data:", error); - } finally { - setIsLoading(false); - } - }); - let gitgay = { - setIsAnimating(true) - setTimeout(() => { - window.location.href = "https://git.lgbt/exhq" - }, 200); - gitgay.src = "/gaybackground.png" - }} classList={{ 'gitgayimg': true, 'animate': isAnimating(), 'gaybackground': isAnimating() }} src="https://proxy.mono.exhq.dev/_/plain/https://git.lgbt/assets/img/logo.png" alt="logo of git.lgbt" /> as HTMLImageElement - return ( - <> - {isitmybd() ? : } + const [musicList, setMusicList] = createSignal([]); + const [isLoading, setIsLoading] = createSignal(true); + const [oomfies, setoomfies] = createSignal(<>oomfies) + const [isAnimating, setIsAnimating] = createSignal(false); + const [animatedwoem, setanimatedwoem] = createSignal(false); + onMount(async () => { + try { + const response = await fetch("https://imtoolazytomakeaproperapi.exhq.dev/"); + const data = await response.json(); + setMusicList(data); + } catch (error) { + console.error("Error fetching music data:", error); + } finally { + setIsLoading(false); + } + }); + let gitgay = { + setIsAnimating(true) + setTimeout(() => { + window.location.href = "https://git.lgbt/exhq" + }, 200); + gitgay.src = "/gaybackground.png" + }} classList={{'gitgayimg': true, 'animate': isAnimating(), 'gaybackground': isAnimating()}} + src="https://proxy.mono.exhq.dev/_/plain/https://git.lgbt/assets/img/logo.png" + alt="logo of git.lgbt"/> as HTMLImageElement + // @ts-ignore + return ( + <> + {isitmybd() ? : + } -

AdvancedBr my beloved

- +

AdvancedBr my beloved

+ -
-
-

link tree

-
- {gitgay} - { - setanimatedwoem(true) - setTimeout(() => { - window.location.href = "https://woem.men/@echo" - }, 200); - }} classList={{ 'woemimg': true, 'animate': animatedwoem() }} src="https://proxy.mono.exhq.dev/_/plain/https://woem.men/files/356134d8-df3b-41dc-ac73-c4420442bf3a" alt="logo of woem.men" /> -
-
-
- Git - Fedi -
-
+
+
+

link tree

+
+ {gitgay} + { + setanimatedwoem(true) + setTimeout(() => { + window.location.href = "https://woem.men/@echo" + }, 200); + }} classList={{'woemimg': true, 'animate': animatedwoem()}} + src="https://proxy.mono.exhq.dev/_/plain/https://woem.men/files/356134d8-df3b-41dc-ac73-c4420442bf3a" + alt="logo of woem.men"/> +
+
+
+ Git + Fedi +
+
-
- +
+ -
-
{ setishover(true) }} - onmouseleave={() => { setishover(false) }} - style={{ - opacity: isAnimating() || animatedwoem() ? "0%" : "100%" - }} class='cardchild'> - -
-
- -
-
{ setpopup(!shouldpopup()) }}> -

typa shit ive been on

-
-
{ - setoomfies( - <> - - - - - - - - - - - ) - }}> {oomfies()}
-
-

echo if it was written by vivsiepop

-
-
{ - if (explodcount > 5) { - document.body.innerHTML = "" - setTimeout(() => { alert("sorry bud, you exploded so much that my document.body is gon") }, 500) - } else { - new Audio("./explod.mp3").play() - nyaboom() - } - }}> - -
-
- - -
-
-
- +
+
{ + setishover(true) + }} + onmouseleave={() => { + setishover(false) + }} + style={{ + opacity: isAnimating() || animatedwoem() ? "0%" : "100%" + }} class='cardchild'> + +
-
- {isLoading() ? ( -

Loading...

- ) : ( - musicList().map((link) => ) - )} + +
+
{ + setpopup(!shouldpopup()) + }}> +

typa shit ive been on

+
+
+
{ + setoomfies( + <> + + + + + + + + + + + ) + }}> {oomfies()}
+
+
+

echo if it was written by vivsiepop

+
+
{ + if (explodcount > 5) { + document.body.innerHTML = "" + setTimeout(() => { + alert("sorry bud, you exploded so much that my document.body is gon") + }, 500) + } else { + new Audio("./explod.mp3").play() + nyaboom() + } + }}> + +
-
-
-
- -
-
-
- -
- -
-
-
- - - ) + + +
+
+
+ +
+
+ {isLoading() ? ( +

Loading...

+ ) : ( + musicList().map((link) => ) + )} +
+
+
+
+ +
+
+
+ +
+ +
+
+
+ + + ) } export default App