From ad98462488549c2ebcbf6da35a24da8de2a73764 Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 23:09:10 +0000 Subject: [PATCH 1/2] Update src/app/page.tsx --- src/app/page.tsx | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 0cdc843..0b1433e 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -32,7 +32,7 @@ export default function LandingPage() { brandName="ServicePro" navItems={[ { name: "Services", id: "services" }, - { name: "Why Us", id: "about" }, + { name: "Why Us", id: "trust" }, { name: "Testimonials", id: "testimonials" }, { name: "Pricing", id: "pricing" }, { name: "Contact", id: "contact" } @@ -47,10 +47,11 @@ export default function LandingPage() { -
+
Date: Wed, 11 Mar 2026 23:09:10 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 65 ++++++++----------- 1 file changed, 26 insertions(+), 39 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..ba7d315 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,38 @@ -"use client"; +import React, { SVGAttributes } from 'react'; -import { memo } from "react"; -import useSvgTextLogo from "./useSvgTextLogo"; -import { cls } from "@/lib/utils"; - -interface SvgTextLogoProps { - logoText: string; - adjustHeightFactor?: number; - verticalAlign?: "top" | "center"; - className?: string; +interface SvgTextLogoProps extends SVGAttributes { + text?: string; + fontSize?: number; + fill?: string; + dominantBaseline?: 'auto' | 'text-bottom' | 'middle' | 'central' | 'text-top' | 'mathematical' | 'hanging'; } -const SvgTextLogo = memo(function SvgTextLogo({ - logoText, - adjustHeightFactor, - verticalAlign = "top", - className = "", -}) { - const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor); - +const SvgTextLogo: React.FC = ({ + text = 'Logo', + fontSize = 24, + fill = 'currentColor', + dominantBaseline = 'middle', + ...props +}) => { return ( - {logoText} + {text} ); -}); +}; -SvgTextLogo.displayName = "SvgTextLogo"; - -export default SvgTextLogo; +export default SvgTextLogo; \ No newline at end of file -- 2.49.1