This commit is contained in:
songtianlun 2025-09-11 00:10:35 +08:00
parent c994529d01
commit 79f575b9b9
5 changed files with 17 additions and 1 deletions

View File

@ -333,6 +333,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"
}, },
"images": {
"title": "AI Images",
"description": "use AI to generate beautiful images"
},
"chat": { "chat": {
"title": "AI Chat", "title": "AI Chat",
"description": "Show how to use AI to chat with your customers" "description": "Show how to use AI to chat with your customers"

View File

@ -333,6 +333,10 @@
"title": "AI 图像", "title": "AI 图像",
"description": "展示如何使用 AI 生成精美图像" "description": "展示如何使用 AI 生成精美图像"
}, },
"images": {
"title": "AI 图像生成",
"description": "使用 AI 生成精美图像"
},
"chat": { "chat": {
"title": "AI 聊天", "title": "AI 聊天",
"description": "展示如何使用 AI 与客户聊天" "description": "展示如何使用 AI 与客户聊天"

View File

@ -25,7 +25,7 @@ export async function generateMetadata({
}); });
} }
export default async function AIImagePage() { export default async function AIImagesPage() {
const t = await getTranslations('AIImagesPage'); const t = await getTranslations('AIImagesPage');
return ( return (

View File

@ -103,6 +103,13 @@ export function useNavbarLinks(): NestedMenuItem[] {
href: Routes.AIChat, href: Routes.AIChat,
external: false, external: false,
}, },
{
title: t('ai.items.images.title'),
description: t('ai.items.images.description'),
icon: <ImageIcon className="size-4 shrink-0" />,
href: Routes.AIImages,
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'),

View File

@ -40,6 +40,7 @@ export enum Routes {
// AI routes // AI routes
AIText = '/ai/text', AIText = '/ai/text',
AIImage = '/ai/image', AIImage = '/ai/image',
AIImages = '/ai/images',
AIChat = '/ai/chat', AIChat = '/ai/chat',
AIVideo = '/ai/video', AIVideo = '/ai/video',
AIAudio = '/ai/audio', AIAudio = '/ai/audio',