Add hand-drawn sketch favicon and PWA icons, align popup form labels above inputs, and compact shopping list typography

This commit is contained in:
2026-10-15 21:57:58 +02:00
parent dd875d40ef
commit fef6956d62
11 changed files with 176 additions and 51 deletions
+7
View File
@@ -242,6 +242,13 @@ def get_service_worker():
return FileResponse(sw_path, media_type="application/javascript", headers={"Service-Worker-Allowed": "/"})
raise HTTPException(status_code=404, detail="Service worker not found")
@app.get("/favicon.ico")
def get_favicon():
ico_path = os.path.join(STATIC_DIR, "favicon.ico")
if os.path.exists(ico_path):
return FileResponse(ico_path, media_type="image/x-icon")
raise HTTPException(status_code=404, detail="Favicon not found")
# ==========================================
# AUTH VIEWS