mirror of
https://github.com/pacnpal/thrillwiki_django_no_react.git
synced 2025-12-20 09:31:09 -05:00
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.
This commit is contained in:
20
templates/partials/homepage/stats.html
Normal file
20
templates/partials/homepage/stats.html
Normal file
@@ -0,0 +1,20 @@
|
||||
<!-- 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>
|
||||
Reference in New Issue
Block a user