diff --git a/src/app/page.tsx b/src/app/page.tsx index 6cc3d58..a1a117e 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -46,7 +46,7 @@ export default function LandingPage() { @@ -256,6 +257,7 @@ export default function LandingPage() { ]} textPosition="left" useInvertedBackground={false} + faqsAnimation="slide-up" animationType="smooth" /> @@ -265,7 +267,7 @@ export default function LandingPage() { tag="Ready to Trade?" title="Start Your Forex Trading Journey Today" description="Join thousands of successful traders on HOLLY FOREX. Sign up for our newsletter to receive market insights, trading signals, and exclusive updates." - background={{ variant: "circleGradient" }} + background={{ variant: "glowing-orb" }} useInvertedBackground={false} inputPlaceholder="Enter your email address" buttonText="Get Started" diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..4e256c8 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; + fillColor?: string; + fontSize?: 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 = '', + fillColor = 'currentColor', + fontSize = 24, +}) => { return ( - {logoText} + {text} ); -}); +}; -SvgTextLogo.displayName = "SvgTextLogo"; - -export default SvgTextLogo; +export default SvgTextLogo; \ No newline at end of file