mirror of
https://github.com/pacnpal/thrillwiki_django_no_react.git
synced 2025-12-22 14:51:09 -05:00
feat: Add detailed park and ride pages with HTMX integration
- Implemented park detail page with dynamic content loading for rides and weather. - Created park list page with filters and search functionality. - Developed ride detail page showcasing ride stats, reviews, and similar rides. - Added ride list page with filtering options and dynamic loading. - Introduced search results page with tabs for parks, rides, and users. - Added HTMX tests for global search functionality.
This commit is contained in:
9
templates/components/ui/avatar.html
Normal file
9
templates/components/ui/avatar.html
Normal file
@@ -0,0 +1,9 @@
|
||||
<span class="relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full {{ class }}">
|
||||
{% if src %}
|
||||
<img class="object-cover w-full h-full aspect-square" src="{{ src }}" alt="{{ alt|default:'' }}">
|
||||
{% else %}
|
||||
<span class="flex items-center justify-center w-full h-full rounded-full bg-muted text-muted-foreground">
|
||||
{{ fallback|default:alt|make_list|first|upper }}
|
||||
</span>
|
||||
{% endif %}
|
||||
</span>
|
||||
Reference in New Issue
Block a user