mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-11 00:53:31 +01:00
feat(website): render syntax and mdx on the server (#9086)
This commit is contained in:
7
apps/website/src/util/fonts.ts
Normal file
7
apps/website/src/util/fonts.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
import localFont from 'next/font/local';
|
||||
|
||||
export const inter = localFont({
|
||||
src: '../assets/fonts/Inter.ttf',
|
||||
variable: '--font-inter',
|
||||
display: 'swap',
|
||||
});
|
||||
Reference in New Issue
Block a user