fix(build): carga de fuente sin dependencia externa en docker build

This commit is contained in:
Marcos Fargas
2026-10-04 19:34:02 +02:00
parent 2f6e50d5a7
commit e84310ec52
2 changed files with 11 additions and 10 deletions

View File

@@ -19,7 +19,7 @@ html {
body {
background-color: var(--background);
color: var(--foreground);
font-family: var(--font-sans), ui-sans-serif, system-ui, sans-serif;
font-family: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
min-height: 100vh;
}

View File

@@ -1,13 +1,6 @@
import type { Metadata } from 'next';
import { Source_Sans_3 } from 'next/font/google';
import './globals.css';
const sans = Source_Sans_3({
subsets: ['latin'],
variable: '--font-sans',
display: 'swap',
});
export const metadata: Metadata = {
title: '4Ventures — Centro de Mando del Cliente',
description:
@@ -27,8 +20,16 @@ export default function RootLayout({
children: React.ReactNode;
}) {
return (
<html lang="es" className={sans.variable}>
<body className={`${sans.className} bg-background text-gray-900 min-h-screen antialiased`}>
<html lang="es">
<head>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossOrigin="anonymous" />
<link
href="https://fonts.googleapis.com/css2?family=Source+Sans+3:ital,wght@0,300..900;1,300..900&display=swap"
rel="stylesheet"
/>
</head>
<body className="bg-background text-gray-900 min-h-screen antialiased">
{children}
</body>
</html>