feat: implement authentication context, admin node settings, and core layout components

This commit is contained in:
Christopher
2026-01-22 04:26:23 -08:00
parent c5f2d9c128
commit 7213f08b64
17 changed files with 698 additions and 462 deletions
+10 -1
View File
@@ -30,6 +30,9 @@ export const dynamic = 'force-dynamic';
// This is appropriate for a social network where all content is user-generated
import { AuthProvider } from '@/lib/contexts/AuthContext';
import { LayoutWrapper } from '@/components/LayoutWrapper';
export default function RootLayout({
children,
}: {
@@ -37,7 +40,13 @@ export default function RootLayout({
}) {
return (
<html lang="en" className={`${inter.variable} ${sairaCondensed.variable}`}>
<body>{children}</body>
<body>
<AuthProvider>
<LayoutWrapper>
{children}
</LayoutWrapper>
</AuthProvider>
</body>
</html>
);
}