diff --git a/src/app/page.tsx b/src/app/page.tsx index e6134bb..12c8e26 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -148,7 +148,6 @@ export default function LandingPage() { id: "6", name: "Lisa Thompson", role: "Head of Shipping, RetailGlobal", testimonial: "Competitive pricing, superior service, and unmatched reliability. GlobalShip is our partner of choice for worldwide distribution.", imageSrc: "http://img.b2bpic.net/free-photo/mature-woman-writing-down-tasks_1398-4144.jpg", imageAlt: "Lisa Thompson" } ]} - gridVariant="three-columns-all-equal-width" textboxLayout="default" animationType="slide-up" useInvertedBackground={true} @@ -163,7 +162,7 @@ export default function LandingPage() { { text: "Get Your Quote", href: "#contact-form" }, { text: "Call Us Now", href: "tel:+1-800-SHIP-NOW" } ]} - background={{ variant: "aurora" }} + background={{ variant: "plain" }} useInvertedBackground={false} /> diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..4f6d645 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,36 @@ -"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; +export default SvgTextLogo; \ No newline at end of file