From 4c47a052a899004b2e8cbc9afbdfb874a122caa5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Atakan=20Do=C4=9Fan=20=C3=96zban?= Date: Mon, 17 Aug 2026 13:04:46 +0200 Subject: [PATCH] Use bundled Arimo instead of Google Fonts so Docker builds work without fetching Inter. --- app/layout.tsx | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/app/layout.tsx b/app/layout.tsx index 284de26..2b2a722 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -1,9 +1,23 @@ import type { Metadata } from "next"; -import { Inter } from "next/font/google"; +import localFont from "next/font/local"; import "./globals.css"; import { Providers } from "./providers"; -const inter = Inter({ subsets: ["latin"] }); +const sans = localFont({ + src: [ + { + path: "../assets/fonts/Arimo-Regular.ttf", + weight: "400", + style: "normal", + }, + { + path: "../assets/fonts/Arimo-Bold.ttf", + weight: "700", + style: "normal", + }, + ], + display: "swap", +}); const SITE_NAME = "Songs2VID"; const DEFAULT_TITLE = "Songs2VID"; @@ -26,7 +40,7 @@ export default function RootLayout({ }>) { return ( - + {children}