diff --git a/src/components/Leaderboard.astro b/src/components/Leaderboard.astro index e4713569..f0beb4ec 100644 --- a/src/components/Leaderboard.astro +++ b/src/components/Leaderboard.astro @@ -14,11 +14,11 @@ import { sortMembersByDevs, DEV_GROUP_BOUNDS } from '../members.ts'; -const members = await getMembers(); +const members = filterInactiveMembers(await getMembers()); --- {grouped ?
- {groupMembers(filterInactiveMembers(members)).map((groupMembers, idx) => groupMembers.length > 0 &&
+ {groupMembers(members).map((groupMembers, idx) => groupMembers.length > 0 &&

{formatDevGroupBounds(DEV_GROUP_BOUNDS[idx])}

@@ -57,7 +57,7 @@ const members = await getMembers(); - {sortMembersByDevs(filterInactiveMembers(members)).map((member) => + {sortMembersByDevs(members).map((member) => )} diff --git a/src/pages/index.astro b/src/pages/index.astro index 12e1209c..00da1455 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -9,6 +9,11 @@ import Button from "../components/Button.astro"; import Layout from "../layouts/Layout.astro"; import MiniLeaderboard from "../components/MiniLeaderboard.astro"; import TextButton from "../components/TextButton.astro"; +import { + getMembers, filterInactiveMembers, +} from '../members.ts'; + +const members = filterInactiveMembers(await getMembers()); --- @@ -36,11 +41,10 @@ import TextButton from "../components/TextButton.astro";

Whether you're a CEO, CFO, CTO, or just a dev, your company surely depends on Open Source software. It's time to pay the maintainers.

- Whether you're a CEO, CFO, CTO, or just a dev, your company surely depends on Open Source software. It's + time to pay the maintainers.

+ @@ -54,9 +58,7 @@ import TextButton from "../components/TextButton.astro";

2
Self-report annually

-

Each year, publish a blog post outlining your payments to maintainers.

+

Each year, publish a blog post outlining your payments to maintainers.

@@ -69,9 +71,7 @@ import TextButton from "../components/TextButton.astro";
- Explore all members + Explore all {members.length} members
@@ -83,9 +83,7 @@ import TextButton from "../components/TextButton.astro";
-