Use the Minecraft font for the server response

This commit is contained in:
Braydon 2024-04-19 18:25:53 -04:00
parent 9a78a6988b
commit ab05ad8a3e
3 changed files with 6 additions and 1 deletions

@ -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 */}

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",
});