Files
MAD-Platform/app/layout.tsx

38 lines
854 B
TypeScript
Raw Normal View History

2026-01-20 17:20:13 +01:00
import type { Metadata } from "next";
2026-01-20 17:31:34 +01:00
import { Poppins } from "next/font/google";
2026-01-20 17:20:13 +01:00
import "./globals.css";
2026-01-21 18:13:35 +01:00
import { NotificationProvider } from "@/components/NotificationProvider";
import MessageNotifications from "@/components/MessageNotifications";
2026-01-20 17:20:13 +01:00
2026-01-20 17:31:34 +01:00
const poppins = Poppins({
weight: ["300", "400", "500", "600", "700"],
subsets: ["latin"],
display: "swap",
variable: "--font-poppins",
});
2026-01-20 17:20:13 +01:00
export const metadata: Metadata = {
2026-02-16 19:03:56 +01:00
title: "MAD - BackOffice",
description: "MAD",
2026-02-15 15:37:31 +01:00
icons: {
icon: "/logo.svg",
},
2026-01-20 17:20:13 +01:00
};
export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
return (
<html lang="fr">
2026-01-21 18:13:35 +01:00
<body className={poppins.variable}>
<NotificationProvider>
{children}
<MessageNotifications />
</NotificationProvider>
</body>
2026-01-20 17:20:13 +01:00
</html>
);
}