Skip to content

Commit 124c49c

Browse files
committed
NPM link
1 parent c11b0f3 commit 124c49c

2 files changed

Lines changed: 31 additions & 0 deletions

File tree

docs/assets/scss/index.scss

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,27 @@
2222
margin-right: 2rem;
2323
}
2424
}
25+
26+
#npm {
27+
margin-top: 2rem;
28+
display: flex;
29+
justify-content: center;
30+
31+
.click-to-copy {
32+
display: block;
33+
float: right;
34+
}
35+
36+
pre {
37+
color: white;
38+
background-color: gray !important;
39+
border-radius: 5px;
40+
}
41+
42+
code > :first-child {
43+
padding: 1rem;
44+
border-radius: 5px;
45+
padding-right: 3rem;
46+
}
47+
}
2548
}

docs/content/_index.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,12 @@ title: AngularTS
1717
</a>
1818
</div>
1919

20+
<div id="npm">
21+
22+
```bash
23+
npm i @angular-wave/angular.ts
24+
```
25+
26+
</div>
27+
2028
{{< /blocks/cover >}}

0 commit comments

Comments
 (0)