Updated default image and added additional admin cards
This commit is contained in:
@@ -140,9 +140,11 @@ type AuthSessionPayload = {
|
||||
|
||||
type AdminSummary = {
|
||||
totalBirds: number;
|
||||
memorializedBirds: number;
|
||||
totalUsers: number;
|
||||
totalWorkspaces: number;
|
||||
rescueWorkspaces: number;
|
||||
rescueBirds: number;
|
||||
pendingRescues: number;
|
||||
dailyUsers: number;
|
||||
};
|
||||
@@ -3945,6 +3947,10 @@ function App() {
|
||||
<span>Total birds</span>
|
||||
<strong>{adminSummary?.totalBirds ?? '-'}</strong>
|
||||
</article>
|
||||
<article className="summary-card">
|
||||
<span>Memorialized birds</span>
|
||||
<strong>{adminSummary?.memorializedBirds ?? '-'}</strong>
|
||||
</article>
|
||||
<article className="summary-card">
|
||||
<span>Daily users</span>
|
||||
<strong>{adminSummary?.dailyUsers ?? '-'}</strong>
|
||||
@@ -3961,6 +3967,10 @@ function App() {
|
||||
<span>Rescue flocks</span>
|
||||
<strong>{adminSummary?.rescueWorkspaces ?? '-'}</strong>
|
||||
</article>
|
||||
<article className="summary-card">
|
||||
<span>Total rescue birds</span>
|
||||
<strong>{adminSummary?.rescueBirds ?? '-'}</strong>
|
||||
</article>
|
||||
<article className="summary-card">
|
||||
<span>Pending rescues</span>
|
||||
<strong>{adminSummary?.pendingRescues ?? '-'}</strong>
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 1.6 MiB After Width: | Height: | Size: 1.7 MiB |
Reference in New Issue
Block a user