"use client"; import Image from "next/image"; import { motion } from "framer-motion"; import { useInView } from "react-intersection-observer"; const features = [ { title: "14.8 Screen with APPLE Carplay & Android Auto", description: "Stay connected and informed with a 14.8 display offering clear visuals and advanced functionality for a seamless driving experience.", image: "/j5-fitur2.jpg", }, { title: "", description: "", image: "/j5-fitur3.jpg", }, { title: "", description: "", image: "/j5-fitur4.jpg", }, { title: "Wireless Charging", description: "Stay powered up on the go with Wireless Charging, ensuring your devices are always ready when you are.", image: "/j5-fitur7.png", }, ]; const interior = [ { title: "", description: "", image: "/j5-fitur8.jpg", }, { title: "", description: "", image: "/j5-fitur6.jpeg", }, { title: "Sony 8-Speaker Audio system", description: "Immerse yourself in rich, high-quality sound with the Sony 8-speaker audio system, delivering an exceptional listening experience on every journey.", image: "/j5-fitur5.jpg", }, ]; export default function Interior() { const { ref, inView } = useInView({ triggerOnce: true, threshold: 0.2 }); return (
Jaecoo 7 SHS-P{" "} Fitur Interior Hero
{features.map((item, index) => ( {item.title}

{item.title}

{item.description}

))}
{interior.map((item, index) => ( {item.title}

{item.title}

{item.description}

))}
); }