feat: 添加产品中心功能并优化博客系统
- 新增产品中心功能,包括产品列表页和详情页 - 实现产品多语言支持(中文、英文、越南语) - 重构博客系统,从API获取改为本地MDX文件管理 - 更新favicon为PNG格式并修复相关引用 - 添加产品类型定义和获取逻辑 - 优化首页应用场景图片和链接 - 完善国际化配置和翻译 - 新增产品详情页标签切换组件 - 修复代理配置中的favicon路径问题
This commit is contained in:
12
types/product.ts
Normal file
12
types/product.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
export type Product = {
|
||||
locale: string;
|
||||
title: string;
|
||||
model: string;
|
||||
place: string;
|
||||
publishedTime: Date;
|
||||
images: string[];
|
||||
detail: string;
|
||||
spec: string[];
|
||||
packaging: string;
|
||||
slug: string;
|
||||
}
|
||||
Reference in New Issue
Block a user