forked from git.gladyson/openmonetis
- Replace ESLint with Biome for linting and formatting - Configure Biome with tabs, double quotes, and organized imports - Move all SQL/Drizzle queries from page.tsx files to data.ts files - Create new data.ts files for: ajustes, dashboard, relatorios/categorias - Update existing data.ts files: extrato, fatura (add lancamentos queries) - Remove all drizzle-orm imports from page.tsx files - Update README.md with new tooling info Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
38 lines
993 B
TypeScript
38 lines
993 B
TypeScript
import { Analytics } from "@vercel/analytics/next";
|
|
import { SpeedInsights } from "@vercel/speed-insights/next";
|
|
import type { Metadata } from "next";
|
|
import { ThemeProvider } from "@/components/theme-provider";
|
|
import { Toaster } from "@/components/ui/sonner";
|
|
import { main_font } from "@/public/fonts/font_index";
|
|
import "./globals.css";
|
|
|
|
export const metadata: Metadata = {
|
|
title: "Opensheets",
|
|
description: "Finanças pessoais descomplicadas.",
|
|
};
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: Readonly<{
|
|
children: React.ReactNode;
|
|
}>) {
|
|
return (
|
|
<html lang="en" suppressHydrationWarning>
|
|
<head>
|
|
<meta name="apple-mobile-web-app-title" content="Opensheets" />
|
|
</head>
|
|
<body
|
|
className={`${main_font.className} antialiased `}
|
|
suppressHydrationWarning
|
|
>
|
|
<ThemeProvider attribute="class" defaultTheme="light">
|
|
{children}
|
|
<Toaster position="top-right" />
|
|
</ThemeProvider>
|
|
<Analytics />
|
|
<SpeedInsights />
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|