diff --git a/src/App.tsx b/src/App.tsx index 8cb93de..a5bfb5c 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -1,255 +1,351 @@ -import './App.css' -import {AdvancedBr, Singular88, 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 "./App.css"; +import { AdvancedBr, Singular88, 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"; -export const [shouldpopup, setpopup] = createSignal(false) -export const [shouldpopup88, setpopup88] = createSignal(false) -export const [shouldpopupEasterEgg, setpopupEasterEgg] = createSignal(false) -export const [ishover, setishover] = createSignal(false) +export const [shouldpopup, setpopup] = createSignal(false); +export const [shouldpopup88, setpopup88] = createSignal(false); +export const [shouldpopupEasterEgg, setpopupEasterEgg] = createSignal(false); +export const [ishover, setishover] = createSignal(false); -let explodcount = 0 -const isitmybd = () => new Date().toISOString().slice(5, 10) === '08-22'; +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; + const blep = document.body.childNodes; - function fuckshit(node: ChildNode) { - if (node.nodeType === Node.TEXT_NODE) { - node.textContent = getRandomVivsieWord(); - } else { - node.childNodes.forEach(fuckshit); - } + 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; + 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); - } + 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); } + } - 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); - 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) + const [musicList, setMusicList] = createSignal([]); + const [isLoading, setIsLoading] = createSignal(true); + const [oomfies, setoomfies] = createSignal(<>oomfies); + const [isAnimating, setIsAnimating] = 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" + window.location.href = "https://git.lgbt/exhq"; }, 200); - gitgay.src = "/gaybackground.png" - }} classList={{'gitgayimg': true, 'animate': isAnimating(), 'gaybackground': isAnimating()}} - src="https://proxy.spiro.exhq.dev/_/plain/https://git.lgbt/assets/img/logo.png" - alt="logo of git.lgbt"/> as HTMLImageElement - // @ts-ignore - return ( - <> - {isitmybd() ? : - } + gitgay.src = "/gaybackground.png"; + }} + classList={{ + gitgayimg: true, + animate: isAnimating(), + gaybackground: isAnimating(), + }} + src="https://proxy.spiro.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}
+
+
+ Git +
+
-
-
-

link tree

-
- {gitgay} - -
-
-
- Git -
-
- -
- - -
-
{ - setishover(true) - }} - onmouseleave={() => { - setishover(false) - }} - style={{ - opacity: isAnimating() ? "0%" : "100%" - }} class='cardchild'> - -
+
+ +
+
{ + setishover(true); + }} + onmouseleave={() => { + setishover(false); + }} + style={{ + opacity: isAnimating() ? "0%" : "100%", + }} + class="cardchild" + > + +
+
+ +
+
{ + setpopup(!shouldpopup()); + }} + > +

typa shit ive been on

+ +
+
+
{ + setoomfies( + <> + + + + + + + + + + , + ); + }} + > + {" "} + {oomfies()} +
+
+
+

amy if it was written by vivsiepop

+
+
{ + setpopup88(true); + }} + > +

88x31's

+
+
{ + 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(); + } + }} + > + +
+
+ + +
+
+
+
- -
-
{ - setpopup(!shouldpopup()) - }}> -

typa shit ive been on

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

echo if it was written by vivsiepop

-
-
{ - setpopup88(true) - }}> -

88x31's

-
-
{ - 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) => ) + )}
- - -
-
-
- -
-
- {isLoading() ? ( -

Loading...

- ) : ( - musicList().map((link) => ) - )} -
-
-
-
- -
-
-
- -
- -
-
-
- -
-
-
- -
-
- -
- feel free to link mine, https://exhq.dev/88x31.png -
-
- - - -
-
-
-
- - - - ) +
+
+ + +
+
+
+ +
+ +
+
+
+ +
+
+
+ +
+
+ +
+ + feel free to link mine, https://exhq.dev/88x31.png + +
+
+ + + +
+
+
+
+ + + + ); } -export default App +export default App;