35 lines
824 B
TypeScript
35 lines
824 B
TypeScript
import type { Metadata } from "next";
|
|
import { Poppins } from "next/font/google";
|
|
import "./globals.css";
|
|
import { NotificationProvider } from "@/components/NotificationProvider";
|
|
import MessageNotifications from "@/components/MessageNotifications";
|
|
|
|
const poppins = Poppins({
|
|
weight: ["300", "400", "500", "600", "700"],
|
|
subsets: ["latin"],
|
|
display: "swap",
|
|
variable: "--font-poppins",
|
|
});
|
|
|
|
export const metadata: Metadata = {
|
|
title: "Platform SaaS",
|
|
description: "Plateforme SaaS",
|
|
};
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: Readonly<{
|
|
children: React.ReactNode;
|
|
}>) {
|
|
return (
|
|
<html lang="fr">
|
|
<body className={poppins.variable}>
|
|
<NotificationProvider>
|
|
{children}
|
|
<MessageNotifications />
|
|
</NotificationProvider>
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|