mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-18 22:36:31 +08:00
Remove GitHub button on mobile
This commit is contained in:
parent
8c1426d6e7
commit
862c0bc821
@ -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…
Reference in New Issue
Block a user