From fcd361d3747a5bb141a5ee2cf177cdcd848087a1 Mon Sep 17 00:00:00 2001 From: Thomas Kosiewski Date: Mon, 21 Jul 2025 11:04:21 +0200 Subject: [PATCH] feat: add logo SVG and replace inline SVG with image reference (#18930) # Replace SVG with external logo file in OAuth2 authorization page This PR replaces the inline SVG logo in the OAuth2 authorization page with a reference to an external SVG file. The change: 1. Adds a new `logo.svg` file in the static directory with the Coder logo 2. Updates the OAuth2 authorization page to use this external file instead of embedding the SVG directly This approach improves maintainability by centralizing the logo in a single file and reduces duplication in the codebase. --- site/static/logo.svg | 4 ++++ site/static/oauth2allow.html | 44 +----------------------------------- 2 files changed, 5 insertions(+), 43 deletions(-) create mode 100644 site/static/logo.svg diff --git a/site/static/logo.svg b/site/static/logo.svg new file mode 100644 index 0000000000..adf9f2e910 --- /dev/null +++ b/site/static/logo.svg @@ -0,0 +1,4 @@ + + Coder logo + + \ No newline at end of file diff --git a/site/static/oauth2allow.html b/site/static/oauth2allow.html index ded982f9d5..d1aa84ecd0 100644 --- a/site/static/oauth2allow.html +++ b/site/static/oauth2allow.html @@ -110,49 +110,7 @@ links */}}
+
{{end}} - - - - - - - - - - - - - - - + Coder

Authorize {{ .AppName }}