-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6520e6f
commit b58a138
Showing
7 changed files
with
210 additions
and
210 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
import { | ||
Inter as InterLoader, | ||
Roboto_Mono as RobotoMonoLoader, | ||
Comic_Neue as ComicNeueLoader, | ||
} from "@next/font/google"; | ||
|
||
// note: subsets are set to 'latin' globally in next.config.js | ||
// https://beta.nextjs.org/docs/optimizing/fonts#specifying-a-subset | ||
|
||
export const Inter = InterLoader({ | ||
weight: "variable", | ||
display: "fallback", | ||
preload: true, | ||
}); | ||
|
||
export const RobotoMono = RobotoMonoLoader({ | ||
weight: "variable", | ||
display: "fallback", | ||
preload: true, | ||
}); | ||
|
||
// only for use in pages/previously.tsx (and tree-shaken out everywhere else in production) | ||
export const ComicNeue = ComicNeueLoader({ | ||
weight: ["400", "700"], | ||
style: ["normal", "italic"], | ||
display: "swap", | ||
fallback: ["'Comic Sans MS'", "'Comic Sans'"], | ||
adjustFontFallback: false, | ||
preload: false, | ||
}); |
Oops, something went wrong.
b58a138
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
jarvis – ./
jarvis-git-main-jakejarvis.vercel.app
jarvis-jakejarvis.vercel.app
jarv.is
www.jarv.is