Skip to content

Commit 0351f05

Browse files
committed
feat(docs): Added GitHub widget
1 parent 2bffb73 commit 0351f05

3 files changed

Lines changed: 18 additions & 7 deletions

File tree

projects/ngqp-demo/src/app/home/home.component.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@ <h1>ngqp</h1>
99
<a class="btn btn-lg btn-primary" routerLink="/getting-started">Get started</a>
1010
<a class="btn btn-lg btn-outline-secondary" href="https://www.github.com/Airblader/ngqp">Github</a>
1111
</div>
12+
13+
<div class="social-buttons">
14+
<a class="github-button" href="https://github.com/Airblader/ngqp" data-show-count="true"
15+
aria-label="Star Airblader/ngqp on GitHub">Star on GitHub</a>
16+
</div>
1217
</section>
1318

1419
<section class="benefits container-fluid">

projects/ngqp-demo/src/app/home/home.component.scss

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,17 @@
1717
letter-spacing: 2px;
1818
}
1919
}
20+
21+
.social-buttons {
22+
margin-bottom: 1rem;
23+
}
2024
}
2125

2226
.benefits {
2327
background: #f5f5f5;
2428

2529
&__content {
26-
padding: 2rem;
30+
padding: 2rem 2rem 1rem 2rem;
2731

2832
.col-12 {
2933
padding-bottom: 2rem;

projects/ngqp-demo/src/index.html

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
11
<!doctype html>
22
<html lang="en">
33
<head>
4-
<meta charset="utf-8">
5-
<title>ngqp</title>
6-
<base href="/">
4+
<meta charset="utf-8">
5+
<title>ngqp</title>
6+
<base href="/">
77

8-
<meta name="viewport" content="width=device-width, initial-scale=1">
9-
<link rel="icon" type="image/x-icon" href="favicon.ico">
8+
<meta name="viewport" content="width=device-width, initial-scale=1">
9+
<link rel="icon" type="image/x-icon" href="favicon.ico">
10+
11+
<script async defer src="https://buttons.github.io/buttons.js"></script>
1012
</head>
1113
<body>
12-
<demo-root></demo-root>
14+
<demo-root></demo-root>
1315
</body>
1416
</html>

0 commit comments

Comments
 (0)