From 01b95c48377c1af4707a37f0a53d5f1da2c3fef0 Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 03:19:54 +0000 Subject: [PATCH 1/2] Update src/app/page.tsx --- src/app/page.tsx | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 5896b59..2d9810c 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -9,7 +9,7 @@ import ProductCardTwo from '@/components/sections/product/ProductCardTwo'; import TestimonialCardSixteen from '@/components/sections/testimonial/TestimonialCardSixteen'; import ContactFaq from '@/components/sections/contact/ContactFaq'; import FooterLogoEmphasis from '@/components/sections/footer/FooterLogoEmphasis'; -import { CheckCircle, Zap, Wrench, Gallery, Star, Phone } from 'lucide-react'; +import { CheckCircle, Zap, Wrench, ImageIcon, Star, Phone } from 'lucide-react'; export default function LandingPage() { return ( @@ -118,7 +118,7 @@ export default function LandingPage() { title="Recent Projects & Portfolio" description="Explore our portfolio of completed machining and fabrication projects. Each project showcases our commitment to precision, quality, and customer satisfaction." tag="Portfolio" - tagIcon={Gallery} + tagIcon={ImageIcon} tagAnimation="slide-up" textboxLayout="default" animationType="slide-up" @@ -153,20 +153,16 @@ export default function LandingPage() { animationType="slide-up" testimonials={[ { - id: "1", name: "Mark Stevens", role: "Fleet Manager", company: "Premier Automotive Solutions", rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/blond-businessman-happy-expression_1194-3693.jpg" + id: "1", name: "Mark Stevens", role: "Fleet Manager", company: "Premier Automotive Solutions", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/blond-businessman-happy-expression_1194-3693.jpg" }, { - id: "2", name: "Robert Chen", role: "Engineering Director", company: "Industrial Manufacturing Inc", rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/businessman-with-glasses-arms-folded_1098-44.jpg" + id: "2", name: "Robert Chen", role: "Engineering Director", company: "Industrial Manufacturing Inc", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/businessman-with-glasses-arms-folded_1098-44.jpg" }, { - id: "3", name: "Jennifer Walsh", role: "Operations Manager", company: "Custom Fabrication Services", rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/smiling-business-woman-front-glass-building_23-2147704437.jpg" + id: "3", name: "Jennifer Walsh", role: "Operations Manager", company: "Custom Fabrication Services", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/smiling-business-woman-front-glass-building_23-2147704437.jpg" }, { - id: "4", name: "David Martinez", role: "Procurement Lead", company: "Precision Equipment Corp", rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/man-talking-phone-front-view_23-2149915914.jpg" + id: "4", name: "David Martinez", role: "Procurement Lead", company: "Precision Equipment Corp", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/man-talking-phone-front-view_23-2149915914.jpg" } ]} kpiItems={[ -- 2.49.1 From a3352bb3c754e889433ec8219b34caabac33b6c6 Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 03:19:55 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 52 +++++-------------- 1 file changed, 14 insertions(+), 38 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..0356408 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,27 @@ -"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; +}; -- 2.49.1