2026-02-14 15:26:42 +01:00
|
|
|
import type { Metadata } from 'next'
|
|
|
|
|
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 function RootLayout({
|
|
|
|
|
children,
|
|
|
|
|
}: Readonly<{
|
|
|
|
|
children: React.ReactNode
|
|
|
|
|
}>) {
|
|
|
|
|
return (
|
|
|
|
|
<html lang="en" suppressHydrationWarning>
|
|
|
|
|
<body className="min-h-screen bg-background font-sans antialiased">
|
|
|
|
|
<Providers>{children}</Providers>
|
|
|
|
|
<Toaster
|
|
|
|
|
position="top-right"
|
|
|
|
|
toastOptions={{
|
|
|
|
|
style: {
|
|
|
|
|
background: 'hsl(var(--background))',
|
|
|
|
|
color: 'hsl(var(--foreground))',
|
|
|
|
|
border: '1px solid hsl(var(--border))',
|
|
|
|
|
},
|
|
|
|
|
}}
|
|
|
|
|
/>
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|
|
|
|
|
)
|
|
|
|
|
}
|