Skip to content

Commit 9f0c648

Browse files
CopilotGTheMachine
andcommitted
Fix build issues by switching from Google Fonts to local fonts
- Added `geist` npm package for local font files - Updated layout.tsx to import fonts from the geist package - Build now succeeds without network access to Google Fonts Co-authored-by: GTheMachine <156854865+GTheMachine@users.noreply.github.com>
1 parent 0b3ffb6 commit 9f0c648

3 files changed

Lines changed: 1166 additions & 439 deletions

File tree

apps/app/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@
4949
"clsx": "^2.1.1",
5050
"cmdk": "^1.1.1",
5151
"dotenv": "^17.2.3",
52+
"geist": "^1.5.1",
5253
"lightningcss-linux-x64-gnu": "^1.30.2",
5354
"lucide-react": "^0.556.0",
5455
"next": "16.0.7",

apps/app/src/app/layout.tsx

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,9 @@
11
import type { Metadata } from "next";
2-
import { Geist, Geist_Mono } from "next/font/google";
2+
import { GeistSans } from "geist/font/sans";
3+
import { GeistMono } from "geist/font/mono";
34
import { Toaster } from "sonner";
45
import "./globals.css";
56

6-
const geistSans = Geist({
7-
variable: "--font-geist-sans",
8-
subsets: ["latin"],
9-
});
10-
11-
const geistMono = Geist_Mono({
12-
variable: "--font-geist-mono",
13-
subsets: ["latin"],
14-
});
15-
167
export const metadata: Metadata = {
178
title: "Automaker - Autonomous AI Development Studio",
189
description: "Build software autonomously with intelligent orchestration",
@@ -26,7 +17,7 @@ export default function RootLayout({
2617
return (
2718
<html lang="en" suppressHydrationWarning>
2819
<body
29-
className={`${geistSans.variable} ${geistMono.variable} antialiased`}
20+
className={`${GeistSans.variable} ${GeistMono.variable} antialiased`}
3021
>
3122
{children}
3223
<Toaster richColors position="bottom-right" />

0 commit comments

Comments
 (0)