feat: add floating WhatsApp support widget to root layout

This commit is contained in:
sazzadulalambd
2026-06-22 17:25:51 +06:00
parent 5fc14ba492
commit 4187c591ad
2 changed files with 72 additions and 0 deletions

View File

@@ -28,6 +28,8 @@ export const viewport: Viewport = {
userScalable: false,
};
import WhatsAppFloat from "@/components/ui/WhatsAppFloat";
export default function RootLayout({
children,
}: Readonly<{
@@ -37,6 +39,7 @@ export default function RootLayout({
<html lang="en" className={inter.variable} suppressHydrationWarning>
<body className="min-h-screen bg-slate-50 antialiased" suppressHydrationWarning>
<LayoutContent>{children}</LayoutContent>
<WhatsAppFloat />
<Toaster position="top-right" />
</body>
</html>