import type { Metadata } from 'next' import { NextIntlClientProvider } from 'next-intl' import { getLocale, getMessages } from 'next-intl/server' import './globals.css' import { Providers } from './providers' import { Toaster } from 'sonner' export const metadata: Metadata = { title: { default: 'MOPC Platform', template: '%s | MOPC', }, description: 'Monaco Ocean Protection Challenge - Jury Voting Platform', icons: { icon: '/images/MOPC-blue-small.png', }, } export default async function RootLayout({ children, }: Readonly<{ children: React.ReactNode }>) { const locale = await getLocale() const messages = await getMessages() return (