diff --git a/README.md b/README.md index e37415ce02..e3c772edb0 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,9 @@ -# Sub2API -
+Sub2API Logo + +# Sub2API + [![Go](https://img.shields.io/badge/Go-1.25.7-00ADD8.svg)](https://golang.org/) [![Vue](https://img.shields.io/badge/Vue-3.4+-4FC08D.svg)](https://vuejs.org/) [![PostgreSQL](https://img.shields.io/badge/PostgreSQL-15+-336791.svg)](https://www.postgresql.org/) diff --git a/README_CN.md b/README_CN.md index 8ec654bb1f..beece5c6b0 100644 --- a/README_CN.md +++ b/README_CN.md @@ -1,7 +1,9 @@ -# Sub2API -
+Sub2API Logo + +# Sub2API + [![Go](https://img.shields.io/badge/Go-1.25.7-00ADD8.svg)](https://golang.org/) [![Vue](https://img.shields.io/badge/Vue-3.4+-4FC08D.svg)](https://vuejs.org/) [![PostgreSQL](https://img.shields.io/badge/PostgreSQL-15+-336791.svg)](https://www.postgresql.org/) diff --git a/README_JA.md b/README_JA.md index a1b53cb530..48220480ad 100644 --- a/README_JA.md +++ b/README_JA.md @@ -1,7 +1,9 @@ -# Sub2API -
+Sub2API Logo + +# Sub2API + [![Go](https://img.shields.io/badge/Go-1.25.7-00ADD8.svg)](https://golang.org/) [![Vue](https://img.shields.io/badge/Vue-3.4+-4FC08D.svg)](https://vuejs.org/) [![PostgreSQL](https://img.shields.io/badge/PostgreSQL-15+-336791.svg)](https://www.postgresql.org/) diff --git a/assets/logo.svg b/assets/logo.svg new file mode 100644 index 0000000000..aae9dae913 --- /dev/null +++ b/assets/logo.svg @@ -0,0 +1,32 @@ + + Sub2API + An interlocking S symbol representing subscription routing into APIs. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/frontend/index.html b/frontend/index.html index 3180a5fbbd..245db62961 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -2,7 +2,7 @@ - + Sub2API - AI API Gateway diff --git a/frontend/public/logo.png b/frontend/public/logo.png deleted file mode 100644 index 7d3fa42038..0000000000 Binary files a/frontend/public/logo.png and /dev/null differ diff --git a/frontend/public/logo.svg b/frontend/public/logo.svg new file mode 100644 index 0000000000..aae9dae913 --- /dev/null +++ b/frontend/public/logo.svg @@ -0,0 +1,32 @@ + + Sub2API + An interlocking S symbol representing subscription routing into APIs. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/frontend/src/components/layout/AppSidebar.vue b/frontend/src/components/layout/AppSidebar.vue index ea89b8d80b..2b519e37c9 100644 --- a/frontend/src/components/layout/AppSidebar.vue +++ b/frontend/src/components/layout/AppSidebar.vue @@ -14,7 +14,7 @@ class="sidebar-logo flex h-9 w-9 items-center justify-center overflow-hidden rounded-xl shadow-glow transition-opacity hover:opacity-80" @click="handleMenuItemClick(homePath)" > - Logo + Logo

{{ siteName }} diff --git a/frontend/src/utils/__tests__/branding.spec.ts b/frontend/src/utils/__tests__/branding.spec.ts index 192c180c16..2b781f9519 100644 --- a/frontend/src/utils/__tests__/branding.spec.ts +++ b/frontend/src/utils/__tests__/branding.spec.ts @@ -3,7 +3,7 @@ import { updateFavicon } from '@/utils/branding' describe('updateFavicon', () => { beforeEach(() => { - document.head.innerHTML = '' + document.head.innerHTML = '' }) it('replaces the default favicon with the configured logo', () => { @@ -17,6 +17,6 @@ describe('updateFavicon', () => { updateFavicon('javascript:alert(1)') const link = document.querySelector('link[rel="icon"]') - expect(link?.getAttribute('href')).toBe('/logo.png') + expect(link?.getAttribute('href')).toBe('/logo.svg') }) }) diff --git a/frontend/src/views/HomeView.vue b/frontend/src/views/HomeView.vue index f88742a92a..e01aa53a50 100644 --- a/frontend/src/views/HomeView.vue +++ b/frontend/src/views/HomeView.vue @@ -42,7 +42,7 @@
- Logo + Logo
diff --git a/frontend/src/views/KeyUsageView.vue b/frontend/src/views/KeyUsageView.vue index 32581a14ef..49a205fc4b 100644 --- a/frontend/src/views/KeyUsageView.vue +++ b/frontend/src/views/KeyUsageView.vue @@ -5,7 +5,7 @@