From c5768862b7a17043358cdbfef619e8f93bc57419 Mon Sep 17 00:00:00 2001 From: Jason Robert Date: Sun, 22 Mar 2026 09:09:51 -0500 Subject: [PATCH] feat(web): add favicon to dashboard Add an SVG favicon (purple rounded square with conductor baton motif) served at /favicon.svg. Includes the source in frontend/public/ and a dedicated FastAPI route for the built static version. --- src/conductor/web/frontend/index.html | 1 + src/conductor/web/frontend/public/favicon.svg | 16 ++++++++++++++++ src/conductor/web/server.py | 7 +++++++ src/conductor/web/static/favicon.svg | 16 ++++++++++++++++ src/conductor/web/static/index.html | 1 + 5 files changed, 41 insertions(+) create mode 100644 src/conductor/web/frontend/public/favicon.svg create mode 100644 src/conductor/web/static/favicon.svg diff --git a/src/conductor/web/frontend/index.html b/src/conductor/web/frontend/index.html index 5e33234..b68eadf 100644 --- a/src/conductor/web/frontend/index.html +++ b/src/conductor/web/frontend/index.html @@ -2,6 +2,7 @@ + Conductor Dashboard diff --git a/src/conductor/web/frontend/public/favicon.svg b/src/conductor/web/frontend/public/favicon.svg new file mode 100644 index 0000000..ae3190d --- /dev/null +++ b/src/conductor/web/frontend/public/favicon.svg @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + diff --git a/src/conductor/web/server.py b/src/conductor/web/server.py index 89611f6..b9e772f 100644 --- a/src/conductor/web/server.py +++ b/src/conductor/web/server.py @@ -129,6 +129,13 @@ async def index() -> FileResponse: media_type="text/html", ) + @app.get("/favicon.svg") + async def favicon() -> FileResponse: + return FileResponse( + _STATIC_DIR / "favicon.svg", + media_type="image/svg+xml", + ) + @app.get("/api/state") async def get_state() -> JSONResponse: return JSONResponse(content=self._event_history) diff --git a/src/conductor/web/static/favicon.svg b/src/conductor/web/static/favicon.svg new file mode 100644 index 0000000..ae3190d --- /dev/null +++ b/src/conductor/web/static/favicon.svg @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + diff --git a/src/conductor/web/static/index.html b/src/conductor/web/static/index.html index 5611422..9db2818 100644 --- a/src/conductor/web/static/index.html +++ b/src/conductor/web/static/index.html @@ -2,6 +2,7 @@ + Conductor Dashboard