From b4c86b6d54e4c0f84f399eae3c4139e7c1e05335 Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 17:49:32 +0000 Subject: [PATCH 1/2] Update src/app/page.tsx --- src/app/page.tsx | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index aee2e2e..540bd94 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -9,7 +9,7 @@ import TestimonialAboutCard from '@/components/sections/about/TestimonialAboutCa import TestimonialCardFive from '@/components/sections/testimonial/TestimonialCardFive'; import ContactSplitForm from '@/components/sections/contact/ContactSplitForm'; import FooterSimple from '@/components/sections/footer/FooterSimple'; -import { AlertCircle, Star, Award, ThumbsUp, Camera, Pipe, Wrench, Droplets, Zap, CheckCircle, Quote } from 'lucide-react'; +import { AlertCircle, Star, Award, ThumbsUp, Camera, Wrench, Droplets, Zap, CheckCircle, Quote } from 'lucide-react'; export default function LandingPage() { return ( @@ -19,7 +19,7 @@ export default function LandingPage() { borderRadius="soft" contentWidth="medium" sizing="largeSmall" - background="blurBottom" + background="circleGradient" cardStyle="outline" primaryButtonStyle="radial-glow" secondaryButtonStyle="radial-glow" @@ -40,14 +40,14 @@ export default function LandingPage() { Date: Wed, 11 Mar 2026 17:49:32 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 64 ++++++++----------- 1 file changed, 28 insertions(+), 36 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..2282457 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,43 @@ -"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; + fontSize?: number; + fontFamily?: string; + fill?: string; + textAnchor?: 'start' | 'middle' | 'end'; + dominantBaseline?: SVGAttributes['dominantBaseline']; className?: 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, + fontSize = 24, + fontFamily = 'Arial', + fill = '#000', + textAnchor = 'middle', + dominantBaseline = 'central', + className = '', +}) => { return ( - {logoText} + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; +}; export default SvgTextLogo; -- 2.49.1