bleh
This commit is contained in:
parent
0c09e874d1
commit
6165b7dd75
2 changed files with 202 additions and 165 deletions
|
@ -81,6 +81,7 @@
|
||||||
margin: 1em;
|
margin: 1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.musiclist {
|
.musiclist {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-around;
|
justify-content: space-around;
|
||||||
|
|
366
src/App.tsx
366
src/App.tsx
|
@ -1,10 +1,11 @@
|
||||||
import './App.css'
|
import './App.css'
|
||||||
import { AdvancedBr, SingularOomfie } from './components/comps.tsx'
|
import {AdvancedBr, SingularOomfie} from './components/comps.tsx'
|
||||||
import { createSignal, onMount } from 'solid-js';
|
import {createSignal, onMount} from 'solid-js';
|
||||||
import Reviews from './components/api.tsx';
|
import Reviews from './components/api.tsx';
|
||||||
import Music, { MusicEntry } from './components/music.tsx';
|
import Music, {MusicEntry} from './components/music.tsx';
|
||||||
import { Bdpfp, Normalpfp } from './components/pfp.tsx';
|
import {Bdpfp, Normalpfp} from './components/pfp.tsx';
|
||||||
import { InfoCard } from './components/middlecard.tsx';
|
import {InfoCard} from './components/middlecard.tsx';
|
||||||
|
|
||||||
export const [shouldpopup, setpopup] = createSignal(false)
|
export const [shouldpopup, setpopup] = createSignal(false)
|
||||||
export const [shouldpopupEasterEgg, setpopupEasterEgg] = createSignal(false)
|
export const [shouldpopupEasterEgg, setpopupEasterEgg] = createSignal(false)
|
||||||
export const [ishover, setishover] = 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';
|
const isitmybd = () => new Date().toISOString().slice(5, 10) === '08-22';
|
||||||
|
|
||||||
function getRandomVivsieWord() {
|
function getRandomVivsieWord() {
|
||||||
const words = [
|
const words = [
|
||||||
"fuck",
|
"fuck",
|
||||||
"shit",
|
"shit",
|
||||||
"pussy",
|
"pussy",
|
||||||
"penis",
|
"penis",
|
||||||
"dick"
|
"dick"
|
||||||
]
|
]
|
||||||
return words[Math.floor(Math.random() * words.length)]
|
return words[Math.floor(Math.random() * words.length)]
|
||||||
}
|
}
|
||||||
|
|
||||||
function vivsiepop() {
|
function vivsiepop() {
|
||||||
const blep = document.body.childNodes;
|
const blep = document.body.childNodes;
|
||||||
function fuckshit(node: ChildNode) {
|
|
||||||
if (node.nodeType === Node.TEXT_NODE) {
|
function fuckshit(node: ChildNode) {
|
||||||
node.textContent = getRandomVivsieWord();
|
if (node.nodeType === Node.TEXT_NODE) {
|
||||||
} else {
|
node.textContent = getRandomVivsieWord();
|
||||||
node.childNodes.forEach(fuckshit);
|
} else {
|
||||||
|
node.childNodes.forEach(fuckshit);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
blep.forEach(fuckshit)
|
blep.forEach(fuckshit)
|
||||||
}
|
}
|
||||||
|
|
||||||
function nyaboom() {
|
function nyaboom() {
|
||||||
explodcount++
|
explodcount++
|
||||||
const blep = document.body.childNodes;
|
const blep = document.body.childNodes;
|
||||||
function fuckshit(node: ChildNode) {
|
|
||||||
if (node.nodeType === Node.TEXT_NODE) {
|
function fuckshit(node: ChildNode) {
|
||||||
(node as Element).textContent = ''
|
if (node.nodeType === Node.TEXT_NODE) {
|
||||||
node.parentElement?.appendChild(<img style={{
|
(node as Element).textContent = ''
|
||||||
width: "1.5em"
|
node.parentElement?.appendChild(<img style={{
|
||||||
}} src="./explod.gif" /> as Element)
|
width: "1.5em"
|
||||||
} else if (node instanceof HTMLImageElement) {
|
}} src="./explod.gif"/> as Element)
|
||||||
node.src = "./explod.gif"
|
} 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() {
|
function App() {
|
||||||
|
|
||||||
const [musicList, setMusicList] = createSignal<string[]>([]);
|
const [musicList, setMusicList] = createSignal<string[]>([]);
|
||||||
const [isLoading, setIsLoading] = createSignal(true);
|
const [isLoading, setIsLoading] = createSignal(true);
|
||||||
const [oomfies, setoomfies] = createSignal(<>oomfies</>)
|
const [oomfies, setoomfies] = createSignal(<>oomfies</>)
|
||||||
const [isAnimating, setIsAnimating] = createSignal(false);
|
const [isAnimating, setIsAnimating] = createSignal(false);
|
||||||
const [animatedwoem, setanimatedwoem] = createSignal(false);
|
const [animatedwoem, setanimatedwoem] = createSignal(false);
|
||||||
onMount(async () => {
|
onMount(async () => {
|
||||||
try {
|
try {
|
||||||
const response = await fetch("https://imtoolazytomakeaproperapi.exhq.dev/");
|
const response = await fetch("https://imtoolazytomakeaproperapi.exhq.dev/");
|
||||||
const data = await response.json();
|
const data = await response.json();
|
||||||
setMusicList(data);
|
setMusicList(data);
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error("Error fetching music data:", error);
|
console.error("Error fetching music data:", error);
|
||||||
} finally {
|
} finally {
|
||||||
setIsLoading(false);
|
setIsLoading(false);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
let gitgay = <img onClick={() => {
|
let gitgay = <img onClick={() => {
|
||||||
setIsAnimating(true)
|
setIsAnimating(true)
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
window.location.href = "https://git.lgbt/exhq"
|
window.location.href = "https://git.lgbt/exhq"
|
||||||
}, 200);
|
}, 200);
|
||||||
gitgay.src = "/gaybackground.png"
|
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
|
}} classList={{'gitgayimg': true, 'animate': isAnimating(), 'gaybackground': isAnimating()}}
|
||||||
return (
|
src="https://proxy.mono.exhq.dev/_/plain/https://git.lgbt/assets/img/logo.png"
|
||||||
<>
|
alt="logo of git.lgbt"/> as HTMLImageElement
|
||||||
{isitmybd() ? <Bdpfp setpopupEasterEgg={setpopupEasterEgg}/> : <Normalpfp setpopupEasterEgg={setpopupEasterEgg}/>}
|
// @ts-ignore
|
||||||
|
return (
|
||||||
|
<>
|
||||||
|
{isitmybd() ? <Bdpfp setpopupEasterEgg={setpopupEasterEgg}/> :
|
||||||
|
<Normalpfp setpopupEasterEgg={setpopupEasterEgg}/>}
|
||||||
|
|
||||||
<p style={{ display: "none" }}>AdvancedBr my beloved</p>
|
<p style={{display: "none"}}>AdvancedBr my beloved</p>
|
||||||
<AdvancedBr count={6} />
|
<AdvancedBr count={6}/>
|
||||||
|
|
||||||
|
|
||||||
<div class='parent'>
|
<div class='parent'>
|
||||||
<div class='cardchild'>
|
<div class='cardchild'>
|
||||||
<h1>link tree</h1>
|
<h1>link tree</h1>
|
||||||
<div class='linktree'>
|
<div class='linktree'>
|
||||||
{gitgay}
|
{gitgay}
|
||||||
<img onClick={() => {
|
<img onClick={() => {
|
||||||
setanimatedwoem(true)
|
setanimatedwoem(true)
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
window.location.href = "https://woem.men/@echo"
|
window.location.href = "https://woem.men/@echo"
|
||||||
}, 200);
|
}, 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" />
|
}} classList={{'woemimg': true, 'animate': animatedwoem()}}
|
||||||
</div>
|
src="https://proxy.mono.exhq.dev/_/plain/https://woem.men/files/356134d8-df3b-41dc-ac73-c4420442bf3a"
|
||||||
<br />
|
alt="logo of woem.men"/>
|
||||||
<div class='linktree'>
|
</div>
|
||||||
<span class='gitgaytext' >Git</span>
|
<br/>
|
||||||
<span class='woemtext' >Fedi</span>
|
<div class='linktree'>
|
||||||
</div>
|
<span class='gitgaytext'>Git</span>
|
||||||
</div>
|
<span class='woemtext'>Fedi</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div style={{
|
<div style={{
|
||||||
opacity: isAnimating() || animatedwoem() ? "0%" : "100%"
|
opacity: isAnimating() || animatedwoem() ? "0%" : "100%"
|
||||||
}} class='cardchild'>
|
}} class='cardchild'>
|
||||||
<InfoCard bd={isitmybd()} />
|
<InfoCard bd={isitmybd()}/>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
onMouseEnter={() => { setishover(true) }}
|
onMouseEnter={() => {
|
||||||
onmouseleave={() => { setishover(false) }}
|
setishover(true)
|
||||||
style={{
|
}}
|
||||||
opacity: isAnimating() || animatedwoem() ? "0%" : "100%"
|
onmouseleave={() => {
|
||||||
}} class='cardchild'>
|
setishover(false)
|
||||||
<Reviews />
|
}}
|
||||||
</div>
|
style={{
|
||||||
</div>
|
opacity: isAnimating() || animatedwoem() ? "0%" : "100%"
|
||||||
<AdvancedBr count={2} />
|
}} class='cardchild'>
|
||||||
<div class='easteregg' style={{opacity: isAnimating() || animatedwoem() ? "0%" : "100%"}}>
|
<Reviews/>
|
||||||
<div class="musicbutton" onclick={() => { setpopup(!shouldpopup()) }}>
|
</div>
|
||||||
<p>typa shit ive been on</p><img style={{
|
|
||||||
"margin-left": "0.3em",
|
|
||||||
"max-width": "1.5em"
|
|
||||||
}} src="./fireemoji.png" />
|
|
||||||
</div>
|
|
||||||
<div class="musicbutton" onclick={() => {
|
|
||||||
setoomfies(
|
|
||||||
<>
|
|
||||||
<SingularOomfie name='ashley' discordid='836177139798638592' url='https://ashleygraves.eu/'></SingularOomfie>
|
|
||||||
<SingularOomfie name='ashley' discordid='396571938081865741' url='https://ashley0143.xyz/'></SingularOomfie>
|
|
||||||
<SingularOomfie name='stella' discordid='334833943838720000' url='https://elh.gay/'></SingularOomfie>
|
|
||||||
<SingularOomfie name='nea' discordid='310702108997320705' url='https://nea.moe'></SingularOomfie>
|
|
||||||
<SingularOomfie name='vozy' discordid='359175647257690113' url='https://vozy.exhq.dev'></SingularOomfie>
|
|
||||||
<SingularOomfie name='ushie' discordid='399862294143696897' url='https://ushie.dev/'></SingularOomfie>
|
|
||||||
<SingularOomfie name='hazel' discordid='435026627907420161' url='https://yellows.ink/'></SingularOomfie>
|
|
||||||
<SingularOomfie name='mugman' discordid='601836455006044163' url='https://mugman.tech'></SingularOomfie>
|
|
||||||
<SingularOomfie name='llsc' discordid='381538809180848128' url='https://llsc12.me/'></SingularOomfie>
|
|
||||||
</>
|
|
||||||
)
|
|
||||||
}}> {oomfies()}</div>
|
|
||||||
<div class="musicbutton" onclick={vivsiepop}>
|
|
||||||
<p>echo if it was written by vivsiepop</p>
|
|
||||||
</div>
|
|
||||||
<div class="musicbutton" onclick={() => {
|
|
||||||
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()
|
|
||||||
}
|
|
||||||
}}>
|
|
||||||
<img style={{
|
|
||||||
"margin-left": "0.3em",
|
|
||||||
"max-width": "1.5em"
|
|
||||||
}} src="./nyaboom.webp" />
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<AdvancedBr count={3} />
|
|
||||||
<Music shouldpopup={shouldpopup}>
|
|
||||||
<div class='musicdiv'>
|
|
||||||
<div class='innermusic'>
|
|
||||||
<div class="music-close-button-div">
|
|
||||||
<button class="close-button" onClick={() => { setpopup(false) }}>X</button>
|
|
||||||
</div>
|
</div>
|
||||||
<div class='musiclist'>
|
<AdvancedBr count={2}/>
|
||||||
{isLoading() ? (
|
<div class='easteregg' style={{opacity: isAnimating() || animatedwoem() ? "0%" : "100%"}}>
|
||||||
<p>Loading...</p>
|
<div class="musicbutton" onclick={() => {
|
||||||
) : (
|
setpopup(!shouldpopup())
|
||||||
musicList().map((link) => <MusicEntry spotifylink={link} />)
|
}}>
|
||||||
)}
|
<p>typa shit ive been on</p><img style={{
|
||||||
|
"margin-left": "0.3em",
|
||||||
|
"max-width": "1.5em"
|
||||||
|
}} src="./fireemoji.png"/>
|
||||||
|
</div>
|
||||||
|
<div class="musicbutton" >
|
||||||
|
<div class="oomfies" onClick={() => {
|
||||||
|
setoomfies(
|
||||||
|
<>
|
||||||
|
<SingularOomfie name='ashley' discordid='836177139798638592'
|
||||||
|
url='https://ashleygraves.eu/'></SingularOomfie>
|
||||||
|
<SingularOomfie name='nea' discordid='310702108997320705'
|
||||||
|
url='https://nea.moe'></SingularOomfie>
|
||||||
|
<SingularOomfie name='vozy' discordid='359175647257690113'
|
||||||
|
url='https://vozy.exhq.dev'></SingularOomfie>
|
||||||
|
<SingularOomfie name='hazel' discordid='435026627907420161'
|
||||||
|
url='https://yellows.ink/'></SingularOomfie>
|
||||||
|
<SingularOomfie name='nax' discordid='148801388938264576'
|
||||||
|
url='https://nax.dev/'></SingularOomfie>
|
||||||
|
<SingularOomfie name='ushie' discordid='399862294143696897'
|
||||||
|
url='https://ushie.dev/'></SingularOomfie>
|
||||||
|
<SingularOomfie name='mugman' discordid='601836455006044163'
|
||||||
|
url='https://mugman.tech'></SingularOomfie>
|
||||||
|
<SingularOomfie name='krystal' discordid='929208515883569182'
|
||||||
|
url='https://krystal.exhq.dev/'></SingularOomfie>
|
||||||
|
|
||||||
|
</>
|
||||||
|
)
|
||||||
|
}}> {oomfies()}</div>
|
||||||
|
</div>
|
||||||
|
<div class="musicbutton" onclick={vivsiepop}>
|
||||||
|
<p>echo if it was written by vivsiepop</p>
|
||||||
|
</div>
|
||||||
|
<div class="musicbutton" onclick={() => {
|
||||||
|
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()
|
||||||
|
}
|
||||||
|
}}>
|
||||||
|
<img style={{
|
||||||
|
"margin-left": "0.3em",
|
||||||
|
"max-width": "1.5em"
|
||||||
|
}} src="./nyaboom.webp"/>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
<AdvancedBr count={3}/>
|
||||||
</div>
|
<Music shouldpopup={shouldpopup}>
|
||||||
</Music>
|
<div class='musicdiv'>
|
||||||
<Music shouldpopup={shouldpopupEasterEgg}>
|
<div class='innermusic'>
|
||||||
<div class='musicdiv'>
|
<div class="music-close-button-div">
|
||||||
<div class='innermusic'>
|
<button class="close-button" onClick={() => {
|
||||||
<div class="music-close-button-div">
|
setpopup(false)
|
||||||
<button class="close-button" onClick={() => { setpopupEasterEgg(false) }}>X</button>
|
}}>X
|
||||||
</div>
|
</button>
|
||||||
<img src={"https://pico.exhq.dev/-Aax47Gmdsy"}/>
|
</div>
|
||||||
</div>
|
<div class='musiclist'>
|
||||||
</div>
|
{isLoading() ? (
|
||||||
</Music>
|
<p>Loading...</p>
|
||||||
<div class='footer'> made with ♥ by amy. <a href="https://git.lgbt/exhq/v2.exhq.dev">this website is opensource</a></div>
|
) : (
|
||||||
</>
|
musicList().map((link) => <MusicEntry spotifylink={link}/>)
|
||||||
)
|
)}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</Music>
|
||||||
|
<Music shouldpopup={shouldpopupEasterEgg}>
|
||||||
|
<div class='musicdiv'>
|
||||||
|
<div class='innermusic'>
|
||||||
|
<div class="music-close-button-div">
|
||||||
|
<button class="close-button" onClick={() => {
|
||||||
|
setpopupEasterEgg(false)
|
||||||
|
}}>X
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
<img src={"https://pico.exhq.dev/-Aax47Gmdsy"}/>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</Music>
|
||||||
|
<div class='footer'> made with ♥ by amy. <a href="https://git.lgbt/exhq/v2.exhq.dev">this website is
|
||||||
|
opensource</a></div>
|
||||||
|
</>
|
||||||
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
export default App
|
export default App
|
||||||
|
|
Loading…
Reference in a new issue