feat: add AI Chat route and localization support in English and Chinese
This commit is contained in:
parent
395f753025
commit
0794c7d297
@ -320,6 +320,10 @@
|
|||||||
"title": "AI Image",
|
"title": "AI Image",
|
||||||
"description": "Show how to use AI to generate beautiful images"
|
"description": "Show how to use AI to generate beautiful images"
|
||||||
},
|
},
|
||||||
|
"chat": {
|
||||||
|
"title": "AI Chat",
|
||||||
|
"description": "Show how to use AI to chat with your customers"
|
||||||
|
},
|
||||||
"video": {
|
"video": {
|
||||||
"title": "AI Video",
|
"title": "AI Video",
|
||||||
"description": "Show how to use AI to generate amazing videos"
|
"description": "Show how to use AI to generate amazing videos"
|
||||||
|
@ -320,6 +320,10 @@
|
|||||||
"title": "AI 图像",
|
"title": "AI 图像",
|
||||||
"description": "展示如何使用 AI 生成精美图像"
|
"description": "展示如何使用 AI 生成精美图像"
|
||||||
},
|
},
|
||||||
|
"chat": {
|
||||||
|
"title": "AI 聊天",
|
||||||
|
"description": "展示如何使用 AI 与客户聊天"
|
||||||
|
},
|
||||||
"video": {
|
"video": {
|
||||||
"title": "AI 视频",
|
"title": "AI 视频",
|
||||||
"description": "展示如何使用 AI 生成惊人视频"
|
"description": "展示如何使用 AI 生成惊人视频"
|
||||||
|
@ -20,6 +20,7 @@ import {
|
|||||||
LogInIcon,
|
LogInIcon,
|
||||||
MailIcon,
|
MailIcon,
|
||||||
MailboxIcon,
|
MailboxIcon,
|
||||||
|
MessageCircleIcon,
|
||||||
NewspaperIcon,
|
NewspaperIcon,
|
||||||
RocketIcon,
|
RocketIcon,
|
||||||
ShieldCheckIcon,
|
ShieldCheckIcon,
|
||||||
@ -95,6 +96,13 @@ export function getNavbarLinks(): NestedMenuItem[] {
|
|||||||
href: Routes.AIImage,
|
href: Routes.AIImage,
|
||||||
external: false,
|
external: false,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
title: t('ai.items.chat.title'),
|
||||||
|
description: t('ai.items.chat.description'),
|
||||||
|
icon: <MessageCircleIcon className="size-4 shrink-0" />,
|
||||||
|
href: Routes.AIChat,
|
||||||
|
external: false,
|
||||||
|
},
|
||||||
// {
|
// {
|
||||||
// title: t('ai.items.video.title'),
|
// title: t('ai.items.video.title'),
|
||||||
// description: t('ai.items.video.description'),
|
// description: t('ai.items.video.description'),
|
||||||
|
@ -40,6 +40,7 @@ export enum Routes {
|
|||||||
// AI routes
|
// AI routes
|
||||||
AIText = '/ai/text',
|
AIText = '/ai/text',
|
||||||
AIImage = '/ai/image',
|
AIImage = '/ai/image',
|
||||||
|
AIChat = '/ai/chat',
|
||||||
AIVideo = '/ai/video',
|
AIVideo = '/ai/video',
|
||||||
AIAudio = '/ai/audio',
|
AIAudio = '/ai/audio',
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user