Update statistics cards with icons and remove hover effects
Refactors the `.stats-card` CSS to remove hover effects and align text left. Introduces `.stats-icon` class for icon styling. Updates `home.html` to include Feather icons for each stat card. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 5e584ab0-c340-4432-97ef-1972582b60e9 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Event-Id: acd03652-4b33-4e9b-8d09-dfa3dd90b3e5 Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/d0a1d46d-d203-4308-bc6a-312ac7c0243b/5e584ab0-c340-4432-97ef-1972582b60e9/Ue2suQm
This commit is contained in:
@@ -43,8 +43,12 @@
|
||||
<hr>
|
||||
|
||||
<div class="stats-cards">
|
||||
{% set icons = ['award', 'target', 'users', 'calendar'] %}
|
||||
{% for stat in stats %}
|
||||
<div class="stats-card">
|
||||
<div class="stats-icon">
|
||||
<i data-feather="{{ icons[loop.index0] }}"></i>
|
||||
</div>
|
||||
<h1 class="stats-card-header">{{ stat.value }}</h1>
|
||||
<p class="stats-card-info">{{ stat.label }}</p>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user