From 4d6f06036cfe9434cfec7efe30c67b8d65ba46c3 Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 21:20:34 +0000 Subject: [PATCH 1/2] Update src/app/page.tsx --- src/app/page.tsx | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 239923d..fe8b710 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -21,7 +21,7 @@ export default function LandingPage() { borderRadius="pill" contentWidth="compact" sizing="largeSizeMediumTitles" - background="circleGradient" + background="aurora" cardStyle="gradient-radial" primaryButtonStyle="double-inset" secondaryButtonStyle="solid" @@ -44,13 +44,13 @@ export default function LandingPage() { title="Mebel Berkualitas untuk Rumah Impian Anda" description="Temukan koleksi furniture premium dengan desain modern dan bahan berkualitas tinggi. Toko RBBK Mebel menyediakan berbagai pilihan mebel untuk rumah, apartemen, dan kantor Anda." tag="Mebel Terpercaya" - background={{ variant: "circleGradient" }} + background={{ variant: "plain" }} mediaItems={[ { - imageSrc: "http://img.b2bpic.net/free-photo/color-year-interior-design-space-with-furniture-decor_23-2151397355.jpg?_wi=1", imageAlt: "Ruang tamu modern dengan furniture kayu berkualitas" + imageSrc: "http://img.b2bpic.net/free-photo/color-year-interior-design-space-with-furniture-decor_23-2151397355.jpg", imageAlt: "Ruang tamu modern dengan furniture kayu berkualitas" }, { - imageSrc: "http://img.b2bpic.net/free-photo/room-interior-design_23-2148899459.jpg?_wi=1", imageAlt: "Kamar tidur elegan dengan tempat tidur kayu premium" + imageSrc: "http://img.b2bpic.net/free-photo/room-interior-design_23-2148899459.jpg", imageAlt: "Kamar tidur elegan dengan tempat tidur kayu premium" } ]} rating={5} @@ -72,19 +72,19 @@ export default function LandingPage() { products={[ { id: "1", brand: "RBBK Premium", name: "Lemari Pakaian Kayu Jati", price: "Rp 2.500.000", rating: 5, - reviewCount: "45", imageSrc: "http://img.b2bpic.net/free-photo/modern-styled-small-entryway_23-2150712875.jpg?_wi=1", imageAlt: "Lemari pakaian kayu jati berkualitas" + reviewCount: "45", imageSrc: "http://img.b2bpic.net/free-photo/modern-styled-small-entryway_23-2150712875.jpg", imageAlt: "Lemari pakaian kayu jati berkualitas" }, { id: "2", brand: "RBBK Premium", name: "Tempat Tidur Kayu Solid", price: "Rp 4.200.000", rating: 5, - reviewCount: "38", imageSrc: "http://img.b2bpic.net/free-photo/beautiful-luxury-comfortable-white-pillow-bed-blanket-decoration-bedroom_74190-8997.jpg?_wi=1", imageAlt: "Tempat tidur kayu solid modern" + reviewCount: "38", imageSrc: "http://img.b2bpic.net/free-photo/beautiful-luxury-comfortable-white-pillow-bed-blanket-decoration-bedroom_74190-8997.jpg", imageAlt: "Tempat tidur kayu solid modern" }, { id: "3", brand: "RBBK Premium", name: "Meja Makan Kayu Minimalis", price: "Rp 3.800.000", rating: 5, - reviewCount: "52", imageSrc: "http://img.b2bpic.net/free-photo/pillow-sofa_74190-3589.jpg?_wi=1", imageAlt: "Meja makan kayu minimalis untuk keluarga" + reviewCount: "52", imageSrc: "http://img.b2bpic.net/free-photo/pillow-sofa_74190-3589.jpg", imageAlt: "Meja makan kayu minimalis untuk keluarga" }, { id: "4", brand: "RBBK Premium", name: "Sofa Empuk Premium", price: "Rp 5.500.000", rating: 5, - reviewCount: "67", imageSrc: "http://img.b2bpic.net/free-photo/couch-with-yellow-cushion_1203-1106.jpg?_wi=1", imageAlt: "Sofa empuk premium untuk ruang tamu" + reviewCount: "67", imageSrc: "http://img.b2bpic.net/free-photo/couch-with-yellow-cushion_1203-1106.jpg", imageAlt: "Sofa empuk premium untuk ruang tamu" } ]} gridVariant="three-columns-all-equal-width" @@ -120,27 +120,27 @@ export default function LandingPage() { tag="Mengapa Memilih Kami" features={[ { - title: "Bahan Berkualitas Premium", description: "Menggunakan kayu pilihan dan material terbaik dengan proses QC yang ketat", imageSrc: "http://img.b2bpic.net/free-photo/color-year-interior-design-space-with-furniture-decor_23-2151397355.jpg?_wi=2", imageAlt: "Material kayu berkualitas", buttonIcon: CheckCircle, + title: "Bahan Berkualitas Premium", description: "Menggunakan kayu pilihan dan material terbaik dengan proses QC yang ketat", imageSrc: "http://img.b2bpic.net/free-photo/color-year-interior-design-space-with-furniture-decor_23-2151397355.jpg", imageAlt: "Material kayu berkualitas", buttonIcon: CheckCircle, buttonHref: "#contact" }, { - title: "Desain Modern & Klasik", description: "Koleksi lengkap dari desain minimalis hingga klasik sesuai selera Anda", imageSrc: "http://img.b2bpic.net/free-photo/room-interior-design_23-2148899459.jpg?_wi=2", imageAlt: "Desain furniture modern", buttonIcon: CheckCircle, + title: "Desain Modern & Klasik", description: "Koleksi lengkap dari desain minimalis hingga klasik sesuai selera Anda", imageSrc: "http://img.b2bpic.net/free-photo/room-interior-design_23-2148899459.jpg", imageAlt: "Desain furniture modern", buttonIcon: CheckCircle, buttonHref: "#contact" }, { - title: "Harga Terjangkau", description: "Harga kompetitif tanpa mengorbankan kualitas dengan berbagai pilihan pembayaran", imageSrc: "http://img.b2bpic.net/free-photo/pillow-sofa_74190-3589.jpg?_wi=2", imageAlt: "Harga terjangkau berkualitas", buttonIcon: CheckCircle, + title: "Harga Terjangkau", description: "Harga kompetitif tanpa mengorbankan kualitas dengan berbagai pilihan pembayaran", imageSrc: "http://img.b2bpic.net/free-photo/pillow-sofa_74190-3589.jpg", imageAlt: "Harga terjangkau berkualitas", buttonIcon: CheckCircle, buttonHref: "#contact" }, { - title: "Garansi & Layanan Terbaik", description: "Garansi resmi, konsultasi gratis, dan layanan purna jual yang responsif", imageSrc: "http://img.b2bpic.net/free-photo/couch-with-yellow-cushion_1203-1106.jpg?_wi=2", imageAlt: "Layanan pelanggan terbaik", buttonIcon: CheckCircle, + title: "Garansi & Layanan Terbaik", description: "Garansi resmi, konsultasi gratis, dan layanan purna jual yang responsif", imageSrc: "http://img.b2bpic.net/free-photo/couch-with-yellow-cushion_1203-1106.jpg", imageAlt: "Layanan pelanggan terbaik", buttonIcon: CheckCircle, buttonHref: "#contact" }, { - title: "Pengiriman & Instalasi", description: "Layanan pengiriman aman ke seluruh kota dengan tim profesional dan berpengalaman", imageSrc: "http://img.b2bpic.net/free-photo/modern-styled-small-entryway_23-2150712875.jpg?_wi=2", imageAlt: "Pengiriman dan instalasi", buttonIcon: CheckCircle, + title: "Pengiriman & Instalasi", description: "Layanan pengiriman aman ke seluruh kota dengan tim profesional dan berpengalaman", imageSrc: "http://img.b2bpic.net/free-photo/modern-styled-small-entryway_23-2150712875.jpg", imageAlt: "Pengiriman dan instalasi", buttonIcon: CheckCircle, buttonHref: "#contact" }, { - title: "Konsultasi Desain Interior", description: "Tim ahli siap membantu Anda merancang ruangan impian sesuai budget", imageSrc: "http://img.b2bpic.net/free-photo/beautiful-luxury-comfortable-white-pillow-bed-blanket-decoration-bedroom_74190-8997.jpg?_wi=2", imageAlt: "Konsultasi desain gratis", buttonIcon: CheckCircle, + title: "Konsultasi Desain Interior", description: "Tim ahli siap membantu Anda merancang ruangan impian sesuai budget", imageSrc: "http://img.b2bpic.net/free-photo/beautiful-luxury-comfortable-white-pillow-bed-blanket-decoration-bedroom_74190-8997.jpg", imageAlt: "Konsultasi desain gratis", buttonIcon: CheckCircle, buttonHref: "#contact" } ]} @@ -188,16 +188,16 @@ export default function LandingPage() { tag="Statistik Bisnis" metrics={[ { - id: "1", value: "5000+", title: "Pelanggan Puas", description: "Keluarga yang telah percaya pada produk kami", imageSrc: "http://img.b2bpic.net/free-photo/color-year-interior-design-space-with-furniture-decor_23-2151397355.jpg?_wi=3", imageAlt: "Ribuan pelanggan puas" + id: "1", value: "5000+", title: "Pelanggan Puas", description: "Keluarga yang telah percaya pada produk kami", imageSrc: "http://img.b2bpic.net/free-photo/color-year-interior-design-space-with-furniture-decor_23-2151397355.jpg", imageAlt: "Ribuan pelanggan puas" }, { - id: "2", value: "15", title: "Tahun Pengalaman", description: "Melayani dengan dedikasi sejak 2009", imageSrc: "http://img.b2bpic.net/free-photo/room-interior-design_23-2148899459.jpg?_wi=3", imageAlt: "Pengalaman melayani" + id: "2", value: "15", title: "Tahun Pengalaman", description: "Melayani dengan dedikasi sejak 2009", imageSrc: "http://img.b2bpic.net/free-photo/room-interior-design_23-2148899459.jpg", imageAlt: "Pengalaman melayani" }, { id: "3", value: "100%", title: "Kepuasan Pelanggan", description: "Komitmen pada kualitas dan layanan terbaik", imageSrc: "http://img.b2bpic.net/free-photo/small-table-chairs_1339-3303.jpg", imageAlt: "Kepuasan pelanggan" }, { - id: "4", value: "50+", title: "Desain Produk", description: "Koleksi furniture lengkap untuk setiap ruangan", imageSrc: "http://img.b2bpic.net/free-photo/pillow-sofa_74190-3589.jpg?_wi=3", imageAlt: "Ragam pilihan desain" + id: "4", value: "50+", title: "Desain Produk", description: "Koleksi furniture lengkap untuk setiap ruangan", imageSrc: "http://img.b2bpic.net/free-photo/pillow-sofa_74190-3589.jpg", imageAlt: "Ragam pilihan desain" } ]} animationType="slide-up" -- 2.49.1 From 5539f64baacb64e284134bb2e9404d5fd4e0b692 Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 21:20:34 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 53 ++++++------------- 1 file changed, 16 insertions(+), 37 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..cc52002 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,30 @@ -"use client"; - -import { memo } from "react"; -import useSvgTextLogo from "./useSvgTextLogo"; -import { cls } from "@/lib/utils"; +import React from 'react'; interface SvgTextLogoProps { - logoText: string; - adjustHeightFactor?: number; - verticalAlign?: "top" | "center"; + text: string; className?: string; } -const SvgTextLogo = memo(function SvgTextLogo({ - logoText, - adjustHeightFactor, - verticalAlign = "top", - className = "", -}) { - const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor); - +export const SvgTextLogo: React.FC = ({ text, className = '' }) => { return ( - {logoText} + {text} ); -}); +}; -SvgTextLogo.displayName = "SvgTextLogo"; - -export default SvgTextLogo; +export default SvgTextLogo; \ No newline at end of file -- 2.49.1