File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import { cn } from "@utils/helpers";
6
6
import dayjs from "dayjs" ;
7
7
import relativeTime from "dayjs/plugin/relativeTime" ;
8
8
import { Viewport } from "next/dist/lib/metadata/types/extra-types" ;
9
- import { Inter } from "next/font/google " ;
9
+ import localFont from "next/font/local " ;
10
10
import React from "react" ;
11
11
import { Toaster } from "react-hot-toast" ;
12
12
import OIDCProvider from "@/auth/OIDCProvider" ;
@@ -16,7 +16,10 @@ import ErrorBoundaryProvider from "@/contexts/ErrorBoundary";
16
16
import { GlobalThemeProvider } from "@/contexts/GlobalThemeProvider" ;
17
17
import { NavigationEvents } from "@/contexts/NavigationEvents" ;
18
18
19
- const inter = Inter ( { subsets : [ "latin" ] } ) ;
19
+ const inter = localFont ( {
20
+ src : "../assets/fonts/Inter.ttf" ,
21
+ display : "swap" ,
22
+ } ) ;
20
23
21
24
// Extend dayjs with relativeTime plugin
22
25
dayjs . extend ( relativeTime ) ;
You can’t perform that action at this time.
0 commit comments