From 9926f2318c3d6592ff250f94d5e473d6215940ae Mon Sep 17 00:00:00 2001 From: Jacob Heider Date: Wed, 14 Dec 2022 17:47:50 -0500 Subject: [PATCH 1/2] fetch stats from server --- src/layouts/partials/footer.html | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/src/layouts/partials/footer.html b/src/layouts/partials/footer.html index 2a7eb36..eb88c4b 100644 --- a/src/layouts/partials/footer.html +++ b/src/layouts/partials/footer.html @@ -89,6 +89,8 @@ integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+ $('#count5').html(signups) $('#count6').html(signups) $('#count7').html(signups) + $('#stat-one').html(res.repos ? res.repos.toLocaleString() : "") + $('#stat-two').html(res.maintainers ? res.maintainers.toLocaleString() : "") }) } catch (e) { console.error(e) @@ -192,17 +194,3 @@ integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+ } - - From 4d7b55f18ad24adfb3bdd0f7d9585340a93b2a04 Mon Sep 17 00:00:00 2001 From: Jacob Heider Date: Wed, 14 Dec 2022 18:08:27 -0500 Subject: [PATCH 2/2] update link checker --- lychee.toml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lychee.toml b/lychee.toml index ae69538..0aad011 100644 --- a/lychee.toml +++ b/lychee.toml @@ -12,7 +12,7 @@ exclude = [ "https://www.clarity.ms/tag/", "https://www.googletagmanager.com/gtm.js", ".*/mailto:.*@.*", - "https://tea.xyz/tea.white-paper", + "https://tea.xyz/tea.white-paper", # fragment used in js "https://tea.xyz/tea.products", "https://tea.xyz/tea.nebraska-man", "https://tea.xyz/tea.cli", @@ -26,5 +26,6 @@ exclude = [ "https://openssl.org/", "https://twitter.com/teaxyz_", "file:///home/runner/work/www/www/public/+github.com/rhash/RHash", - "file:///home/runner/work/www/www/public/+github.com/rhash/RHash" + "file:///home/runner/work/www/www/public/+github.com/rhash/RHash", + "https://app.tea.xyz/api/signups", # can take a little too long, and no reason to hammer here. ]