Added dark and light theme
All checks were successful
Build frontend / build (push) Successful in 56s
All checks were successful
Build frontend / build (push) Successful in 56s
Added navbar
This commit is contained in:
@ -1,6 +1,9 @@
|
||||
import { Geist, Geist_Mono } from "next/font/google";
|
||||
import "./globals.css";
|
||||
import ClientLayout from "./ClientLayout";
|
||||
import { ThemeProvider } from "./contexts/ThemeContext";
|
||||
import { NotificationsProvider } from "./contexts/NotificationsContext";
|
||||
import { FavoritesProvider } from "./contexts/FavoritesContext";
|
||||
|
||||
const geistSans = Geist({
|
||||
variable: "--font-geist-sans",
|
||||
@ -52,7 +55,13 @@ export default function Layout({ children }) {
|
||||
className={`${geistSans.variable} ${geistMono.variable} antialiased`}
|
||||
style={{ fontFamily: "'Madani Arabic', 'Noto Sans Arabic', 'Cairo', Arial, sans-serif" }}
|
||||
>
|
||||
<ClientLayout>{children}</ClientLayout>
|
||||
<ThemeProvider>
|
||||
<NotificationsProvider>
|
||||
<FavoritesProvider>
|
||||
<ClientLayout>{children}</ClientLayout>
|
||||
</FavoritesProvider>
|
||||
</NotificationsProvider>
|
||||
</ThemeProvider>
|
||||
</body>
|
||||
</html>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user