chore: switch chat links to slack (#2782)

This commit is contained in:
Shawn Erquhart
2019-10-22 20:59:04 -04:00
committed by GitHub
parent fbbc8c1dc8
commit 6b83a706a3
50 changed files with 81 additions and 82 deletions

View File

@ -1,7 +1,4 @@
import React from 'react';
// gatsby throws some error when importing just react-sidecar.
// Maybe because jsx file ext?
import Gitter from 'react-sidecar/dist-modules/index.js';
class HTML extends React.Component {
render() {
@ -27,7 +24,9 @@ class HTML extends React.Component {
{this.props.preBodyComponents}
<div key={'body'} id="___gatsby" dangerouslySetInnerHTML={{ __html: this.props.body }} />
{this.props.postBodyComponents}
<Gitter room="netlify/NetlifyCMS" />
<a className="chat-button" href="/chat">
<img src="/img/slack.svg"/>
</a>
<script src="//unpkg.com/docsearch.js@2.4.1/dist/cdn/docsearch.min.js" />
</body>
</html>