Skip to content

Commit e72dfb2

Browse files
authored
feat: add link to star project in menu (#370)
fix #369
1 parent bb163f8 commit e72dfb2

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

index.html

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,8 @@
6868
<!-- Icon Js -->
6969
<script src="https://code.iconify.design/iconify-icon/1.0.0/iconify-icon.min.js"></script>
7070
<script type="module" src="./src/main.ts" defer></script>
71+
<!-- Star Button Js -->
72+
<script async defer src="https://buttons.github.io/buttons.js"></script>
7173

7274
<title>Code Magic</title>
7375
</head>
@@ -325,9 +327,13 @@ <h1 id="head">Code Magic</h1>
325327
</li>
326328
</ul>
327329
<footer>
328-
Contribute to the Project
329-
<a href="https://github.com/Dun-sin/Code-Magic" target="_blank"
330-
>Click Here</a
330+
<a
331+
class="github-button"
332+
href="https://github.com/Dun-sin/Code-Magic"
333+
data-icon="octicon-star"
334+
data-show-count="true"
335+
aria-label="Star Dun-sin/Code-Magic on GitHub"
336+
>Star</a
331337
>
332338
</footer>
333339
</nav>

0 commit comments

Comments
 (0)