diff --git a/src/lib/components/PreFooter.svelte b/src/lib/components/PreFooter.svelte index 792543a0ac..c42c6e5035 100644 --- a/src/lib/components/PreFooter.svelte +++ b/src/lib/components/PreFooter.svelte @@ -12,7 +12,7 @@ href="https://cloud.appwrite.io" class="aw-button is-transparent aw-u-cross-child-center" > - Start building today + Get started
{ // fetch issues from github, appwrite/appwrite repo const response = await fetch('https://api.github.com/repos/appwrite/appwrite/issues'); const issues = await response.json(); + if (issues?.message?.includes('API rate limit exceeded')) { + return { issues: mockIssues }; + } // map issues to our format return { diff --git a/src/routes/heroes/+page.svelte b/src/routes/heroes/+page.svelte index 010d2caebf..b08d521d37 100644 --- a/src/routes/heroes/+page.svelte +++ b/src/routes/heroes/+page.svelte @@ -180,7 +180,7 @@ -
+