feat: add Toaster, notification bell, search, unread badges, last login, recent rooms, hotel alerts, quick room entry, friend requests in top bar
Deploy / release (push) Skipped
Deploy / deploy (push) Successful in 1m53s

This commit is contained in:
openhands committed 2026-07-26 13:17:51 +02:00
1 parent a906d671fb
commit 3284e5a915
5 files changed
+484 -19

No files matched your search

File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
+13
View File
@@ -5,6 +5,7 @@ import Script from "next/script";
import { NextIntlClientProvider } from "next-intl"; import { NextIntlClientProvider } from "next-intl";
import { getLocale, getMessages } from "next-intl/server"; import { getLocale, getMessages } from "next-intl/server";
import type { ReactNode } from "react"; import type { ReactNode } from "react";
import { Toaster } from "sonner";
import { ViewTransitions } from "next-view-transitions"; import { ViewTransitions } from "next-view-transitions";
import { PwaRegister } from "@/components/pwa-register"; import { PwaRegister } from "@/components/pwa-register";
import { ThemeVars } from "@/components/theme-vars"; import { ThemeVars } from "@/components/theme-vars";
@@ -94,6 +95,18 @@ export default async function RootLayout({
</ViewTransitions> </ViewTransitions>
<PwaRegister /> <PwaRegister />
<SmoothScroll /> <SmoothScroll />
<Toaster
position="top-right"
richColors
closeButton
toastOptions={{
style: {
background: "var(--color-surface)",
color: "var(--color-text-readable)",
border: "1px solid color-mix(in srgb, var(--color-text-muted) 12%, transparent)",
},
}}
/>
</NextIntlClientProvider> </NextIntlClientProvider>
</body> </body>
</html> </html>
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff