From 294ae759b4af87b190f9a512d719f0fda17243fb Mon Sep 17 00:00:00 2001 From: Alvalen Date: Fri, 29 Sep 2023 10:21:02 +0700 Subject: [PATCH] feat: add Intelliticks chat widget --- app/layout.jsx | 3 +++ app/projects/layout.jsx | 1 - components/Chat.jsx | 35 +++++++++++++++++++++++++++++++++++ 3 files changed, 38 insertions(+), 1 deletion(-) create mode 100644 components/Chat.jsx diff --git a/app/layout.jsx b/app/layout.jsx index 973ff7a..6223bd6 100644 --- a/app/layout.jsx +++ b/app/layout.jsx @@ -40,6 +40,8 @@ export const metadata = { }, }; +import Chat from "@/components/Chat"; + const TopProgressBar = dynamic(() => import("@/components/TopProgressbar"), { ssr: false, }); @@ -54,6 +56,7 @@ export default function RootLayout({ children }) { {children} + ); diff --git a/app/projects/layout.jsx b/app/projects/layout.jsx index f50b242..e53ace3 100644 --- a/app/projects/layout.jsx +++ b/app/projects/layout.jsx @@ -7,7 +7,6 @@ export const metadata = { export default function Layout({ children }) { return ( <> - {children}