Skip to content

Commit

Permalink
Show the number of clubs
Browse files Browse the repository at this point in the history
Refs #76
  • Loading branch information
thewilkybarkid committed Jul 30, 2024
1 parent a3a766f commit b66ab50
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ toc: false
const requests = FileAttachment('./data/requests.json').json()
const reviews = FileAttachment('./data/reviews.json').json()
const users = FileAttachment('./data/users.json').json()
const clubs = FileAttachment('./data/clubs.json').json()
```

<div class="grid grid-cols-4">
Expand All @@ -27,6 +28,11 @@ const users = FileAttachment('./data/users.json').json()
<h2>Total users</h2>
<span class="big">${users.length.toLocaleString("en-US")}</span>
</div>

<div class="card">
<h2>Total clubs</h2>
<span class="big">${Object.keys(clubs).length.toLocaleString("en-US")}</span>
</div>
</div>

<style>
Expand Down

0 comments on commit b66ab50

Please sign in to comment.