产品的主题色

This commit is contained in:
小潘
2026-06-29 09:27:05 +08:00
parent d9a3fc16a4
commit c56f65898b
5 changed files with 3 additions and 3 deletions

Before

Width:  |  Height:  |  Size: 2.5 MiB

After

Width:  |  Height:  |  Size: 2.5 MiB

+1 -1
View File
@@ -1,5 +1,5 @@
import { ArrowRight } from 'lucide-react';
import bag from '../assets/images/bag.mp4'
import bag from '../../public/bag.mp4'
// import { useEffect, useRef } from 'react';
// function ParticleNetwork() {
+1 -1
View File
@@ -25,7 +25,7 @@ export default function Contact() {
<section className="relative py-32 md:py-40 text-white overflow-hidden">
{/* Background image */}
<div className="absolute inset-0">
<img src={new URL('../assets/images/Carousel/huaban.jpg', import.meta.url).href} alt="" className="w-full h-full object-cover" />
<img src={new URL('../../public/huaban.jpg', import.meta.url).href} alt="" className="w-full h-full object-cover" />
</div>
{/* Black overlay */}
<div className="absolute inset-0 bg-black/50" />
+1 -1
View File
@@ -68,7 +68,7 @@ export default function ProductPage() {
<div className="relative -mt-[70px]">
<section className="relative overflow-hidden" style={{ backgroundColor: product.themeColor }}>
{/* Desktop: grid 布局 — 统一宽度/高度/间距 */}
<div className="hidden md:grid grid-cols-2 gap-12 lg:gap-20 xl:gap-28 max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 min-h-[760px] items-center">
<div className="hidden md:grid grid-cols-2 gap-12 lg:gap-20 xl:gap-28 max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 min-h-[920px] items-center">
{/* Image - left */}
<div className="flex items-center justify-center">
{product.heroImage && (