Initial commit: CarrotSkin project setup
This commit is contained in:
@@ -4,8 +4,10 @@ import "./globals.css";
|
||||
import Navbar from "@/components/Navbar";
|
||||
import { AuthProvider } from "@/contexts/AuthContext";
|
||||
import { MainContent } from "@/components/MainContent";
|
||||
import { MessageNotificationContainer } from "@/components/MessageNotification";
|
||||
import { ErrorNotificationContainer } from "@/components/ErrorNotification";
|
||||
import ScrollToTop from "@/components/ScrollToTop";
|
||||
import PageTransition from "@/components/PageTransition";
|
||||
|
||||
const inter = Inter({
|
||||
subsets: ["latin"],
|
||||
@@ -35,8 +37,11 @@ export default function RootLayout({
|
||||
<body className={inter.className}>
|
||||
<AuthProvider>
|
||||
<Navbar />
|
||||
<MainContent>{children}</MainContent>
|
||||
<PageTransition>
|
||||
<MainContent>{children}</MainContent>
|
||||
</PageTransition>
|
||||
<ErrorNotificationContainer />
|
||||
<MessageNotificationContainer />
|
||||
<ScrollToTop />
|
||||
</AuthProvider>
|
||||
</body>
|
||||
|
||||
Reference in New Issue
Block a user