diff --git a/public/explod.gif b/public/explod.gif new file mode 100644 index 0000000..698f8db Binary files /dev/null and b/public/explod.gif differ diff --git a/public/explod.mp3 b/public/explod.mp3 new file mode 100644 index 0000000..b549a10 Binary files /dev/null and b/public/explod.mp3 differ diff --git a/public/nyaboom.webp b/public/nyaboom.webp new file mode 100644 index 0000000..abdbc9f Binary files /dev/null and b/public/nyaboom.webp differ diff --git a/src/App.tsx b/src/App.tsx index 08a064a..7bbe74a 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -4,6 +4,7 @@ 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 [ishover, setishover] = createSignal(false) @@ -31,6 +32,23 @@ function vivsiepop() { } blep.forEach(fuckshit) } +function nyaboom() { + 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); + } + } + blep.forEach(fuckshit) +} function App() { @@ -92,8 +110,8 @@ function App() {