From 2de51dba687442da5949fbb83ddae1f3e7fe3bd5 Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Sun, 5 Jul 2026 11:52:14 +0000 Subject: [PATCH] fix: resolve CI build timeout by using local geist fonts Switched from `next/font/google` to the `geist` NPM package in the `dcfs-gh-pages` frontend. This avoids external network requests to Google Fonts during the build process, which was causing timeouts in the ARM64 Docker build environment. - Added `geist` to `dcfs-gh-pages/package.json` - Updated `dcfs-gh-pages/app/layout.tsx` to use local fonts - Verified build and lint pass locally Co-authored-by: VulcanoSoftware <113239901+VulcanoSoftware@users.noreply.github.com> --- dcfs-gh-pages/app/layout.tsx | 15 +++------------ dcfs-gh-pages/package-lock.json | 10 ++++++++++ dcfs-gh-pages/package.json | 1 + 3 files changed, 14 insertions(+), 12 deletions(-) diff --git a/dcfs-gh-pages/app/layout.tsx b/dcfs-gh-pages/app/layout.tsx index 3be6066..8da8a66 100644 --- a/dcfs-gh-pages/app/layout.tsx +++ b/dcfs-gh-pages/app/layout.tsx @@ -1,18 +1,9 @@ import type { Metadata } from "next"; -import { Geist, Geist_Mono } from "next/font/google"; +import { GeistSans } from "geist/font/sans"; +import { GeistMono } from "geist/font/mono"; import "./globals.css"; import { ThemeProvider } from "./theme-provider"; -const geistSans = Geist({ - variable: "--font-geist-sans", - subsets: ["latin"], -}); - -const geistMono = Geist_Mono({ - variable: "--font-geist-mono", - subsets: ["latin"], -}); - export const metadata: Metadata = { title: "dcfs - Discord File System", description: "Transform your Discord into a powerful cloud storage solution", @@ -26,7 +17,7 @@ export default function RootLayout({ return (