26 lines
699 B
TypeScript
26 lines
699 B
TypeScript
import type { Metadata } from "next";
|
|
import type { ReactNode } from "react";
|
|
import { AuthProvider } from "@/lib/auth/auth-context";
|
|
import { ErrorBoundary } from "@/components/error-boundary";
|
|
import { ThemeProvider } from "@/providers/ThemeProvider";
|
|
import "./globals.css";
|
|
|
|
export const metadata: Metadata = {
|
|
title: "Mosaic Stack",
|
|
description: "Mosaic Stack Web Application",
|
|
};
|
|
|
|
export default function RootLayout({ children }: { children: ReactNode }) {
|
|
return (
|
|
<html lang="en">
|
|
<body>
|
|
<ThemeProvider>
|
|
<ErrorBoundary>
|
|
<AuthProvider>{children}</AuthProvider>
|
|
</ErrorBoundary>
|
|
</ThemeProvider>
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|