switch to local assets for the logo
All checks were successful
Deploy App / docker (ubuntu-latest) (push) Successful in 1m6s
All checks were successful
Deploy App / docker (ubuntu-latest) (push) Successful in 1m6s
This commit is contained in:
parent
a3e9411c97
commit
31b831f97b
BIN
public/media/logo.png
Normal file
BIN
public/media/logo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 7.7 KiB |
@ -1,5 +1,6 @@
|
||||
import Image from "next/image";
|
||||
import { ReactElement } from "react";
|
||||
import config from "@root/config.json";
|
||||
|
||||
type LogoProps = {
|
||||
/**
|
||||
@ -11,7 +12,7 @@ type LogoProps = {
|
||||
export default function Logo({ size = 30 }: LogoProps): ReactElement {
|
||||
return (
|
||||
<Image
|
||||
src="https://git.fascinated.cc/MinecraftUtilities/Assets/raw/branch/master/logo.png"
|
||||
src={`/media/logo.png`}
|
||||
alt={"The Logo"}
|
||||
width={size}
|
||||
height={size}
|
||||
|
@ -30,7 +30,7 @@ export const metadata: Metadata = {
|
||||
type: "website",
|
||||
images: [
|
||||
{
|
||||
url: "https://git.fascinated.cc/MinecraftUtilities/Assets/raw/branch/master/logo.png",
|
||||
url: `${config.siteUrl}/media/logo.png`,
|
||||
},
|
||||
],
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user