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:
pacnpal
2025-09-19 15:29:22 -04:00
parent 6ce2c30065
commit a5fd56b117
9 changed files with 1389 additions and 10 deletions

View 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>