From afe30ffce564ee827691161696d8ceb2e185bc08 Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 12 Mar 2026 13:46:26 +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 a72f1e9..753614e 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -160,7 +160,6 @@ export default function LandingPage() { tag="Service Areas" textboxLayout="default" useInvertedBackground={false} - animationType="slide-up" names={["Dubai", "Ajman", "Abu Dhabi", "Sharjah", "UAE"]} speed={40} showCard={true} -- 2.49.1 From dbfba5453e5e83450d7b1c30b6603fa84d987a35 Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 12 Mar 2026 13:46:27 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 65 ++++++++----------- 1 file changed, 28 insertions(+), 37 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..3f23e21 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,42 @@ -"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; + fontWeight?: number | string; + fill?: string; + dominantBaseline?: 'middle' | 'central' | 'hanging' | 'auto' | 'baseline' | 'text-bottom' | 'alphabetic'; } -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 = 48, + fontWeight = 700, + fill = 'currentColor', + dominantBaseline = 'middle' +}) => { return ( - {logoText} + {text} ); -}); +}; -SvgTextLogo.displayName = "SvgTextLogo"; - -export default SvgTextLogo; +export default SvgTextLogo; \ No newline at end of file -- 2.49.1