summaryrefslogtreecommitdiff
path: root/templates/login.html
diff options
context:
space:
mode:
authorTyler Hoang <tyler@tylerhoang.xyz>2026-05-06 23:43:35 -0700
committerTyler Hoang <tyler@tylerhoang.xyz>2026-05-06 23:43:35 -0700
commitea6462e928f588c3fbff32e0850298d3ff3dbfb4 (patch)
tree251446b62003236d1c99b53e6381fac68bc3f4b8 /templates/login.html
parentead38fdb13abb406065cef0743d7e411cb27eaf3 (diff)
Add /about page with rating system explanation
Introduces a public-facing /about page that explains the 1-3 star rating rubric with real examples pulled from the diary. Each star tier displays 3 randomly-selected, unique films (deduplicated by title to avoid rewatch duplicates). Changes: - New routers/about.py: GET /about queries films by stars, dedupes, randomizes - New templates/about.html: Page with eyebrow, h1, three tier sections with example film cards, closing philosophy, and View Profile button - main.py: Import about router, register it, add /about to public_paths in AuthMiddleware - templates/base.html: Add About nav link after Stats - templates/profile.html: Add About link to /tyler nav - templates/login.html: Add About and View Profile buttons in footer, plus "Made with Lumière" repo link Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
Diffstat (limited to 'templates/login.html')
-rw-r--r--templates/login.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/templates/login.html b/templates/login.html
index c164531..a8caae3 100644
--- a/templates/login.html
+++ b/templates/login.html
@@ -56,5 +56,17 @@
Sign In
</button>
</form>
+
+ <div style="margin-top: 40px; padding-top: 40px; border-top: 1px solid var(--line); text-align: center;">
+ <p style="margin: 0 0 16px 0; color: var(--muted); font-size: 14px;">Want to learn more?</p>
+ <div style="display: flex; flex-direction: column; gap: 12px;">
+ <a href="/about" style="display: inline-block; padding: 11px 24px; background: var(--panel); color: var(--text); border: 1px solid var(--line); border-radius: 6px; text-decoration: none; font-weight: 500; font-size: 14px;">About the Rating System</a>
+ <a href="/tyler" style="display: inline-block; padding: 11px 24px; background: var(--panel); color: var(--text); border: 1px solid var(--line); border-radius: 6px; text-decoration: none; font-weight: 500; font-size: 14px;">View Profile</a>
+ </div>
+ </div>
+
+ <footer style="text-align: center; padding: 40px 20px; color: var(--muted); font-size: 12px; margin-top: 60px; border-top: 1px solid var(--line);">
+ <p style="margin: 0;">Made with <a href="https://git.tylerhoang.xyz/lumi.git/" style="color: var(--accent); text-decoration: none;">Lumière</a></p>
+ </footer>
</div>
{% endblock %}