mirror of
https://github.com/felipegcoutinho/openmonetis.git
synced 2026-05-09 02:51:46 +00:00
39 lines
1.1 KiB
TypeScript
39 lines
1.1 KiB
TypeScript
import { Analytics } from "@vercel/analytics/next";
|
|
import { SpeedInsights } from "@vercel/speed-insights/next";
|
|
import type { Metadata } from "next";
|
|
import { ThemeProvider } from "@/components/providers/theme-provider";
|
|
import { Toaster } from "@/components/ui/sonner";
|
|
import { allFontVariables } from "@/public/fonts/font_index";
|
|
import "./globals.css";
|
|
|
|
export const metadata: Metadata = {
|
|
title: {
|
|
default: "OpenMonetis | Suas finanças, do seu jeito",
|
|
template: "%s | OpenMonetis",
|
|
},
|
|
description:
|
|
"Controle suas finanças pessoais de forma simples e transparente.",
|
|
};
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: Readonly<{
|
|
children: React.ReactNode;
|
|
}>) {
|
|
return (
|
|
<html lang="pt-BR" className={allFontVariables} suppressHydrationWarning>
|
|
<head>
|
|
<meta name="apple-mobile-web-app-title" content="OpenMonetis" />
|
|
</head>
|
|
<body className="subpixel-antialiased" suppressHydrationWarning>
|
|
<ThemeProvider attribute="class" defaultTheme="light">
|
|
{children}
|
|
<Toaster position="top-right" />
|
|
</ThemeProvider>
|
|
<Analytics />
|
|
<SpeedInsights />
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|