From 88360ec3f6211c378fd048c842cd9fb31ff17bb7 Mon Sep 17 00:00:00 2001 From: Towsty Date: Fri, 28 Aug 2026 18:22:21 -0500 Subject: [PATCH] Use an inverted favicon on AIGen and keep the current icon on xAIGen. Co-authored-by: Cursor --- app.vue | 13 +++++++++++++ nuxt.config.ts | 5 ++++- public/favicon-aigen.svg | 5 +++++ 3 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 public/favicon-aigen.svg diff --git a/app.vue b/app.vue index 2b1be09..7819cfc 100644 --- a/app.vue +++ b/app.vue @@ -3,3 +3,16 @@ + + diff --git a/nuxt.config.ts b/nuxt.config.ts index 6c66d8a..37388f4 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -1,3 +1,6 @@ +const xaigenStudio = /^xaigen$/i.test(String(process.env.NUXT_PUBLIC_STUDIO || '').trim()) + || /xaigen/i.test(String(process.env.NUXT_PUBLIC_INSTANCE_NAME || '').trim()) + export default defineNuxtConfig({ compatibilityDate: '2025-08-01', modules: ['@nuxtjs/tailwindcss'], @@ -13,7 +16,7 @@ export default defineNuxtConfig({ { name: 'description', content: 'Headless MiniMax H3 image-to-video studio relayed to local ComfyUI.' } ], link: [ - { rel: 'icon', type: 'image/svg+xml', href: '/favicon.svg' }, + { rel: 'icon', type: 'image/svg+xml', href: xaigenStudio ? '/favicon.svg' : '/favicon-aigen.svg' }, { rel: 'preconnect', href: 'https://fonts.googleapis.com' }, { rel: 'preconnect', href: 'https://fonts.gstatic.com', crossorigin: '' }, { diff --git a/public/favicon-aigen.svg b/public/favicon-aigen.svg new file mode 100644 index 0000000..51ea3ff --- /dev/null +++ b/public/favicon-aigen.svg @@ -0,0 +1,5 @@ + + + + +