Files
front-Censo/src/app/layout.tsx
T

32 lines
738 B
TypeScript
Raw Normal View History

2025-10-22 13:27:10 -06:00
import Header from "../components/header";
2025-10-23 15:35:17 -06:00
import { Inter, Montserrat } from "next/font/google";
import { Toaster } from "react-hot-toast";
2025-11-03 19:07:01 -06:00
import "../app/styles/base/globales.scss";
2025-10-20 19:29:24 -06:00
const inter = Inter({
subsets: ["latin"],
2025-10-25 20:05:16 -06:00
weight: ["400", "500", "600", "700"],
variable: "--font-inter",
});
const montserrat = Montserrat({
subsets: ["latin"],
weight: ["400", "700"],
variable: "--font-montserrat",
});
2025-10-20 19:29:24 -06:00
2025-10-23 15:43:58 -06:00
export default function RootLayout({
children,
}: {
children: React.ReactNode;
}) {
2025-10-20 19:29:24 -06:00
return (
2025-10-23 15:35:17 -06:00
<html lang="es" className={`${inter.variable} ${montserrat.variable}`}>
2025-11-03 19:07:01 -06:00
<body>
2025-10-22 13:27:10 -06:00
<Header />
2025-10-29 08:46:49 -06:00
<Toaster position="top-left" reverseOrder={false} />
2025-10-23 15:43:58 -06:00
{children}
2025-10-20 19:29:24 -06:00
</body>
</html>
2025-10-23 15:43:58 -06:00
);
2025-10-20 19:29:24 -06:00
}