From 7b2b1750153796457da8078067b01b3cedc1d2f0 Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 20:59:00 +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 9c7b47b..276994d 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -123,6 +123,7 @@ export default function LandingPage() { imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AocraaRzS0ANJ3zzgoQ80VBgRQ/a-modern-collaborative-workspace-showing-1773262648319-4bee95e9.png" imageAlt="AISync team collaborating on AI projects" mediaAnimation="slide-up" + metricsAnimation="slide-up" useInvertedBackground={false} /> -- 2.49.1 From 2f98cd47af1895689efeda5f61460748ff3f3a4a Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 20:59:01 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 51 ++++++------------- 1 file changed, 15 insertions(+), 36 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..0e1f5c7 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,30 @@ -"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); - +const SvgTextLogo: React.FC = ({ text, className = '' }) => { return ( - {logoText} + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; +}; export default SvgTextLogo; -- 2.49.1