Replace the countup.js package with an own implementation (#3053)

This commit is contained in:
Paweł Kuna authored and GitHub committed 2026-09-14 20:08:18 +02:00
1 parent 62408b8c8f
commit ea10f0e296
12 files changed
+568 -117

No files matched your search

+4 -4
View File
@@ -17,16 +17,16 @@ import Configuration from '@shared/components/cards/Configuration.astro'
<DefaultLayout title="Widgets" pageMenu="extra.widgets" pageLibs={['apexcharts']}>
<div class="row row-cards">
<div class="col-12 col-md-6 col-xxl-3 mb-4 mb-xxl-0">
<StatCard title="Earned" value="$2,847" icon="credit-card" />
<StatCard title="Earned" value="$2,847" icon="credit-card" countup />
</div>
<div class="col-12 col-md-6 col-xxl-3 mb-4 mb-xxl-0">
<StatCard title="Hours logged" value="42.7 hrs" icon="clock" />
<StatCard title="Hours logged" value="42.7 hrs" icon="clock" countup />
</div>
<div class="col-12 col-md-6 col-xxl-3 mb-4 mb-md-0">
<StatCard title="Avg. time" value="3:28 hrs" icon="slideshow" />
<StatCard title="Avg. time" value="3:28 hrs" icon="slideshow" countup />
</div>
<div class="col-12 col-md-6 col-xxl-3">
<StatCard title="Weekly growth" value="18.4%" icon="discount" />
<StatCard title="Weekly growth" value="18.4%" icon="discount" countup />
</div>
<div class="col-lg-6">