mirror of
https://github.com/layer-systems/website.git
synced 2026-07-05 18:59:09 +02:00
fix: update terminology for clarity in DashboardStats and RecentActivityChart components
This commit is contained in:
@@ -43,13 +43,13 @@ export function DashboardStats({ pubkey }: DashboardStatsProps) {
|
||||
<div className="grid gap-4 md:grid-cols-2 lg:grid-cols-4">
|
||||
<Card>
|
||||
<CardHeader className="flex flex-row items-center justify-between space-y-0 pb-2">
|
||||
<CardTitle className="text-sm font-medium">Total Events</CardTitle>
|
||||
<CardTitle className="text-sm font-medium">Loaded Events</CardTitle>
|
||||
<FileText className="h-4 w-4 text-muted-foreground" />
|
||||
</CardHeader>
|
||||
<CardContent>
|
||||
<div className="text-2xl font-bold">{stats.totalEvents}</div>
|
||||
<p className="text-xs text-muted-foreground">
|
||||
All events published
|
||||
All events loaded
|
||||
</p>
|
||||
</CardContent>
|
||||
</Card>
|
||||
|
||||
@@ -172,7 +172,7 @@ export function RecentActivityChart() {
|
||||
</CardContent>
|
||||
<CardFooter className="flex-col items-start gap-2 text-sm">
|
||||
<div className="flex gap-2 font-medium leading-none">
|
||||
{daysWithActivity} active days with {totalEvents} events
|
||||
{daysWithActivity} active days with {totalEvents} loaded events
|
||||
<TrendingUp className="h-4 w-4" />
|
||||
</div>
|
||||
<div className="leading-none text-muted-foreground">
|
||||
|
||||
Reference in New Issue
Block a user