Skip to content

Commit 0c68012

Browse files
docs: in-repo demo image and unversioned unpkg example (#19)
* docs: drop version from unpkg example so it tracks latest * docs: use refreshed card screenshot as the README demo image
1 parent df11f52 commit 0c68012

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<a href="https://github.com/rocktimsaikia/github-card/actions/workflows/main.yml"><img alt="CI" src="https://github.com/rocktimsaikia/github-card/actions/workflows/main.yml/badge.svg"/></a>
77
<a href="https://www.npmjs.com/package/@rocktimsaikia/github-card"><img src="https://badge.fury.io/js/%40rocktimsaikia%2Fgithub-card.svg" alt="npm version"></a>
88
</p>
9-
<p align="center"><a href="https://rocktimsaikia.github.io/github-card/"><img src="https://i.ibb.co/LdZZMdr/github-card.png"/></a></p>
9+
<p align="center"><a href="https://rocktimsaikia.github.io/github-card/"><img src="media/demo.png" width="640" alt="github-card demo"/></a></p>
1010
</div>
1111

1212

@@ -45,7 +45,7 @@ Then use the element anywhere in your HTML:
4545
Or skip the install and load it straight from a CDN in an HTML file:
4646

4747
```html
48-
<script type="module" src="https://unpkg.com/@rocktimsaikia/github-card@3.0.3"></script>
48+
<script type="module" src="https://unpkg.com/@rocktimsaikia/github-card"></script>
4949
```
5050

5151
## Attributes

media/demo.png

50.9 KB
Loading

0 commit comments

Comments
 (0)