Use bundled Arimo instead of Google Fonts so Docker builds work without fetching Inter.

This commit is contained in:
Atakan Doğan Özban
2026-08-17 13:04:46 +02:00
parent 2f25435921
commit 4c47a052a8
+17 -3
View File
@@ -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 (
<html lang="en" suppressHydrationWarning>
<body className={inter.className} suppressHydrationWarning>
<body className={sans.className} suppressHydrationWarning>
<Providers>{children}</Providers>
</body>
</html>