From 8aecf693df37721984b69d1c08ec08fef19b666d Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 12 Mar 2026 06:27:13 +0000 Subject: [PATCH 1/2] Update src/app/page.tsx --- src/app/page.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/app/page.tsx b/src/app/page.tsx index cbaa566..a9a4f15 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -135,6 +135,7 @@ export default function LandingPage() { title="Our impact speaks volumes. Proven results that drive real business growth for our clients." tag="By The Numbers" tagAnimation="slide-up" + metricsAnimation="slide-up" metrics={[ { id: "1", value: "200+", description: "Global brands trust us to elevate their social presence and drive measurable results." From 30318c49ef85e9f694142e5fd3d468ea380eb5af Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 12 Mar 2026 06:27:14 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 71 ++++++++++--------- 1 file changed, 37 insertions(+), 34 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..385c270 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,54 @@ -"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; + fontFamily?: string; + fontWeight?: string | number; + fill?: string; + letterSpacing?: number; } -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, + fontFamily = 'system-ui, -apple-system, sans-serif', + fontWeight = 'bold', + fill = 'currentColor', + letterSpacing = 0, +}) => { + const textLength = text.length; + const estimatedWidth = textLength * fontSize * 0.6; + const padding = fontSize * 0.2; + const width = estimatedWidth + padding * 2; + const height = fontSize + padding * 2; return ( - {logoText} + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; +}; export default SvgTextLogo;