feat: add landing page with service description and auth links

This commit is contained in:
apuc committed 2026-08-27 18:01:05 +03:00
1 parent 3d5915d930
commit 13db11e5a1
2 files changed
+281 -3

No files matched your search

+2 -3
View File
@@ -155,9 +155,8 @@ def health():
@app.get("/")
def root(request: Request):
if request.session.get("user_id"):
return RedirectResponse("/dashboard", status_code=303)
return RedirectResponse("/login", status_code=303)
# Посадочная страница с описанием сервиса
return render(request, "landing.html")
# === РЕГИСТРАЦИЯ ===