-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlayout.jsx
More file actions
29 lines (26 loc) · 858 Bytes
/
layout.jsx
File metadata and controls
29 lines (26 loc) · 858 Bytes
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
import './globals.css';
import { Inter } from 'next/font/google';
import Navbar from '../components/Navbar';
import ThemeProvider from '../components/ThemeProvider';
import { AuthProvider } from '../contexts/AuthContext';
const inter = Inter({ subsets: ['latin'], variable: '--font-inter' });
export const metadata = {
title: 'Respect Nerds - The Hacker Forum',
description: 'A modern, secure community for tech enthusiasts, hackers, and nerds.',
};
export default function RootLayout({ children }) {
return (
<html lang="en" suppressHydrationWarning>
<body className={inter.className}>
<AuthProvider>
<ThemeProvider>
<Navbar />
<main className="page-main container">
{children}
</main>
</ThemeProvider>
</AuthProvider>
</body>
</html>
);
}