Add nanobanana (#270)
Co-authored-by: AceDataCloud <office@acedata.cloud>
This commit is contained in:
1 parent
76f1dc562d
commit
5717b02e12
139 files changed
+4971
-1635
No files matched your search
@@ -45,7 +45,8 @@ import {
|
||||
ROUTE_PIXVERSE_INDEX,
|
||||
ROUTE_PIXVERSE_HISTORY,
|
||||
ROUTE_VEO_INDEX,
|
||||
ROUTE_VEO_HISTORY
|
||||
ROUTE_VEO_HISTORY,
|
||||
ROUTE_NANOBANANA_INDEX
|
||||
} from '@/router/constants';
|
||||
import { CHAT_MODEL_ICON_CHATGPT, CHAT_MODEL_ICON_DEEPSEEK, CHAT_MODEL_ICON_GROK } from '@/constants/chat';
|
||||
import Logo from './Logo.vue';
|
||||
@@ -132,6 +133,17 @@ export default defineComponent({
|
||||
routes: [ROUTE_FLUX_INDEX]
|
||||
});
|
||||
}
|
||||
// Add nanobanana's leftmost icon
|
||||
if (this.$store?.state?.site?.features?.nanobanana?.enabled) {
|
||||
result.push({
|
||||
route: {
|
||||
name: ROUTE_NANOBANANA_INDEX
|
||||
},
|
||||
displayName: this.$t('common.nav.nanobanana'),
|
||||
logo: 'https://cdn.acedata.cloud/859plc.jpg',
|
||||
routes: [ROUTE_NANOBANANA_INDEX]
|
||||
});
|
||||
}
|
||||
// Add qrart's leftmost icon
|
||||
// if (this.$store?.state?.site?.features?.qrart?.enabled) {
|
||||
// result.push({
|
||||
|
||||
Reference in new issue
Block a user