Files
thrillwiki_django_no_react/templates/partials/homepage/stats.html
pacnpal a5fd56b117 Add homepage templates for featured parks, rides, recent activity, search results, and statistics
- Implemented featured parks and rides sections with responsive design and hover effects.
- Created a recent activity feed to display user interactions with parks and rides.
- Developed a search results template to show relevant results with icons and descriptions.
- Added a statistics dashboard to showcase total parks, rides, reviews, and countries.
2025-09-19 15:29:22 -04:00

20 lines
1.0 KiB
HTML

<!-- Homepage Statistics Dashboard -->
<div class="text-center p-6 bg-background rounded-xl shadow-sm border border-border/50">
<div class="text-3xl font-bold text-primary mb-2">{{ total_parks|default:"0" }}</div>
<div class="text-sm text-muted-foreground">Theme Parks</div>
</div>
<div class="text-center p-6 bg-background rounded-xl shadow-sm border border-border/50">
<div class="text-3xl font-bold text-secondary mb-2">{{ total_rides|default:"0" }}</div>
<div class="text-sm text-muted-foreground">Thrilling Rides</div>
</div>
<div class="text-center p-6 bg-background rounded-xl shadow-sm border border-border/50">
<div class="text-3xl font-bold text-accent mb-2">{{ total_reviews|default:"0" }}</div>
<div class="text-sm text-muted-foreground">User Reviews</div>
</div>
<div class="text-center p-6 bg-background rounded-xl shadow-sm border border-border/50">
<div class="text-3xl font-bold text-primary mb-2">{{ total_countries|default:"0" }}</div>
<div class="text-sm text-muted-foreground">Countries</div>
</div>