SEO performance, remove fading effect and messenger

This commit is contained in:
Moris Zen
2018-09-12 15:16:28 +02:00
parent 313ea8b03c
commit 83663ea5c0
7 changed files with 256 additions and 301 deletions

View File

@@ -6,7 +6,6 @@ import SEO from '../components/SEO'
require('prismjs/themes/prism-tomorrow.css')
import PageTransition from 'gatsby-plugin-page-transitions'
import MessengerCustomerChat from 'react-messenger-customer-chat'
import favicon32 from '../images/favicon32.png'
class PostDefault extends Component {
@@ -20,7 +19,13 @@ class PostDefault extends Component {
const { data } = this.props
return (
<PageTransition>
<SEO postSEO siteTitle={data.wordpressPost.title} siteDescription="We are always on a lookout for exciting challenges. Feel free to contact us if you want to start something great or just have any questions" siteImage={data.wordpressPost.featured_media.source_url} siteUrl={`https://www.saburly.com/blog/${data.wordpressPost.slug}`} />
<SEO
postSEO
siteTitle={data.wordpressPost.title}
siteDescription="We are always on a lookout for exciting challenges. Feel free to contact us if you want to start something great or just have any questions"
siteImage={data.wordpressPost.featured_media.source_url}
siteUrl={`https://www.saburly.com/blog/${data.wordpressPost.slug}`}
/>
<Helmet
link={[
{ rel: 'shortcut icon', type: 'image/png', href: `${favicon32}` },
@@ -42,11 +47,6 @@ class PostDefault extends Component {
__html: data.wordpressPost.content,
}}
/>
<MessengerCustomerChat
pageId="715686642152482"
appId="1896398823783343"
htmlRef="blogpost"
/>
</main>
</PageTransition>
)