diff --git a/api/main.py b/api/main.py index 40ae6a1..d31e4a1 100644 --- a/api/main.py +++ b/api/main.py @@ -355,6 +355,14 @@ async def index_page(): return JSONResponse({"error": "index.html not found"}, status_code=404) +@app.get("/favicon.svg") +async def favicon(): + path = os.path.join(WEB_DIR, "favicon.svg") + if os.path.exists(path): + return FileResponse(path, media_type="image/svg+xml") + raise HTTPException(404, "favicon not found") + + @app.get("/dashboard") async def dashboard_page(): path = os.path.join(WEB_DIR, "dashboard.html") diff --git a/web/dashboard.html b/web/dashboard.html index 82e484a..70ee02e 100644 --- a/web/dashboard.html +++ b/web/dashboard.html @@ -3,6 +3,7 @@ + AgriTrust — Protocol Dashboard diff --git a/web/farmer.html b/web/farmer.html index 2181c82..fdf50f0 100644 --- a/web/farmer.html +++ b/web/farmer.html @@ -3,6 +3,7 @@ + AgriTrust — Farmer Portal diff --git a/web/favicon.svg b/web/favicon.svg new file mode 100644 index 0000000..d677d19 --- /dev/null +++ b/web/favicon.svg @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + + + + + + + diff --git a/web/index.html b/web/index.html index 7d7699e..f67733e 100644 --- a/web/index.html +++ b/web/index.html @@ -3,6 +3,7 @@ + AgriTrust — Autonomous Trade-Finance for Emerging-Market Farmers diff --git a/web/lp.html b/web/lp.html index 786fdb7..62db236 100644 --- a/web/lp.html +++ b/web/lp.html @@ -3,6 +3,7 @@ + AgriTrust — LP Portal