Remove GitHub button on mobile

This commit is contained in:
Wei Zhu 2018-01-05 18:04:55 +08:00
parent 8c1426d6e7
commit 862c0bc821

View File

@ -55,14 +55,16 @@ class Banner extends React.PureComponent {
<p key="p">
<FormattedMessage id="app.home.introduce" />
</p>
<div key="git" style={{ marginTop: 24 }}>
<GitHubButton
key="github-button"
type="stargazers"
namespace="ant-design"
repo="ant-design"
/>
</div>
{!isMobile && (
<div key="git" style={{ marginTop: 24 }}>
<GitHubButton
key="github-button"
type="stargazers"
namespace="ant-design"
repo="ant-design"
/>
</div>
)}
</QueueAnim>
{!isMobile && (
<div className="img-wrapper" key="image">