feat: 更新产品图片和内容,优化首页展示

- 新增产品线相关图片资源
- 更新中英文产品内容中的图片引用路径
- 简化首页标题并移除应用领域板块
- 优化产品中心展示内容
- 更新公司描述信息
This commit is contained in:
砂糖
2026-01-29 13:27:44 +08:00
parent 99ce2b7fb8
commit 8600a01ce4
46 changed files with 100 additions and 344 deletions

View File

@@ -12,12 +12,9 @@ export async function getLines(locale: string): Promise<Line[]> {
for (const file of files.map((file) => file.replace('.mdx', ''))) {
const contentPath = path.join(process.cwd(), `content/lines/${locale}/${file}.mdx`);
const fileContent = fs.readFileSync(contentPath, 'utf8');
// console.log(fileContent);
const { data: frontmatter, content } = matter(fileContent);
console.log(frontmatter);
workShops.push(frontmatter as Line);
}
console.log(workShops, files);
return workShops;
}