feat: 更新npm配置和国际化支持

- 添加越南语的服务条款和隐私政策文档
- 更新多语言JSON文件中的品牌名称
- 移除未使用的arch页面和依赖项
- 调整next.config.mjs的输出模式配置
- 更新generateStaticParams以包含越南语支持
This commit is contained in:
砂糖
2025-11-25 12:58:44 +08:00
parent aab5217c03
commit 39f554652d
12 changed files with 87 additions and 8118 deletions

View File

@@ -1,37 +0,0 @@
"use client";
import { useEffect } from "react";
import { useSectionStore } from "@/stores/sectionStore";
export default function Page() {
const { setSections } = useSectionStore();
useEffect(() => {
setSections([
{ id: "arch-vision", name: "友发愿景" },
{ id: "arch-products", name: "产品体系" },
{ id: "arch-application", name: "应用场景" },
{ id: "arch-contact", name: "联系方式" },
]);
}, [setSections]);
return (
<div className="w-full">
<section id="arch-vision" className="container mx-auto px-4 py-12">
<h2 className="text-3xl font-bold mb-4"></h2>
<p className="text-gray-600"></p>
</section>
<section id="arch-products" className="container mx-auto px-4 py-12">
<h2 className="text-3xl font-bold mb-4"></h2>
<p className="text-gray-600"></p>
</section>
<section id="arch-application" className="container mx-auto px-4 py-12">
<h2 className="text-3xl font-bold mb-4"></h2>
<p className="text-gray-600"></p>
</section>
<section id="arch-contact" className="container mx-auto px-4 py-12">
<h2 className="text-3xl font-bold mb-4"></h2>
<p className="text-gray-600"></p>
</section>
</div>
);
}

View File

@@ -6,10 +6,11 @@ export default function Home() {
return <HomeComponent />;
}
// export async function generateStaticParams() {
// return [
// { locale: 'en' },
// { locale: 'zh' },
// { locale: 'ja' },
// ]
// }
export async function generateStaticParams() {
return [
{ locale: 'en' },
{ locale: 'zh' },
{ locale: 'vi' },
// { locale: 'ja' },
]
}