Files
front-Censo/src/app/layout.tsx
T
2025-10-23 15:35:17 -06:00

19 lines
662 B
TypeScript

import Header from "../components/header";
import { Inter, Montserrat } from "next/font/google";
import "../app/styles/base/_globales.scss"; // si tienes estilos globales
// Carga optimizada de fuentes
const inter = Inter({ subsets: ["latin"], weight: ["400", "700"], variable: "--font-inter" });
const montserrat = Montserrat({ subsets: ["latin"], weight: ["400", "700"], variable: "--font-montserrat" });
export default function RootLayout({ children }: { children: React.ReactNode }) {
return (
<html lang="es" className={`${inter.variable} ${montserrat.variable}`}>
<body>
<Header />
{children}
</body>
</html>
);
}