2018-06-25 10:53:58 +02:00
|
|
|
import React from 'react'
|
|
|
|
|
import PropTypes from 'prop-types'
|
|
|
|
|
import Helmet from 'react-helmet'
|
|
|
|
|
|
2018-06-27 16:33:19 +02:00
|
|
|
import Header from '../components/Header'
|
|
|
|
|
import Footer from '../components/Footer'
|
2018-07-05 16:53:33 +02:00
|
|
|
import SideMenu from '../components/SideMenu'
|
2018-09-05 21:44:24 +02:00
|
|
|
import MessengerCustomerChat from 'react-messenger-customer-chat'
|
|
|
|
|
|
2018-08-23 22:18:26 +02:00
|
|
|
require('typeface-maven-pro')
|
2018-08-24 00:08:54 +02:00
|
|
|
require('typeface-lato')
|
2018-07-04 10:03:22 +02:00
|
|
|
import '../styles/index.css'
|
2018-07-06 17:33:36 +02:00
|
|
|
import '../styles/general.css'
|
2018-06-25 10:53:58 +02:00
|
|
|
|
2018-09-05 13:13:04 +02:00
|
|
|
import favicon32 from '../images/favicon32.png'
|
|
|
|
|
|
2018-06-25 10:53:58 +02:00
|
|
|
const Layout = ({ children, data }) => (
|
2018-07-02 20:33:44 +02:00
|
|
|
<div className="font-sans mx-auto">
|
2018-06-25 10:53:58 +02:00
|
|
|
<Helmet
|
2018-09-05 14:06:21 +02:00
|
|
|
title="Saburly - Digital Agency that makes you stand out"
|
2018-06-25 10:53:58 +02:00
|
|
|
meta={[
|
|
|
|
|
{ name: 'description', content: 'We code & design great software' },
|
2018-07-04 10:03:22 +02:00
|
|
|
{
|
|
|
|
|
name: 'keywords',
|
|
|
|
|
content: 'software, design, coding, programming, code, consulting',
|
|
|
|
|
},
|
2018-06-25 10:53:58 +02:00
|
|
|
]}
|
2018-09-05 13:13:04 +02:00
|
|
|
link={[{ rel: 'shortcut icon', type: 'image/png', href: `${favicon32}` }]}
|
2018-06-27 16:33:19 +02:00
|
|
|
/>
|
2018-09-05 21:44:24 +02:00
|
|
|
<MessengerCustomerChat
|
2018-09-05 21:51:30 +02:00
|
|
|
pageId="715686642152482"
|
|
|
|
|
appId="1896398823783343"
|
2018-09-05 23:01:06 +02:00
|
|
|
htmlRef="layout"
|
2018-09-05 21:44:24 +02:00
|
|
|
/>
|
2018-09-05 21:55:29 +02:00
|
|
|
<main className="side-panel panel">
|
2018-07-05 16:49:34 +02:00
|
|
|
<Header />
|
|
|
|
|
{children()}
|
|
|
|
|
<Footer />
|
2018-09-05 21:55:29 +02:00
|
|
|
</main>
|
2018-07-05 16:53:33 +02:00
|
|
|
<SideMenu />
|
2018-06-25 10:53:58 +02:00
|
|
|
</div>
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
Layout.propTypes = {
|
|
|
|
|
children: PropTypes.func,
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export default Layout
|