feat: 更新产品图片资源并优化本地化配置
- 将远程图片资源迁移至本地public/images目录 - 更新所有语言版本的产品和应用的图片引用路径 - 调整next.config.mjs输出配置为export模式 - 优化首页组件图片引用和轮播按钮显示 - 同步更新多语言JSON文件中的图片路径
This commit is contained in:
@@ -18,7 +18,7 @@ export default function HomeComponent() {
|
||||
{/* 左边视频(图片占位) */}
|
||||
<div className="w-full lg:w-1/2 h-[50vh] lg:h-[60vh] relative overflow-hidden">
|
||||
<img
|
||||
src="http://kelunpuzhonggong.com/upload/img/20210508103620.jpg"
|
||||
src="/images/home_1.jpg"
|
||||
alt={t("company_video")}
|
||||
className="w-full h-full object-cover"
|
||||
/>
|
||||
@@ -289,20 +289,20 @@ export default function HomeComponent() {
|
||||
{/* 轮播容器 */}
|
||||
<div className="relative max-w-7xl mx-auto">
|
||||
{/* 左切换按钮 */}
|
||||
<button
|
||||
{/* <button
|
||||
id="prevSlide"
|
||||
className="absolute left-4 top-1/2 transform -translate-y-1/2 w-10 h-10 rounded-full bg-white shadow-md flex items-center justify-center text-gray-700 hover:bg-red-600 hover:text-white transition-colors z-20"
|
||||
>
|
||||
<
|
||||
</button>
|
||||
</button> */}
|
||||
|
||||
{/* 右切换按钮 */}
|
||||
<button
|
||||
{/* <button
|
||||
id="nextSlide"
|
||||
className="absolute right-4 top-1/2 transform -translate-y-1/2 w-10 h-10 rounded-full bg-white shadow-md flex items-center justify-center text-gray-700 hover:bg-red-600 hover:text-white transition-colors z-20"
|
||||
>
|
||||
>
|
||||
</button>
|
||||
</button> */}
|
||||
|
||||
{/* 轮播内容 */}
|
||||
<div className="overflow-hidden">
|
||||
|
||||
Reference in New Issue
Block a user