Browse Source

Remove GitHub button on mobile

pull/8729/head
Wei Zhu 7 years ago
parent
commit
862c0bc821
  1. 18
      site/theme/template/Home/Banner.jsx

18
site/theme/template/Home/Banner.jsx

@ -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">

Loading…
Cancel
Save