From ce9c0ea270b73840460d5163dfa925825e0ce8a1 Mon Sep 17 00:00:00 2001 From: amy Date: Mon, 4 Nov 2024 07:23:24 +0330 Subject: [PATCH] all your fetch calls are mine --- hacked/index.html | 4 ++-- index.html | 4 ++-- review/index.html | 4 ++-- src/App.tsx | 4 ++-- src/components/api.tsx | 2 +- src/components/comps.tsx | 2 +- src/components/cumbrainz.tsx | 2 +- src/components/music.tsx | 2 +- src/components/pfp.tsx | 4 ++-- 9 files changed, 14 insertions(+), 14 deletions(-) diff --git a/hacked/index.html b/hacked/index.html index 3421588..5cd0978 100644 --- a/hacked/index.html +++ b/hacked/index.html @@ -2,12 +2,12 @@ - + ehco - + diff --git a/index.html b/index.html index 0b26018..abcd966 100644 --- a/index.html +++ b/index.html @@ -2,12 +2,12 @@ - + ehco - + diff --git a/review/index.html b/review/index.html index 119f67d..e39f24f 100644 --- a/review/index.html +++ b/review/index.html @@ -3,12 +3,12 @@ - + ehco - + diff --git a/src/App.tsx b/src/App.tsx index a100024..8b0d46b 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -76,7 +76,7 @@ function App() { window.location.href = "https://git.lgbt/exhq" }, 200); gitgay.src = "/gaybackground.png" - }} classList={{ 'gitgayimg': true, 'animate': isAnimating(), 'gaybackground': isAnimating() }} src="https://git.lgbt/assets/img/logo.png" alt="LMAO IMAGINE BEING BLIND" /> as HTMLImageElement + }} 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() ? : } @@ -95,7 +95,7 @@ function App() { setTimeout(() => { window.location.href = "https://woem.men/@echo" }, 200); - }} classList={{ 'woemimg': true, 'animate': animatedwoem() }} src="https://woem.men/files/356134d8-df3b-41dc-ac73-c4420442bf3a" alt="LMAO IMAGINE BEING BLIND" /> + }} 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" />
diff --git a/src/components/api.tsx b/src/components/api.tsx index b5aba95..4d36220 100644 --- a/src/components/api.tsx +++ b/src/components/api.tsx @@ -68,7 +68,7 @@ export default function Reviews() { export const theImager = async (id: string): Promise => (await fetch(`https://dc-lookup.mono.exhq.dev/v1/user/${id}`) - .then(res => res.json()).then(data => data.avatar.link).catch(() => "https://http.cat/status/100")); + .then(res => res.json()).then(data => "https://proxy.mono.exhq.dev/_/plain/"+data.avatar.link).catch(() => "https://http.cat/status/100")); function SingleReview(props: NeoReview) { const [imageSrc, setImageSrc] = createSignal(""); diff --git a/src/components/comps.tsx b/src/components/comps.tsx index a00cb77..8278578 100644 --- a/src/components/comps.tsx +++ b/src/components/comps.tsx @@ -25,7 +25,7 @@ export function SingularOomfie(props: { name: string, url: string, discordid: st "border-radius": "30%", }} src={imageSrc()} - alt="LMAO IMAGINE BEING BLIND" + alt={"profile picture for" + props.name} /> ); diff --git a/src/components/cumbrainz.tsx b/src/components/cumbrainz.tsx index 1a0fd94..16e8842 100644 --- a/src/components/cumbrainz.tsx +++ b/src/components/cumbrainz.tsx @@ -36,7 +36,7 @@ export function Cumbrainz() { const [isLoading, setIsLoading] = createSignal(true); onMount(async () => { try { - const the = await fetch("https://api.listenbrainz.org/1/user/exhq/playing-now") + const the = await fetch("https://music.exhq.dev/") const thejson = await the.json() setMusicInfo(thejson) } catch (error) { diff --git a/src/components/music.tsx b/src/components/music.tsx index c283e7e..c28fb44 100644 --- a/src/components/music.tsx +++ b/src/components/music.tsx @@ -32,7 +32,7 @@ export function MusicEntry({ spotifylink }: { spotifylink: string }) { }} class="singlemusic"> LMAO IMAGINE BEING BLIND + }} src={"https://proxy.mono.exhq.dev/_/plain/" + musicInfo().entitiesByUniqueId[`SPOTIFY_SONG::${spotifylink}`]?.thumbnailUrl} alt={"album cover of" + musicInfo().entitiesByUniqueId[`SPOTIFY_SONG::${spotifylink}`]?.title} />
{ musicInfo().entitiesByUniqueId[`SPOTIFY_SONG::${spotifylink}`]?.artistName?.length > 43 ? musicInfo().entitiesByUniqueId[`SPOTIFY_SONG::${spotifylink}`]?.artistName.substring(0, 30) + "..." : musicInfo().entitiesByUniqueId[`SPOTIFY_SONG::${spotifylink}`]?.artistName diff --git a/src/components/pfp.tsx b/src/components/pfp.tsx index a1b084d..e7be414 100644 --- a/src/components/pfp.tsx +++ b/src/components/pfp.tsx @@ -17,7 +17,7 @@ function remov() { export function Bdpfp() { return
- LMAO IMAGINE BEING BLIND + amy's current discord pfp, with a birthday hat on it
@@ -27,7 +27,7 @@ export function Bdpfp() { export function Normalpfp() { return
- LMAO IMAGINE BEING BLIND { + amy's current discord pfp { (e.target as HTMLImageElement).animate([ { transform: "rotateZ(0deg)" }, { transform: "rotateZ(360deg)" },