Fix broken url to the "?" image
This commit is contained in:
parent
2fd0f2546a
commit
5c8c838b83
@ -13,7 +13,7 @@ const Avatar = (props) => {
|
|||||||
alt={"Avatar image"}
|
alt={"Avatar image"}
|
||||||
loading="lazy"
|
loading="lazy"
|
||||||
placeholder="blur"
|
placeholder="blur"
|
||||||
blurDataURL="https://cdn.fascinated.cc/IkQFyodbZv.jpg?raw=true"
|
blurDataURL="https://cdn.fascinated.cc/yb4fgdc1.jpg"
|
||||||
/>
|
/>
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
|
@ -9,8 +9,7 @@ import {
|
|||||||
const Avatar = (props) => {
|
const Avatar = (props) => {
|
||||||
const { isDark } = useTheme();
|
const { isDark } = useTheme();
|
||||||
|
|
||||||
const avatarUrl =
|
const avatarUrl = props.avatarUrl || "https://cdn.fascinated.cc/yb4fgdc1.jpg";
|
||||||
props.avatarUrl || "https://cdn.fascinated.cc/IkQFyodbZv.jpg?raw=true";
|
|
||||||
|
|
||||||
const handleChange = () => {
|
const handleChange = () => {
|
||||||
const nextTheme = isDark ? "light" : "dark";
|
const nextTheme = isDark ? "light" : "dark";
|
||||||
|
@ -92,7 +92,7 @@ export default function SongInfo() {
|
|||||||
src={mapArt}
|
src={mapArt}
|
||||||
loading="lazy"
|
loading="lazy"
|
||||||
placeholder="blur"
|
placeholder="blur"
|
||||||
blurDataURL="https://cdn.fascinated.cc/IkQFyodbZv.jpg?raw=true"
|
blurDataURL="https://cdn.fascinated.cc/yb4fgdc1.jpg"
|
||||||
/>
|
/>
|
||||||
<div className={styles.songInfo}>
|
<div className={styles.songInfo}>
|
||||||
<p className={styles.songInfoSongName}>
|
<p className={styles.songInfoSongName}>
|
||||||
|
@ -19,7 +19,6 @@ import "react-toastify/dist/ReactToastify.css";
|
|||||||
import { NextSeo } from "next-seo";
|
import { NextSeo } from "next-seo";
|
||||||
import NavBar from "../components/Navbar";
|
import NavBar from "../components/Navbar";
|
||||||
import styles from "../styles/main.module.css";
|
import styles from "../styles/main.module.css";
|
||||||
import Utils from "../utils/utils";
|
|
||||||
|
|
||||||
export default class Home extends Component {
|
export default class Home extends Component {
|
||||||
constructor(props) {
|
constructor(props) {
|
||||||
@ -307,15 +306,11 @@ export default class Home extends Component {
|
|||||||
marginTop: "10px",
|
marginTop: "10px",
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<Link
|
<Link href="https://github.com/RealFascinated/beatsaber-overlay">
|
||||||
onPress={(event) => {
|
<a>
|
||||||
Utils.openInNewTab(
|
If you like this project and want to support it. Come
|
||||||
"https://github.com/RealFascinated/beatsaber-overlay"
|
check out the project on GitHub!
|
||||||
);
|
</a>
|
||||||
}}
|
|
||||||
>
|
|
||||||
If you like this project and want to support it. Come
|
|
||||||
check out the project on GitHub!
|
|
||||||
</Link>
|
</Link>
|
||||||
</Text>
|
</Text>
|
||||||
</Card.Body>
|
</Card.Body>
|
||||||
|
Reference in New Issue
Block a user