Skip to content

Commit

Permalink
Merge pull request #59 from rootstrap/fix/fix-github-starts-to-show-s…
Browse files Browse the repository at this point in the history
…tars-for-rootstrap-template-repo

fix: fix github stars point to rs repo
  • Loading branch information
guillermomachado authored Sep 10, 2024
2 parents ba112ed + b0fb905 commit 1b65797
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/src/components/GithubStar.astro
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ import { Icon } from '@astrojs/starlight/components';
color: var(--sl-color-accent-high);
}
.star-count{
text-align: right;
font-weight: 700;
min-width: 20px;
color: transparent;
Expand All @@ -90,7 +91,7 @@ import { Icon } from '@astrojs/starlight/components';
if (starCountElement) {
starCountElement.classList.add("spinner");

fetch("https://api.github.com/repos/obytes/react-native-template-obytes")
fetch("https://api.github.com/repos/rootstrap/react-native-template")
.then((response) => response.json())
.then((data) => {
starCountElement.classList.remove("spinner");
Expand All @@ -108,7 +109,7 @@ import { Icon } from '@astrojs/starlight/components';
<a
target="_blank"
rel="noreferrer noopener"
href="https://github.com/obytes/react-native-template-obytes"
href="https://github.com/rootstrap/react-native-template"
class="link">
<span
id="star-count"
Expand Down

0 comments on commit 1b65797

Please sign in to comment.