Merge version_1 into main #1

Merged
bender merged 2 commits from version_1 into main 2026-03-11 17:36:10 +00:00
2 changed files with 25 additions and 38 deletions

View File

@@ -46,7 +46,7 @@ export default function LandingPage() {
<HeroSplitKpi
title="Trade Forex with Confidence"
description="Welcome to HOLLY FOREX, your premium platform for real-time currency trading. Access live market data, advanced analytics, and professional trading tools designed for both beginners and experienced traders."
background={{ variant: "circleGradient" }}
background={{ variant: "glowing-orb" }}
kpis={[
{ value: "50+", label: "Currency Pairs" },
{ value: "24/7", label: "Market Access" },
@@ -173,6 +173,7 @@ export default function LandingPage() {
{ id: "3", value: "50+", description: "Currency pairs available for trading 24/7" },
{ id: "4", value: "99.9%", description: "Platform uptime guarantee for uninterrupted trading" }
]}
metricsAnimation="slide-up"
useInvertedBackground={false}
/>
</div>
@@ -256,6 +257,7 @@ export default function LandingPage() {
]}
textPosition="left"
useInvertedBackground={false}
faqsAnimation="slide-up"
animationType="smooth"
/>
</div>
@@ -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"

View File

@@ -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<SvgTextLogoProps>(function SvgTextLogo({
logoText,
adjustHeightFactor,
verticalAlign = "top",
className = "",
}) {
const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor);
const SvgTextLogo: React.FC<SvgTextLogoProps> = ({
text,
className = '',
fillColor = 'currentColor',
fontSize = 24,
}) => {
return (
<svg
ref={svgRef}
viewBox={viewBox}
className={cls("w-full", className)}
style={{ aspectRatio: aspectRatio }}
preserveAspectRatio="none"
role="img"
aria-label={`${logoText} logo`}
viewBox={`0 0 ${text.length * 20} 40`}
className={className}
xmlns="http://www.w3.org/2000/svg"
>
<text
ref={textRef}
x="0"
y={verticalAlign === "center" ? "50%" : "0"}
className="font-bold fill-current"
style={{
fontSize: "20px",
letterSpacing: "-0.02em",
dominantBaseline: verticalAlign === "center" ? "middle" : "text-before-edge"
}}
y="32"
fontSize={fontSize}
fill={fillColor}
fontFamily="Arial, sans-serif"
dominantBaseline="middle"
>
{logoText}
{text}
</text>
</svg>
);
});
};
SvgTextLogo.displayName = "SvgTextLogo";
export default SvgTextLogo;
export default SvgTextLogo;