2026-05-07 20:04:31 +00:00
import type { Metadata } from "next" ;
import "./globals.css" ;
2026-06-07 22:30:33 +00:00
import { ThemeProvider , themeInitScript } from "@/components/theme/ThemeProvider" ;
2026-05-07 20:04:31 +00:00
export const metadata : Metadata = {
2026-06-07 22:30:33 +00:00
title : "MetaAds Pro — Dashboard de Facebook Ads" ,
description : "Gerencie suas campanhas de Facebook Ads em tempo real. Veja métricas de Spend, CTR, CPC, CPM, Leads e ROAS. Pause, reative e altere orçamentos." ,
icons : { icon : "/favicon.ico" } ,
2026-05-07 20:04:31 +00:00
} ;
export default function RootLayout ( {
children ,
} : Readonly < {
children : React.ReactNode ;
} > ) {
return (
2026-06-07 22:30:33 +00:00
< html lang = "pt-BR" className = "h-full antialiased" suppressHydrationWarning >
< head >
< script dangerouslySetInnerHTML = { { __html : themeInitScript } } / >
< / head >
< body className = "min-h-full flex flex-col" suppressHydrationWarning >
< ThemeProvider > { children } < / ThemeProvider >
< / body >
2026-05-07 20:04:31 +00:00
< / html >
) ;
}