Skip to content

Commit

Permalink
remove github star buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
geoffcline committed Nov 25, 2021
1 parent 0ad68e8 commit 85b56ca
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 22 deletions.
16 changes: 0 additions & 16 deletions website/content/en/_index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,22 +11,6 @@ <h3 class="display-4 font-weight-light mt-5">Just-in-time Nodes for Any Kubernet
<a class="btn btn-lg btn-dark col-sm-3 mb-3 font-weight-bold get-started" href="{{< relref "docs/getting-started" >}}">
Get Started
</a>
<a id="github-counter" class="btn btn-lg btn-dark col-sm-3 mb-3 font-weight-bold get-started" href="https://github.com/aws/karpenter">
<i class="fab fa-github"></i>
GitHub
</a>
<script>
url = "https://api.github.com/repos/aws/karpenter"
fetch(url).then(function(response) {
return response.json();
}).then(function(data) {
stars = data.stargazers_count;
var element = document.getElementById("github-counter");
console.log(stars);
element.innerHTML = `<i class="fab fa-github"></i> Stars on Github: ${stars}`;
})
</script>

</div>
</div>
{{< /blocks/cover >}}
Expand Down
6 changes: 0 additions & 6 deletions website/content/en/pre-docs/getting-started/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -275,10 +275,4 @@ eksctl delete cluster --name ${CLUSTER_NAME}

---

If you liked this demo, star us on GitHub!

{{< github >}}

---

## Next Steps:

0 comments on commit 85b56ca

Please sign in to comment.