From 5c8c838b83135becdae4fb279a545d2df9526707 Mon Sep 17 00:00:00 2001 From: Liam Date: Tue, 13 Dec 2022 12:06:16 +0000 Subject: [PATCH] Fix broken url to the "?" image --- src/components/Avatar.js | 2 +- src/components/Settings.js | 3 +-- src/components/SongInfo.js | 2 +- src/pages/index.js | 15 +++++---------- 4 files changed, 8 insertions(+), 14 deletions(-) diff --git a/src/components/Avatar.js b/src/components/Avatar.js index 8b1f0ca..31c59f8 100644 --- a/src/components/Avatar.js +++ b/src/components/Avatar.js @@ -13,7 +13,7 @@ const Avatar = (props) => { alt={"Avatar image"} loading="lazy" placeholder="blur" - blurDataURL="https://cdn.fascinated.cc/IkQFyodbZv.jpg?raw=true" + blurDataURL="https://cdn.fascinated.cc/yb4fgdc1.jpg" /> ); diff --git a/src/components/Settings.js b/src/components/Settings.js index 50ff349..c54199b 100644 --- a/src/components/Settings.js +++ b/src/components/Settings.js @@ -9,8 +9,7 @@ import { const Avatar = (props) => { const { isDark } = useTheme(); - const avatarUrl = - props.avatarUrl || "https://cdn.fascinated.cc/IkQFyodbZv.jpg?raw=true"; + const avatarUrl = props.avatarUrl || "https://cdn.fascinated.cc/yb4fgdc1.jpg"; const handleChange = () => { const nextTheme = isDark ? "light" : "dark"; diff --git a/src/components/SongInfo.js b/src/components/SongInfo.js index 01227b9..a342244 100644 --- a/src/components/SongInfo.js +++ b/src/components/SongInfo.js @@ -92,7 +92,7 @@ export default function SongInfo() { src={mapArt} loading="lazy" placeholder="blur" - blurDataURL="https://cdn.fascinated.cc/IkQFyodbZv.jpg?raw=true" + blurDataURL="https://cdn.fascinated.cc/yb4fgdc1.jpg" />

diff --git a/src/pages/index.js b/src/pages/index.js index 6889497..95a3bdb 100644 --- a/src/pages/index.js +++ b/src/pages/index.js @@ -19,7 +19,6 @@ import "react-toastify/dist/ReactToastify.css"; import { NextSeo } from "next-seo"; import NavBar from "../components/Navbar"; import styles from "../styles/main.module.css"; -import Utils from "../utils/utils"; export default class Home extends Component { constructor(props) { @@ -307,15 +306,11 @@ export default class Home extends Component { marginTop: "10px", }} > - { - Utils.openInNewTab( - "https://github.com/RealFascinated/beatsaber-overlay" - ); - }} - > - If you like this project and want to support it. Come - check out the project on GitHub! + + + If you like this project and want to support it. Come + check out the project on GitHub! +