-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix up code to match updates; restrict total tally to last year
- Loading branch information
Showing
4 changed files
with
6 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,15 +2,15 @@ | |
// © 2024 Vlad-Stefan Harbuz <[email protected]> | ||
// SPDX-License-Identifier: Apache-2.0 | ||
import LeaderboardMember from "./LeaderboardMember.astro"; | ||
import { | ||
getGrandTotalRaised, fmtCurrency, | ||
} from '../members.ts'; | ||
} from '../memberFormatting.ts'; | ||
--- | ||
|
||
<div class="total-tally"> | ||
<p>Our members have paid maintainers</p> | ||
<h2>{fmtCurrency(await getGrandTotalRaised())}</h2> | ||
<p>over the last year.</p> | ||
</div> | ||
|
||
<style> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters