diff options
| author | Tyler Hoang <tyler@tylerhoang.xyz> | 2026-05-06 15:25:36 -0700 |
|---|---|---|
| committer | Tyler Hoang <tyler@tylerhoang.xyz> | 2026-05-06 15:25:36 -0700 |
| commit | 1bdf4ca8c0f51718124ffe5247ac133973d4f251 (patch) | |
| tree | 2904145bdbc5d2a2164cd3cb6c95346e48afd4a5 /templates/_film_card.html | |
| parent | 051775337251b0c7036959901eacb58471100862 (diff) | |
Add authentication, public profile, and infinite scroll
- Implement session-based auth with argon2 password hashing
- Add login form and logout button in nav
- Create public /tyler profile page with curated stats
- Implement infinite scroll for film lists (load 20 at a time)
- Add lazy loading for poster images
- Fix profile page CSS to use dark theme variables
- Use consistent star character (✦) across all pages
- Add /films/partial endpoint for pagination
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
Diffstat (limited to 'templates/_film_card.html')
| -rw-r--r-- | templates/_film_card.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/_film_card.html b/templates/_film_card.html index 7147a1e..5e8e6e4 100644 --- a/templates/_film_card.html +++ b/templates/_film_card.html @@ -1,7 +1,7 @@ <article class="film-card"> <a class="poster-frame" href="/films/{{ film.id }}" aria-label="{{ film.title }}"> {% if film.poster_url %} - <img src="{{ film.poster_url }}" alt="{{ film.title }} poster"> + <img src="{{ film.poster_url }}" alt="{{ film.title }} poster" loading="lazy"> {% else %} <span>{{ film.title[:1] }}</span> {% endif %} |
