From 082dafd55bcd6aa17558f579eeebd1e9a7bae259 Mon Sep 17 00:00:00 2001 From: Sam Bradbury <31943456+sambradbury@users.noreply.github.com> Date: Thu, 19 Jun 2025 18:47:56 -0500 Subject: [PATCH] Use official logo in Goose web (#3012) Co-authored-by: Sam Bradbury --- crates/goose-cli/src/commands/web.rs | 10 ++++++++++ crates/goose-cli/static/index.html | 12 ++++++------ crates/goose-cli/static/style.css | 22 ++++++++++++++++------ 3 files changed, 32 insertions(+), 12 deletions(-) diff --git a/crates/goose-cli/src/commands/web.rs b/crates/goose-cli/src/commands/web.rs index e1dcec6f..a50b8c52 100644 --- a/crates/goose-cli/src/commands/web.rs +++ b/crates/goose-cli/src/commands/web.rs @@ -199,6 +199,16 @@ async fn serve_static(axum::extract::Path(path): axum::extract::Path) -> include_str!("../../static/script.js"), ) .into_response(), + "img/logo_dark.png" => ( + [("content-type", "image/png")], + include_bytes!("../../../../documentation/static/img/logo_dark.png").to_vec(), + ) + .into_response(), + "img/logo_light.png" => ( + [("content-type", "image/png")], + include_bytes!("../../../../documentation/static/img/logo_light.png").to_vec(), + ) + .into_response(), _ => (axum::http::StatusCode::NOT_FOUND, "Not found").into_response(), } } diff --git a/crates/goose-cli/static/index.html b/crates/goose-cli/static/index.html index f52b03bf..6010bede 100644 --- a/crates/goose-cli/static/index.html +++ b/crates/goose-cli/static/index.html @@ -12,13 +12,13 @@

Goose Chat

Connecting...
- +

Welcome to Goose!

I'm your AI assistant. How can I help you today?

- +
What can you do?
Demo writing and reading files
@@ -28,10 +28,10 @@
- +
-