-
Notifications
You must be signed in to change notification settings - Fork 0
/
layout.tsx
33 lines (30 loc) · 905 Bytes
/
layout.tsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
import type { Metadata } from "next";
import { Outfit } from "next/font/google";
import "./globals.css";
import SettingsProvider from "@/context/SettingsContext";
import dynamic from "next/dynamic";
const ToastProviderNoSSR = dynamic(() => import("@/components/ToastProvider"), {
ssr: false,
});
const outfit = Outfit({ subsets: ["latin"] });
export const metadata: Metadata = {
title: "Task Board",
description:
"Effortlessly organize your tasks and projects with customizable boards. Streamline your workflow and stay on top of your goals with intuitive task management.",
};
export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
return (
<html lang="en">
<SettingsProvider>
<body className={outfit.className}>
<ToastProviderNoSSR />
{children}
</body>
</SettingsProvider>
</html>
);
}