From 397ed05b875fe5c20797c0f3203725c553918642 Mon Sep 17 00:00:00 2001 From: amy Date: Fri, 23 May 2025 09:47:08 +0330 Subject: [PATCH] spike :3 --- src/App.tsx | 629 ++++++++++++++++++++++++++-------------------------- 1 file changed, 317 insertions(+), 312 deletions(-) diff --git a/src/App.tsx b/src/App.tsx index 8af72b6..725abbf 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -1,10 +1,10 @@ import "./App.css"; -import { AdvancedBr, Singular88, SingularOomfie } from "./components/comps.tsx"; -import { createSignal, onMount } from "solid-js"; +import {AdvancedBr, Singular88, SingularOomfie} from "./components/comps.tsx"; +import {createSignal, onMount} from "solid-js"; import Reviews from "./components/api.tsx"; -import { Music, MusicEntry, Song } from "./components/music.tsx"; -import { Bdpfp, Normalpfp } from "./components/pfp.tsx"; -import { InfoCard } from "./components/middlecard.tsx"; +import {Music, MusicEntry, Song} 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); @@ -15,341 +15,346 @@ 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://bopbot.amy.rip/", - ); - const data = await response.json() as Song[]; - data.reverse(); - setMusicList(data); - } catch (error) { - console.error("Error fetching music data:", error); - } finally { - setIsLoading(false); - } - }); - let gitgay = ( - { - setIsAnimating(true); - setTimeout(() => { - window.location.href = "https://git.amy.rip/amy"; - }, 200); - gitgay.src = "/gaybackground.png"; - }} - classList={{ - gitgayimg: true, - animate: isAnimating(), - gaybackground: isAnimating(), - }} - src="https://git.amy.rip/assets/img/logo.png" - alt="logo of git.amy.rip" - /> - ) as HTMLImageElement; - // @ts-ignore - return ( - <> - {isitmybd() ? ( - - ) : ( - - )} + 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://bopbot.amy.rip/", + ); + const data = await response.json() as Song[]; + data.reverse(); + setMusicList(data); + } catch (error) { + console.error("Error fetching music data:", error); + } finally { + setIsLoading(false); + } + }); + let gitgay = ( + { + setIsAnimating(true); + setTimeout(() => { + window.location.href = "https://git.amy.rip/amy"; + }, 200); + gitgay.src = "/gaybackground.png"; + }} + classList={{ + gitgayimg: true, + animate: isAnimating(), + gaybackground: isAnimating(), + }} + src="https://git.amy.rip/assets/img/logo.png" + alt="logo of git.amy.rip" + /> + ) 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" - > - -
-
- -
-
{ - setpopup(!shouldpopup()); - }} - > -

typa shit ive been on

- -
-
-

:3

-
-
{ - setoomfies( - <> - - - - - - - - - - , - ); + style={{ + opacity: isAnimating() ? "0%" : "100%", }} + class="cardchild" > - {" "} - {oomfies()} + +
+
{ + setishover(true); + }} + onmouseleave={() => { + setishover(false); + }} + style={{ + opacity: isAnimating() ? "0%" : "100%", + }} + class="cardchild" + > +
-
-

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()); }} - src="./nyaboom.webp" - /> + > +

typa shit ive been on

+ +
+
+

:3

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

Loading...

- ) : ( - musicList().map((link) => ) - )} -
-
-
-
- -
-
-
- -
-

if you're reading this you're very silly

-
-
-
- -
-
-
- -
-
- -
- + + +
+
+
+ +
+
+ {isLoading() ? ( +

Loading...

+ ) : ( + musicList().map((link) => ) + )} +
+
+
+
+ +
+
+
+ +
+

if you're reading this you're very silly

+
+
+
+ +
+
+
+ +
+
+ +
+ feel free to link mine, https://amy.rip/88x31.png -
-
- - - -
+
+
+ + + + +
+
+
+
+ + -
-
-
- - - ); + + ); } export default App;