summaryrefslogtreecommitdiff
path: root/www/src/components/GithubStarButton.astro
diff options
context:
space:
mode:
Diffstat (limited to 'www/src/components/GithubStarButton.astro')
-rw-r--r--www/src/components/GithubStarButton.astro7
1 files changed, 7 insertions, 0 deletions
diff --git a/www/src/components/GithubStarButton.astro b/www/src/components/GithubStarButton.astro
new file mode 100644
index 000000000..e8152cb46
--- /dev/null
+++ b/www/src/components/GithubStarButton.astro
@@ -0,0 +1,7 @@
+<!-- Place this tag where you want the button to render. -->
+<div class="hidden-mobile" style="text-align: center; height: 36px;">
+<a class="github-button" href="https://github.com/snowpackjs/astro" data-icon="octicon-star"
+ data-size="large" data-show-count="true" aria-label="Star snowpackjs/astro on GitHub">Star</a>
+</div>
+<!-- Place this tag in your head or just before your close body tag. -->
+<script async="async" defer="defer" src="https://buttons.github.io/buttons.js"></script> \ No newline at end of file