40 lines
927 B
TypeScript
40 lines
927 B
TypeScript
|
|
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: '/favicon.ico',
|
||
|
|
},
|
||
|
|
}
|
||
|
|
|
||
|
|
export default function RootLayout({
|
||
|
|
children,
|
||
|
|
}: Readonly<{
|
||
|
|
children: React.ReactNode
|
||
|
|
}>) {
|
||
|
|
return (
|
||
|
|
<html lang="en">
|
||
|
|
<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>
|
||
|
|
)
|
||
|
|
}
|