53 lines
1.5 KiB
TypeScript
53 lines
1.5 KiB
TypeScript
import type { Metadata } from "next";
|
|
import { Inter, Open_Sans, Fira_Code } from "next/font/google";
|
|
import "./globals.css";
|
|
import { ThemeProvider } from "next-themes";
|
|
|
|
const inter = Inter({
|
|
variable: "--font-inter",
|
|
subsets: ["latin"],
|
|
weight: ["400", "500", "600", "700"],
|
|
});
|
|
|
|
const openSans = Open_Sans({
|
|
variable: "--font-open-sans",
|
|
subsets: ["latin"],
|
|
weight: ["600", "700"],
|
|
});
|
|
|
|
const firaCode = Fira_Code({
|
|
variable: "--font-fira-code",
|
|
subsets: ["latin"],
|
|
weight: ["400", "600"],
|
|
});
|
|
|
|
export const metadata: Metadata = {
|
|
title: "Aggios - Plataforma de Gestão Financeira",
|
|
description: "A plataforma completa para gestão de agências e clientes. Controle financeiro, relatórios inteligentes e muito mais.",
|
|
keywords: "gestão financeira, agências, relatórios, dashboard, controle financeiro",
|
|
openGraph: {
|
|
title: "Aggios - Transforme sua gestão financeira",
|
|
description: "A plataforma completa para gestão de agências e clientes.",
|
|
type: "website",
|
|
},
|
|
};
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: Readonly<{
|
|
children: React.ReactNode;
|
|
}>) {
|
|
return (
|
|
<html lang="pt-BR" suppressHydrationWarning>
|
|
<head>
|
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/remixicon@4.3.0/fonts/remixicon.css" />
|
|
</head>
|
|
<body className={`${inter.variable} ${openSans.variable} ${firaCode.variable} antialiased`}>
|
|
<ThemeProvider attribute="class" defaultTheme="light" enableSystem={false}>
|
|
{children}
|
|
</ThemeProvider>
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|