From a0d1c00e7a42257f92ec2c7aa229337d7d7c155c Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 17:01:58 +0000 Subject: [PATCH 1/2] Update src/app/page.tsx --- src/app/page.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 95e03fc..ae831c3 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -62,7 +62,6 @@ export default function LandingPage() { { text: "WhatsApp Us", href: "https://wa.me/919039529658" } ]} buttonAnimation="slide-up" - useInvertedBackground={false} /> -- 2.49.1 From a84fa1085a0716ccc7fdc6505b6f259e2250e701 Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 17:01:59 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 88 +++++++++---------- 1 file changed, 43 insertions(+), 45 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..ea60e2b 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,49 @@ -"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; + fontFamily?: string; + fontWeight?: number | string; + dominantBaseline?: 'auto' | 'baseline' | 'before-edge' | 'hanging' | 'ideographic' | 'middle' | 'mathematical' | 'after-edge' | 'central'; } -const SvgTextLogo = memo(function SvgTextLogo({ - logoText, - adjustHeightFactor, - verticalAlign = "top", - className = "", -}) { - const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor); - - return ( - - ( + ( + { + text = 'Logo', + fontSize = 24, + fontFamily = 'Arial, sans-serif', + fontWeight = 'bold', + dominantBaseline = 'middle', + ...props + }, + ref + ) => { + return ( + - {logoText} - - - ); -}); + + {text} + + + ); + } +); -SvgTextLogo.displayName = "SvgTextLogo"; +SvgTextLogo.displayName = 'SvgTextLogo'; -export default SvgTextLogo; +export default SvgTextLogo; \ No newline at end of file -- 2.49.1