Messenger plugin add and config

This commit is contained in:
Moris Zen
2018-09-05 21:44:24 +02:00
parent 703bbacaf1
commit 290f3e4080
4 changed files with 17 additions and 3 deletions

View File

@@ -5,6 +5,8 @@ import Helmet from 'react-helmet'
import Header from '../components/Header'
import Footer from '../components/Footer'
import SideMenu from '../components/SideMenu'
import MessengerCustomerChat from 'react-messenger-customer-chat'
require('typeface-maven-pro')
require('typeface-lato')
import '../styles/index.css'
@@ -25,6 +27,11 @@ const Layout = ({ children, data }) => (
]}
link={[{ rel: 'shortcut icon', type: 'image/png', href: `${favicon32}` }]}
/>
<MessengerCustomerChat
pageId="<PAGE_ID>"
appId="<APP_ID>"
htmlRef="<REF_STRING>"
/>
<div className="side-panel panel">
<Header />
{children()}