diff options
author | 2021-06-08 16:44:56 -0700 | |
---|---|---|
committer | 2021-06-08 16:44:56 -0700 | |
commit | 348e2166f2bf40fe79361f36d1673f3cc78f835f (patch) | |
tree | 91430e108da947f9bca370ca08bed1d407c074f1 /www/src/components/GithubStarButton.astro | |
parent | 0361b210bde8fa0f70e6a1e04892e9cc195da1c6 (diff) | |
download | astro-348e2166f2bf40fe79361f36d1673f3cc78f835f.tar.gz astro-348e2166f2bf40fe79361f36d1673f3cc78f835f.tar.zst astro-348e2166f2bf40fe79361f36d1673f3cc78f835f.zip |
add github star to blog post
Diffstat (limited to 'www/src/components/GithubStarButton.astro')
-rw-r--r-- | www/src/components/GithubStarButton.astro | 7 |
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 |