docs: update community info with channel links (#2403)

This commit is contained in:
Shawn Erquhart
2019-06-24 19:07:19 -04:00
committed by GitHub
parent 814aa5091b
commit 50dc371ebc
9 changed files with 119 additions and 92 deletions

View File

@ -24,10 +24,10 @@ class DocSearch extends Component {
}
return (
<a className="utility-input">
<img src={searchIcon} />
<div className="utility-input">
<img src={searchIcon} alt="" />
<input type="search" placeholder="Search the docs" className="algolia-search" />
</a>
</div>
);
}
}

View File

@ -55,7 +55,7 @@ class Header extends Component {
<div className="contained">
<div className="logo-container">
<Link to="/" className="logo">
<img src={logo} />
<img src={logo} alt="Netlify CMS" />
</Link>
<DocSearch />
</div>

View File

@ -36,20 +36,23 @@ class VideoEmbed extends Component {
frameBorder={0}
allow="autoplay; encrypted-media"
allowFullScreen
title="video_embed"
/>
);
const imgPlaceholder = <img src={screenshotEditor} className="responsive" />;
const imgPlaceholder = (
<img src={screenshotEditor} className="responsive" alt="editor video screenshot" />
);
return (
<a className="hero-graphic" onClick={this.toggleVideo}>
<div className="hero-graphic" onClick={this.toggleVideo}>
{toggled ? embedcode : imgPlaceholder}
{!toggled && (
<div className="hero-videolink">
<PlayIcon className="hero-videolink-arrow" />
</div>
)}
</a>
</div>
);
}
}