Skip to content

Commit

Permalink
perf(module: site): update homepage (#397)
Browse files Browse the repository at this point in the history
  • Loading branch information
fisherspy authored Apr 26, 2019
1 parent bf3039a commit 92ae470
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/introduce.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ This is the **Angular** implementation of **Ant Design Mobile** specification, s

## Angular Support

Now Supports Angular `^6.0.0`.
Now Supports Angular `^7.0.0`.

## Installation

Expand Down
2 changes: 1 addition & 1 deletion docs/introduce.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ title: Ant Design Mobile of Angular <div class="github-btn"><a class="gh-btn" hr

## 支持 Angular 版本

目前支持 Angular `^6.0.0` 版本。
目前支持 Angular `^7.0.0` 版本。

## 安装

Expand Down
4 changes: 2 additions & 2 deletions scripts/site/template/doc-component.template.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ export class NzDoc{{componentName}}Component implements OnInit{
}

getStar() {
this.http.get('https://api.github.com/search/repositories?q=NG-ZORRO/ng-zorro-antd-mobile').subscribe((res: any) => {
this.starCount = res.items[0].stargazers_count;
this.http.get('https://api.github.com/repos/NG-ZORRO/ng-zorro-antd-mobile').subscribe((res: any) => {
this.starCount = res.stargazers_count;
(<HTMLElement>document.querySelector('.gh-count')).style.display = 'inline-block';
})
}
Expand Down

0 comments on commit 92ae470

Please sign in to comment.