From 3bfb05787c1caeef6e6919c7bb59cfd06b5a041b Mon Sep 17 00:00:00 2001 From: bender Date: Mon, 18 May 2026 11:12:49 +0000 Subject: [PATCH] Update src/app/page.tsx --- src/app/page.tsx | 200 +++++++++++------------------------------------ 1 file changed, 47 insertions(+), 153 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index cbac6df..e5f6a30 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -30,21 +30,13 @@ export default function LandingPage() { @@ -53,65 +45,40 @@ export default function LandingPage() {
@@ -124,59 +91,23 @@ export default function LandingPage() { useInvertedBackground={false} products={[ { - id: "1", - brand: "Beku-Beku", - name: "Frozen Chicken", - price: "Tersedia", - rating: 5, - reviewCount: "120", - imageSrc: "http://img.b2bpic.net/free-photo/top-view-organic-raw-chicken-meats-plate_114579-85966.jpg", - }, + id: "1", brand: "Beku-Beku", name: "Frozen Chicken", price: "Tersedia", rating: 5, + reviewCount: "120", imageSrc: "http://img.b2bpic.net/free-photo/top-view-organic-raw-chicken-meats-plate_114579-85966.jpg"}, { - id: "2", - brand: "Beku-Beku", - name: "Frozen Dimpling", - price: "Tersedia", - rating: 5, - reviewCount: "85", - imageSrc: "http://img.b2bpic.net/free-photo/raw-dumplings-wooden-board_114579-30393.jpg", - }, + id: "2", brand: "Beku-Beku", name: "Frozen Dimpling", price: "Tersedia", rating: 5, + reviewCount: "85", imageSrc: "http://img.b2bpic.net/free-photo/raw-dumplings-wooden-board_114579-30393.jpg"}, { - id: "3", - brand: "Beku-Beku", - name: "Frozen Bakso", - price: "Tersedia", - rating: 5, - reviewCount: "92", - imageSrc: "http://img.b2bpic.net/free-photo/high-angle-composition-delicious-indonesian-bakso_23-2148933314.jpg", - }, + id: "3", brand: "Beku-Beku", name: "Frozen Bakso", price: "Tersedia", rating: 5, + reviewCount: "92", imageSrc: "http://img.b2bpic.net/free-photo/high-angle-composition-delicious-indonesian-bakso_23-2148933314.jpg"}, { - id: "4", - brand: "Beku-Beku", - name: "Cuanki Bandung", - price: "Tersedia", - rating: 5, - reviewCount: "67", - imageSrc: "http://img.b2bpic.net/free-photo/traditional-organic-scandinavian-rhubarb-pie-closeup-soft-selective-focus-slice-pie-shoulder-blade_166373-2580.jpg", - }, + id: "4", brand: "Beku-Beku", name: "Cuanki Bandung", price: "Tersedia", rating: 5, + reviewCount: "67", imageSrc: "http://img.b2bpic.net/free-photo/traditional-organic-scandinavian-rhubarb-pie-closeup-soft-selective-focus-slice-pie-shoulder-blade_166373-2580.jpg"}, { - id: "5", - brand: "Beku-Beku", - name: "Hampers Spesial", - price: "Segera Hadir", - rating: 5, - reviewCount: "40", - imageSrc: "http://img.b2bpic.net/free-photo/high-angle-presents-cookies-arrangement_23-2149343247.jpg", - }, + id: "5", brand: "Beku-Beku", name: "Hampers Spesial", price: "Segera Hadir", rating: 5, + reviewCount: "40", imageSrc: "http://img.b2bpic.net/free-photo/high-angle-presents-cookies-arrangement_23-2149343247.jpg"}, { - id: "6", - brand: "Beku-Beku", - name: "Paket Bundling", - price: "Segera Hadir", - rating: 5, - reviewCount: "55", - imageSrc: "http://img.b2bpic.net/free-vector/hand-drawn-tasty-food-restaurant-facebook-template_23-2150939431.jpg", - }, + id: "6", brand: "Beku-Beku", name: "Paket Bundling", price: "Segera Hadir", rating: 5, + reviewCount: "55", imageSrc: "http://img.b2bpic.net/free-vector/hand-drawn-tasty-food-restaurant-facebook-template_23-2150939431.jpg"}, ]} title="Produk Unggulan" description="Berbagai pilihan produk beku premium untuk kebutuhan dapur Anda." @@ -188,34 +119,20 @@ export default function LandingPage() { animationType="slide-up" textboxLayout="split" useInvertedBackground={true} + cardClassName="group/price-card transition-all duration-300" + priceClassName="opacity-0 group-hover/price-card:opacity-100 transition-opacity duration-300" plans={[ { - id: "chicken", - badge: "Chicken", - price: "Rp 59.000", - subtitle: "Daftar harga ayam per kg", - features: [ - "0.8-0.9kg: Rp 59rb", - "0.9-1kg: Rp 63rb", - "Dada/Paha: Rp 62rb-85rb", - "Sayap: Rp 56rb", - ], + id: "chicken", badge: "Chicken", price: "Rp 59.000", subtitle: "Daftar harga ayam per kg", features: [ + "0.8-0.9kg: Rp 59rb", "0.9-1kg: Rp 63rb", "Dada/Paha: Rp 62rb-85rb", "Sayap: Rp 56rb"], }, { - id: "others", - badge: "Other", - price: "Segera", - subtitle: "Produk lainnya", - features: [ - "Bakso Premium", - "Dimsum Ayam", - "Cuanki Instan", - "Hampers Eksklusif", - ], + id: "others", badge: "Other", price: "Segera", subtitle: "Produk lainnya", features: [ + "Bakso Premium", "Dimsum Ayam", "Cuanki Instan", "Hampers Eksklusif"], }, ]} title="Daftar Harga" - description="Harga kompetitif untuk kualitas ayam dan olahan premium." + description="Harga kompetitif untuk kualitas ayam dan olahan premium. Arahkan kursor ke nama produk untuk melihat harga." /> @@ -225,9 +142,7 @@ export default function LandingPage() { title="Hampers Eksklusif Beku-Beku" buttons={[ { - text: "Lihat Detail Hampers", - href: "#pesan", - }, + text: "Lihat Detail Hampers", href: "#pesan"}, ]} /> @@ -239,40 +154,20 @@ export default function LandingPage() { useInvertedBackground={true} metrics={[ { - id: "m1", - value: "100%", - title: "Fresh Ingredients", - items: [ - "Tanpa Pengawet", - "Alami", - ], + id: "m1", value: "100%", title: "Fresh Ingredients", items: [ + "Tanpa Pengawet", "Alami"], }, { - id: "m2", - value: "Cold", - title: "Cold Chain Maintained", - items: [ - "Terjaga Suhu", - "Higienis", - ], + id: "m2", value: "Cold", title: "Cold Chain Maintained", items: [ + "Terjaga Suhu", "Higienis"], }, { - id: "m3", - value: "Bintaro", - title: "Area Delivery", - items: [ - "Cepat", - "Terpercaya", - ], + id: "m3", value: "Bintaro", title: "Area Delivery", items: [ + "Cepat", "Terpercaya"], }, { - id: "m4", - value: "Love", - title: "Made With Love", - items: [ - "Homemade", - "Kualitas Tinggi", - ], + id: "m4", value: "Love", title: "Made With Love", items: [ + "Homemade", "Kualitas Tinggi"], }, ]} title="Mengapa Kami" @@ -284,8 +179,7 @@ export default function LandingPage() { ); -} +} \ No newline at end of file -- 2.49.1