38 lines
839 B
TypeScript
38 lines
839 B
TypeScript
import type { Metadata } from "next";
|
|
import { Poppins } from "next/font/google";
|
|
|
|
import Header from "./Components/layout/Header/Header";
|
|
import Footer from "./Components/layout/Footer/Footer";
|
|
|
|
import "./globals.css";
|
|
|
|
const poppins = Poppins({
|
|
variable: "--font-poppins",
|
|
subsets: ["latin"],
|
|
weight: ["400", "600", "700"],
|
|
});
|
|
|
|
export const metadata: Metadata = {
|
|
title: "Servicio AT",
|
|
description: "Servicio de administracion de la FES Acatlan",
|
|
authors: [{ name: "FES Acatlán" }],
|
|
creator: "Lino,Carlos,Axel",
|
|
};
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: Readonly<{
|
|
children: React.ReactNode;
|
|
}>) {
|
|
return (
|
|
<html lang="es">
|
|
<body className={poppins.variable} suppressHydrationWarning>
|
|
<Header />
|
|
<main>{children}</main>
|
|
<Footer />
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|
|
//IO
|