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",
|
||||
"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": {
|
||||
"title": "AI Video",
|
||||
"description": "Show how to use AI to generate amazing videos"
|
||||
|
@ -320,6 +320,10 @@
|
||||
"title": "AI 图像",
|
||||
"description": "展示如何使用 AI 生成精美图像"
|
||||
},
|
||||
"chat": {
|
||||
"title": "AI 聊天",
|
||||
"description": "展示如何使用 AI 与客户聊天"
|
||||
},
|
||||
"video": {
|
||||
"title": "AI 视频",
|
||||
"description": "展示如何使用 AI 生成惊人视频"
|
||||
|
@ -20,6 +20,7 @@ import {
|
||||
LogInIcon,
|
||||
MailIcon,
|
||||
MailboxIcon,
|
||||
MessageCircleIcon,
|
||||
NewspaperIcon,
|
||||
RocketIcon,
|
||||
ShieldCheckIcon,
|
||||
@ -95,6 +96,13 @@ export function getNavbarLinks(): NestedMenuItem[] {
|
||||
href: Routes.AIImage,
|
||||
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'),
|
||||
// description: t('ai.items.video.description'),
|
||||
|
@ -40,6 +40,7 @@ export enum Routes {
|
||||
// AI routes
|
||||
AIText = '/ai/text',
|
||||
AIImage = '/ai/image',
|
||||
AIChat = '/ai/chat',
|
||||
AIVideo = '/ai/video',
|
||||
AIAudio = '/ai/audio',
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user