feat: broadcast

This commit is contained in:
gosangam
2026-08-29 18:34:21 +05:30
parent 011b5bba91
commit 03c8799f22
4 changed files with 181 additions and 0 deletions
+4
View File
@@ -8,6 +8,7 @@ import { AudioPlayerProvider, FloatingPlayer } from "@/components/audio-player";
import { AuthProvider } from "@/components/auth/auth-provider";
import { AuthGateProvider } from "@/components/auth/auth-gate";
import { NotificationsProvider } from "@/components/notifications/notifications-provider";
import { BroadcastModal } from "@/components/notifications/broadcast-modal";
import { SharePostProvider } from "@/components/social/share-post-provider";
import { Toaster } from "@/components/ui/toaster";
import { ServiceWorkerRegistrar } from "@/components/pwa/sw-register";
@@ -115,6 +116,9 @@ export default function RootLayout({
{/* Toaster and FloatingPlayer are global — toasts and
currently-playing audio survive navigation between
route groups. */}
{/* Announcements: at most one modal, only when signed
in, dismissed server-side so it never repeats. */}
<BroadcastModal />
<FloatingPlayer />
<Toaster />
<ServiceWorkerRegistrar />