mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-25 11:40:04 +08:00
site: large github button
This commit is contained in:
parent
7694a52374
commit
d7fb63f8c3
@ -87,6 +87,12 @@
|
||||
bottom: 26px;
|
||||
}
|
||||
|
||||
.banner-btns {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-top: 24px;
|
||||
}
|
||||
|
||||
.banner-btn {
|
||||
padding: 0 24px;
|
||||
border-radius: 100px;
|
||||
@ -106,10 +112,6 @@
|
||||
border: 1px solid #2f54eb;
|
||||
color: #2f54eb;
|
||||
}
|
||||
.github-btn {
|
||||
display: inline-block;
|
||||
vertical-align: text-bottom;
|
||||
}
|
||||
}
|
||||
|
||||
svg {
|
||||
|
@ -63,21 +63,20 @@ class Banner extends React.PureComponent {
|
||||
<FormattedMessage id="app.home.introduce" />
|
||||
</p>
|
||||
{!isMobile && (
|
||||
<div key="buttons" style={{ marginTop: 24 }}>
|
||||
<div className="banner-btns" key="buttons">
|
||||
<Link className="banner-btn components" to={utils.getLocalizedPathname('/docs/react/introduce', isZhCN)}>
|
||||
<FormattedMessage id="app.home.getting-started" />
|
||||
</Link>
|
||||
<Link className="banner-btn language" to={utils.getLocalizedPathname('/docs/spec/introduce', isZhCN)}>
|
||||
<FormattedMessage id="app.home.design-language" />
|
||||
</Link>
|
||||
<div className="github-btn">
|
||||
<GitHubButton
|
||||
key="github-button"
|
||||
type="stargazers"
|
||||
namespace="ant-design"
|
||||
repo="ant-design"
|
||||
/>
|
||||
</div>
|
||||
<GitHubButton
|
||||
key="github-button"
|
||||
size="large"
|
||||
type="stargazers"
|
||||
namespace="ant-design"
|
||||
repo="ant-design"
|
||||
/>
|
||||
</div>
|
||||
)}
|
||||
</QueueAnim>
|
||||
|
Loading…
Reference in New Issue
Block a user