update bestsales,spv,price j5
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Anang Yusman 2026-04-10 14:41:20 +08:00
parent baa3647050
commit 566d56aa49
4 changed files with 22 additions and 24 deletions

View File

@ -155,28 +155,26 @@ export default function HeaderAbout() {
Best Sales of The Month & SPV of The Month Best Sales of The Month & SPV of The Month
</motion.h2> </motion.h2>
<div className="grid grid-cols-1 sm:grid-cols-2 md:grid-cols-4 gap-6"> <div className="flex flex-wrap justify-center gap-6">
{["/Asset18.png", "/Asset19.png", "/Asset20.png", "/Asset21.png"].map( {["/bestspv1.jpeg", "/bestspv2.jpeg"].map((src, index) => (
(src, index) => ( <motion.div
<motion.div key={src}
key={src} initial={{ opacity: 0, scale: 0.95 }}
initial={{ opacity: 0, scale: 0.95 }} whileInView={{ opacity: 1, scale: 1 }}
whileInView={{ opacity: 1, scale: 1 }} transition={{ duration: 0.5, delay: index * 0.1 }}
transition={{ duration: 0.5, delay: index * 0.1 }} viewport={{ once: true }}
viewport={{ once: true }} className="w-full sm:w-[45%] md:w-[300px] relative overflow-hidden rounded-xl"
className="relative w-full overflow-hidden rounded-xl" >
> <Image
<Image src={src}
src={src} alt={`static-gallery-${index}`}
alt={`static-gallery-${index}`} width={800}
width={800} height={1000}
height={1000} className="w-full h-auto rounded-xl hover:scale-105 transition-transform duration-500"
className="w-full h-[auto] rounded-xl hover:scale-105 transition-transform duration-500" sizes="(max-width: 768px) 100vw, 300px"
sizes="(max-width: 768px) 100vw, 400px" />
/> </motion.div>
</motion.div> ))}
),
)}
</div> </div>
</div> </div>
</section> </section>

View File

@ -33,8 +33,8 @@ export default function HeaderPriceInformation() {
{ {
title: "JAECOO J5 EV", title: "JAECOO J5 EV",
image: "/price-j5.png", image: "/price-j5.png",
price: "Rp 299.900.000", price: "Rp 309.900.000",
oldPrice: "Rp 299.900.000", oldPrice: "Rp 309.900.000",
capacity: "60.9kWh", capacity: "60.9kWh",
power: "155kW", power: "155kW",
torque: "288Nm", torque: "288Nm",

BIN
public/bestspv1.jpeg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 470 KiB

BIN
public/bestspv2.jpeg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 565 KiB