mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-07-17 15:25:30 -04:00
geist fonts are now on google
This commit is contained in:
@@ -1,9 +1,7 @@
|
||||
import localFont from "next/font/local";
|
||||
import { Geist_Mono as GeistMonoLoader } from "next/font/google";
|
||||
|
||||
const GeistMono = localFont({
|
||||
src: "../../../../node_modules/geist/dist/fonts/geist-mono/GeistMono-Variable.woff2",
|
||||
weight: "100 900",
|
||||
style: "normal",
|
||||
const GeistMono = GeistMonoLoader({
|
||||
subsets: ["latin"],
|
||||
display: "swap",
|
||||
fallback: [
|
||||
// https://github.com/system-fonts/modern-font-stacks#monospace-code
|
||||
|
@@ -1,9 +1,7 @@
|
||||
import localFont from "next/font/local";
|
||||
import { Geist as GeistSansLoader } from "next/font/google";
|
||||
|
||||
const GeistSans = localFont({
|
||||
src: "../../../../node_modules/geist/dist/fonts/geist-sans/Geist-Variable.woff2",
|
||||
weight: "100 900",
|
||||
style: "normal",
|
||||
const GeistSans = GeistSansLoader({
|
||||
subsets: ["latin"],
|
||||
display: "swap",
|
||||
fallback: [
|
||||
// https://github.com/system-fonts/modern-font-stacks#system-ui
|
||||
|
Reference in New Issue
Block a user