From b198942ac286dba73aac593f9b549347f1ee170f Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 22:12:56 +0000 Subject: [PATCH 1/2] Update src/app/page.tsx --- src/app/page.tsx | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index ca33bbd..6be7b5e 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -49,16 +49,16 @@ export default function LandingPage() { background={{ variant: "radial-gradient" }} mediaItems={[ { - imageSrc: "http://img.b2bpic.net/free-photo/female-artist-with-her-assistant-aprons-painting-vintage-chair-with-paintbrush-workshop_613910-18234.jpg?_wi=1", imageAlt: "Premium craftsmanship workshop" + imageSrc: "http://img.b2bpic.net/free-photo/female-artist-with-her-assistant-aprons-painting-vintage-chair-with-paintbrush-workshop_613910-18234.jpg", imageAlt: "Premium craftsmanship workshop" }, { - imageSrc: "http://img.b2bpic.net/free-photo/holy-book-with-golden-pages-symbolizing-faith-wisdom-bible-closeup_169016-71310.jpg?_wi=1", imageAlt: "Luxury product showcase" + imageSrc: "http://img.b2bpic.net/free-photo/holy-book-with-golden-pages-symbolizing-faith-wisdom-bible-closeup_169016-71310.jpg", imageAlt: "Luxury product showcase" }, { - imageSrc: "http://img.b2bpic.net/free-photo/man-working-his-wood-shop-with-tools-equipment_23-2150861545.jpg?_wi=1", imageAlt: "Master craftsman at work" + imageSrc: "http://img.b2bpic.net/free-photo/man-working-his-wood-shop-with-tools-equipment_23-2150861545.jpg", imageAlt: "Master craftsman at work" }, { - imageSrc: "http://img.b2bpic.net/free-photo/stacked-aesthetic-objects-still-life_23-2150230633.jpg?_wi=1", imageAlt: "Fine crafted details" + imageSrc: "http://img.b2bpic.net/free-photo/stacked-aesthetic-objects-still-life_23-2150230633.jpg", imageAlt: "Fine crafted details" } ]} mediaAnimation="slide-up" @@ -95,19 +95,19 @@ export default function LandingPage() { features={[ { id: 1, - title: "Master Selection", description: "We source only the finest materials from trusted suppliers worldwide, ensuring premium quality in every component.", imageSrc: "http://img.b2bpic.net/free-photo/female-artist-with-her-assistant-aprons-painting-vintage-chair-with-paintbrush-workshop_613910-18234.jpg?_wi=2", imageAlt: "Material selection process" + title: "Master Selection", description: "We source only the finest materials from trusted suppliers worldwide, ensuring premium quality in every component.", imageSrc: "http://img.b2bpic.net/free-photo/female-artist-with-her-assistant-aprons-painting-vintage-chair-with-paintbrush-workshop_613910-18234.jpg", imageAlt: "Material selection process" }, { id: 2, - title: "Precision Crafting", description: "Our skilled artisans employ time-tested techniques combined with modern precision equipment for flawless execution.", imageSrc: "http://img.b2bpic.net/free-photo/holy-book-with-golden-pages-symbolizing-faith-wisdom-bible-closeup_169016-71310.jpg?_wi=2", imageAlt: "Precision crafting detail" + title: "Precision Crafting", description: "Our skilled artisans employ time-tested techniques combined with modern precision equipment for flawless execution.", imageSrc: "http://img.b2bpic.net/free-photo/holy-book-with-golden-pages-symbolizing-faith-wisdom-bible-closeup_169016-71310.jpg", imageAlt: "Precision crafting detail" }, { id: 3, - title: "Quality Assurance", description: "Each product undergoes rigorous testing and inspection to meet our exacting standards before delivery.", imageSrc: "http://img.b2bpic.net/free-photo/man-working-his-wood-shop-with-tools-equipment_23-2150861545.jpg?_wi=2", imageAlt: "Quality control inspection" + title: "Quality Assurance", description: "Each product undergoes rigorous testing and inspection to meet our exacting standards before delivery.", imageSrc: "http://img.b2bpic.net/free-photo/man-working-his-wood-shop-with-tools-equipment_23-2150861545.jpg", imageAlt: "Quality control inspection" }, { id: 4, - title: "Heritage Delivery", description: "Presented with pride in premium packaging that reflects the extraordinary quality within.", imageSrc: "http://img.b2bpic.net/free-photo/stacked-aesthetic-objects-still-life_23-2150230633.jpg?_wi=2", imageAlt: "Luxury product presentation" + title: "Heritage Delivery", description: "Presented with pride in premium packaging that reflects the extraordinary quality within.", imageSrc: "http://img.b2bpic.net/free-photo/stacked-aesthetic-objects-still-life_23-2150230633.jpg", imageAlt: "Luxury product presentation" } ]} textboxLayout="default" @@ -126,6 +126,9 @@ export default function LandingPage() { tagAnimation="opacity" textboxLayout="default" useInvertedBackground={false} + names={[ + "BMW", "Mercedes-Benz", "Porsche", "Audi", "Volkswagen", "Lamborghini", "Bugatti" + ]} logos={[ "http://img.b2bpic.net/free-vector/gradient-auto-parts-logo-design_23-2149460684.jpg", "http://img.b2bpic.net/free-vector/elegant-pack-vintage-logo-templates_23-2147846139.jpg", "http://img.b2bpic.net/free-vector/vintage-car-logo-collection_23-2147730872.jpg", "http://img.b2bpic.net/free-vector/set-abstract-vehicle-logos_23-2147606226.jpg", "http://img.b2bpic.net/free-vector/logo-template-design_1289-105.jpg", "http://img.b2bpic.net/free-vector/gradient-ap-monogram-logo_23-2150203160.jpg", "http://img.b2bpic.net/free-vector/logos-collection-with-vintage-luxury-style_23-2147842744.jpg" ]} -- 2.49.1 From 8feecaae8e6ea691526ff1f326bba47f7ea15734 Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 22:12:57 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 57 +++++++------------ 1 file changed, 21 insertions(+), 36 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..c6fd96e 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,36 @@ -"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; + fontSize?: number; + fontWeight?: number | string; } -const SvgTextLogo = memo(function SvgTextLogo({ - logoText, - adjustHeightFactor, - verticalAlign = "top", - className = "", -}) { - const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor); - +const SvgTextLogo: React.FC = ({ + text, + className = '', + fontSize = 24, + fontWeight = 'bold', +}) => { return ( - {logoText} + {text} ); -}); +}; -SvgTextLogo.displayName = "SvgTextLogo"; - -export default SvgTextLogo; +export default SvgTextLogo; \ No newline at end of file -- 2.49.1