diff --git a/components/landing-page/galery.tsx b/components/landing-page/galery.tsx
index 59d59fa..3b9ee8c 100644
--- a/components/landing-page/galery.tsx
+++ b/components/landing-page/galery.tsx
@@ -11,6 +11,17 @@ import {
export default function GallerySection() {
const [data, setData] = useState([]);
const [loading, setLoading] = useState(false);
+ const TABS = [
+ "All",
+ "Grand Opening",
+ "IIMS",
+ "GIIAS",
+ "GJAW",
+ "Exhibitions",
+ "Test Drive",
+ ];
+
+ const [activeTab, setActiveTab] = useState("All");
const fetchData = async () => {
try {
@@ -54,34 +65,62 @@ export default function GallerySection() {
fetchData();
}, []);
+ const filteredData = data.filter((item) => {
+ if (activeTab === "All") return true;
+ if (activeTab === "Grand Opening") return true; // sementara
+ return false; // tab lain belum ada konten
+ });
+
return (
Galeri Kami
+
+ {TABS.map((tab) => (
+
+ ))}
+
{loading ? (
Loading...
) : (
- {data.map((item: any) => (
-
- {item.image_url ? (
-
- ) : (
-
- No Image
-
- )}
-
- ))}
+ {filteredData.length > 0 ? (
+ filteredData.map((item: any) => (
+
+ {item.image_url ? (
+
+ ) : (
+
+ No Image
+
+ )}
+
+ ))
+ ) : (
+
+ Konten belum tersedia
+
+ )}
)}
diff --git a/components/landing-page/header-price.tsx b/components/landing-page/header-price.tsx
index d17890f..29db6cc 100644
--- a/components/landing-page/header-price.tsx
+++ b/components/landing-page/header-price.tsx
@@ -45,7 +45,7 @@ export default function HeaderPriceInformation() {
{
title: "JAECOO J8 SHS-P ARDIS",
image: "/j8-awd-nobg.png",
- price: "Rp 812.000.000",
+ price: "Rp 828.000.000",
oldPrice: "Rp 828.000.000",
capacity: "34,46kWh",
torque: "650Nm",
diff --git a/components/landing-page/header-product-j8-awd.tsx b/components/landing-page/header-product-j8-awd.tsx
index ef3cfab..e50ad59 100644
--- a/components/landing-page/header-product-j8-awd.tsx
+++ b/components/landing-page/header-product-j8-awd.tsx
@@ -25,7 +25,12 @@ export default function HeaderProductJ8Awd() {
// const embedLink = `https://drive.google.com/file/d/${fileId}/preview`;
// const downloadLink = `https://drive.google.com/uc?export=download&id=${fileId}`;
- const images = ["/green.png", "/silver.png", "/white.png", "/black.png"];
+ const images = [
+ "/j8-green-ardis.png",
+ "/j8-silver-ardis.png",
+ "/j8-white-ardis.png",
+ "/j8-ardis-black.png",
+ ];
const gradients = [
"linear-gradient(to bottom, #527D97, #1F6779)",
diff --git a/components/landing-page/header.tsx b/components/landing-page/header.tsx
index 008e8a4..0b941d2 100644
--- a/components/landing-page/header.tsx
+++ b/components/landing-page/header.tsx
@@ -86,18 +86,18 @@ export default function Header() {
const plugin = useRef(Autoplay({ delay: 4000, stopOnInteraction: false }));
return (
-
+
{banners.map((banner, index) => (
-
+
{/* {index === 0 && (
diff --git a/components/landing-page/interior-shs.tsx b/components/landing-page/interior-shs.tsx
index 298b8e9..d10b230 100644
--- a/components/landing-page/interior-shs.tsx
+++ b/components/landing-page/interior-shs.tsx
@@ -5,10 +5,9 @@ import { useInView } from "react-intersection-observer";
const featuresInt = [
{
- 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: "/in-shs2.png",
+ title: "13.2 Screen with APPLE Carplay & Android Auto",
+ description: "13.2 Full HD Center Display",
+ image: "/headunit.png",
},
{
title: "Horizontal Side by Side Cup Holder",
@@ -24,9 +23,8 @@ const featuresInt = [
},
{
title: "Wireless Charging",
- description:
- "Stay powered up on the go with Wireless Charging, ensuring your devices are always ready when you are.",
- image: "/in-shs5.png",
+ description: "Fast Wireless Charging 50W",
+ image: "/charging.png",
},
];
@@ -78,7 +76,7 @@ export default function InteriorShs() {
transition={{ duration: 0.7 }}
>
-
- Sosial Media Kami
-
+ {/* Title */}
+ Sosial Media Kami
+
+ Preview konten dari media sosial resmi kami
+
-
+ {/* Tabs */}
+
{tabs.map((tab) => (
))}
+ {/* INSTAGRAM */}
{activeTab === "INSTAGRAM" && (
<>
-
+
{instagramPosts.map((img, i) => (
-
-
-
+
+
+
+ {/* Overlay */}
+
+
+ View on Instagram
+
+
+
+
))}
-
-
+
>
)}
+ {/* TIKTOK */}
{activeTab === "TIKTOK" && (
<>
-
+
{tiktokPosts.map((img, i) => (
-
-
-
+
+
+
+ {/* Overlay */}
+
+
+ View on TikTok
+
+
+
+
))}
-
-
+
+
-
-
- >
- )}
-
- {activeTab === "FACEBOOK" && (
- <>
-
- {facebookPosts.map((img, i) => (
-
-
-
- ))}
-
-
-
-
-
-
-
- >
- )}
-
- {activeTab === "YOUTUBE" && (
- <>
-
- {youtubePosts.map((img, i) => (
-
-
-
- ))}
-
-
-
-
-
diff --git a/components/landing-page/video.tsx b/components/landing-page/video.tsx
index fc522a9..ab5c80d 100644
--- a/components/landing-page/video.tsx
+++ b/components/landing-page/video.tsx
@@ -45,15 +45,14 @@ export default function Video() {
return (
-
+
- s
diff --git a/public/charging.png b/public/charging.png
new file mode 100644
index 0000000..d190a19
Binary files /dev/null and b/public/charging.png differ
diff --git a/public/front.png b/public/front.png
new file mode 100644
index 0000000..ad160ea
Binary files /dev/null and b/public/front.png differ
diff --git a/public/headunit.png b/public/headunit.png
new file mode 100644
index 0000000..80d6e56
Binary files /dev/null and b/public/headunit.png differ
diff --git a/public/inter.png b/public/inter.png
new file mode 100644
index 0000000..95c7775
Binary files /dev/null and b/public/inter.png differ
diff --git a/public/isra.png b/public/isra.png
new file mode 100644
index 0000000..aef1098
Binary files /dev/null and b/public/isra.png differ
diff --git a/public/j8-ardis-black.png b/public/j8-ardis-black.png
new file mode 100644
index 0000000..f538110
Binary files /dev/null and b/public/j8-ardis-black.png differ
diff --git a/public/j8-green-ardis.png b/public/j8-green-ardis.png
new file mode 100644
index 0000000..00ce4dc
Binary files /dev/null and b/public/j8-green-ardis.png differ
diff --git a/public/j8-silver-ardis.png b/public/j8-silver-ardis.png
new file mode 100644
index 0000000..02d2be6
Binary files /dev/null and b/public/j8-silver-ardis.png differ
diff --git a/public/j8-white-ardis.png b/public/j8-white-ardis.png
new file mode 100644
index 0000000..7816e44
Binary files /dev/null and b/public/j8-white-ardis.png differ
diff --git a/public/panoramic.png b/public/panoramic.png
new file mode 100644
index 0000000..79d6acb
Binary files /dev/null and b/public/panoramic.png differ
diff --git a/public/rear.png b/public/rear.png
new file mode 100644
index 0000000..ef3032a
Binary files /dev/null and b/public/rear.png differ
diff --git a/public/tiktok1.jpeg b/public/tiktok1.jpeg
new file mode 100644
index 0000000..8e0d8ad
Binary files /dev/null and b/public/tiktok1.jpeg differ
diff --git a/public/tiktok2.jpeg b/public/tiktok2.jpeg
new file mode 100644
index 0000000..b5f86b0
Binary files /dev/null and b/public/tiktok2.jpeg differ
diff --git a/public/tiktok3.jpeg b/public/tiktok3.jpeg
new file mode 100644
index 0000000..f283dc9
Binary files /dev/null and b/public/tiktok3.jpeg differ