Skip to content

Commit

Permalink
Merge pull request #56 from nacos-group/caojiele-fix#55
Browse files Browse the repository at this point in the history
Solve the problem of alignment button
  • Loading branch information
purple-force authored Jul 4, 2019
2 parents af08891 + f881b85 commit b20f41c
Show file tree
Hide file tree
Showing 9 changed files with 24 additions and 28 deletions.
4 changes: 2 additions & 2 deletions build/blog.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions build/blogDetail.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions build/community.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions build/documentation.js

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions build/home.css
Original file line number Diff line number Diff line change
Expand Up @@ -1023,6 +1023,8 @@ h1, h2, h3, h4, h5, h6 {
line-height: 24px;
padding: 0 6px;
margin-right: 10px; }
.home-page .top-section .version-note a:last-child {
margin-right: 0; }
.home-page .top-section .release-date {
font-family: Avenir-Medium;
font-size: 12px;
Expand Down
4 changes: 2 additions & 2 deletions build/home.js

Large diffs are not rendered by default.

24 changes: 8 additions & 16 deletions site_config/home.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,9 @@ export default {
type: 'normal',
},
],
version: {
text: 'V1.0.1',
link: 'https://github.com/alibaba/nacos/releases',
},
note: {
text: 'Release Note',
link: 'https://github.com/alibaba/nacos/releases',
versionNote: {
text: 'Release Note of V1.0.1',
link: 'https://github.com/alibaba/nacos/releases/tag/1.0.1',
},
releaseDate: 'Released on Jun 12, 2019',
},
Expand Down Expand Up @@ -125,14 +121,10 @@ export default {
type: 'normal',
},
],
version: {
text: 'V1.0.1',
link: 'https://github.com/alibaba/nacos/releases',
},
note: {
text: '版本说明',
link: 'https://github.com/alibaba/nacos/releases',
},
versionNote: {
text: 'V1.0.1 版本说明',
link: 'https://github.com/alibaba/nacos/releases/tag/1.0.1',
},
releaseDate: '2019年06月12日发布',
},
functions: {
Expand Down Expand Up @@ -219,4 +211,4 @@ export default {
],
},
},
};
};
3 changes: 1 addition & 2 deletions src/pages/home/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,7 @@ class Home extends Language {
</a>
</div>
<div className="version-note">
<a target="_blank" rel="noopener noreferrer" href={getLink(dataSource.brand.version.link)}>{dataSource.brand.version.text}</a>
<a target="_blank" rel="noopener noreferrer" href={getLink(dataSource.brand.note.link)}>{dataSource.brand.note.text}</a>
<a target="_blank" rel="noopener noreferrer" href={getLink(dataSource.brand.versionNote.link)}>{dataSource.brand.versionNote.text}</a>
</div>
<div className="release-date">{dataSource.brand.releaseDate}</div>
</div>
Expand Down
3 changes: 3 additions & 0 deletions src/pages/home/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,9 @@ $animationDuration: 2s;
line-height: 24px;
padding: 0 6px;
margin-right: 10px;
&:last-child {
margin-right: 0;
}
}
}
.release-date {
Expand Down

0 comments on commit b20f41c

Please sign in to comment.