feat: add floating WhatsApp support widget to root layout
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user