diff --git a/app/layout.tsx b/app/layout.tsx index 7baf96a..e98bd4a 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -2,10 +2,9 @@ import type { Metadata } from 'next'; import './globals.css'; import Providers from '@/components/providers'; -// Fonts are loaded via Google Fonts CDN link in globals.css -// to avoid build-time network dependency in Docker builds -const firaSans = { variable: '--font-fira-sans', className: 'font-sans' }; -const firaCode = { variable: '--font-fira-code', className: 'font-mono' }; +// next/font/google downloads at build time — fails in Docker (no outbound internet). +// Fonts are loaded via CSS @import in globals.css (runtime CDN load). +// CSS vars are set directly in globals.css :root — no JS injection needed. export const metadata: Metadata = { title: 'FiberOps Admin', @@ -15,7 +14,7 @@ export const metadata: Metadata = { export default function RootLayout({ children }: { children: React.ReactNode }) { return ( -
+