Use the Minecraft font for the server response
This commit is contained in:
parent
9a78a6988b
commit
ab05ad8a3e
@ -6,6 +6,7 @@ import {
|
||||
CachedJavaMinecraftServer,
|
||||
} from "restfulmc-lib";
|
||||
import config from "@/config";
|
||||
import { minecraft } from "@/font/fonts";
|
||||
|
||||
/**
|
||||
* The props for a server result.
|
||||
@ -30,7 +31,7 @@ const ServerResult = ({ server }: ServerResultProps): ReactElement => {
|
||||
<div
|
||||
className={cn(
|
||||
"w-[29rem] relative p-2 flex gap-2 rounded-lg pointer-events-none",
|
||||
'bg-[url("/media/server-background.png")]'
|
||||
`bg-[url("/media/server-background.png")] ${minecraft.className}`
|
||||
)}
|
||||
>
|
||||
{/* Favicon */}
|
||||
|
BIN
Frontend/src/app/font/Minecraft.otf
Normal file
BIN
Frontend/src/app/font/Minecraft.otf
Normal file
Binary file not shown.
@ -13,3 +13,7 @@ export const notoSans: NextFont = Noto_Sans({ subsets: ["latin"] });
|
||||
export const minecrafter: NextFont = localFont({
|
||||
src: "../font/Minecrafter.ttf",
|
||||
});
|
||||
|
||||
export const minecraft: NextFont = localFont({
|
||||
src: "../font/Minecraft.otf",
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user