观影室起步

This commit is contained in:
mtvpls
2025-12-06 21:39:37 +08:00
parent 4f126e89f0
commit 003050d134
18 changed files with 2895 additions and 7 deletions
+7 -2
View File
@@ -10,6 +10,8 @@ import { getConfig } from '@/lib/config';
import { GlobalErrorIndicator } from '../components/GlobalErrorIndicator';
import { SiteProvider } from '../components/SiteProvider';
import { ThemeProvider } from '../components/ThemeProvider';
import { WatchRoomProvider } from '../components/WatchRoomProvider';
import ChatFloatingWindow from '../components/watch-room/ChatFloatingWindow';
const inter = Inter({ subsets: ['latin'] });
export const dynamic = 'force-dynamic';
@@ -120,8 +122,11 @@ export default async function RootLayout({
disableTransitionOnChange
>
<SiteProvider siteName={siteName} announcement={announcement}>
{children}
<GlobalErrorIndicator />
<WatchRoomProvider>
{children}
<GlobalErrorIndicator />
<ChatFloatingWindow />
</WatchRoomProvider>
</SiteProvider>
</ThemeProvider>
</body>