summaryrefslogtreecommitdiff
path: root/packages/bulwark/0001-use-local-google-fonts.patch
blob: bd21da1510e74f68f75f5c77c4a17f55e95e62f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
diff --git a/app/(main)/layout.tsx b/app/(main)/layout.tsx
index ac5c3b4..183780c 100644
--- a/app/(main)/layout.tsx
+++ b/app/(main)/layout.tsx
@@ -1,5 +1,4 @@
 import type { Metadata, Viewport } from "next";
-import { Geist, Geist_Mono } from "next/font/google";
 import { headers } from "next/headers";
 import { getLocale } from "next-intl/server";
 import { PWAInstallPrompt } from "@/components/pwa-install-prompt";
@@ -8,15 +7,8 @@ import { configManager } from "@/lib/admin/config-manager";
 import { withBasePath } from "@/lib/browser-navigation";
 import "../globals.css";
 
-const geistSans = Geist({
-  variable: "--font-geist-sans",
-  subsets: ["latin"],
-});
-
-const geistMono = Geist_Mono({
-  variable: "--font-geist-mono",
-  subsets: ["latin"],
-});
+const geistSans = localFont({src: './Geist-Regular.otf', variable: "--font-geist-sans"})
+const geistMono = localFont({src: './GeistMono-Regular.otf', variable: "--font-geist-mono"})
 
 export const viewport: Viewport = {
   width: "device-width",