Merge version_1 into main #2

Merged
bender merged 2 commits from version_1 into main 2026-03-11 11:39:20 +00:00
2 changed files with 27 additions and 44 deletions

View File

@@ -56,12 +56,11 @@ export default function LandingPage() {
mediaItems={[
{ imageSrc: "http://img.b2bpic.net/free-photo/business-team-studying-documents_74855-1499.jpg", imageAlt: "Wealth advisory consultation" },
{ imageSrc: "http://img.b2bpic.net/free-photo/closeup-senior-businessman-with-arms-crossed_1262-1751.jpg", imageAlt: "Professional advisor" },
{ imageSrc: "http://img.b2bpic.net/free-photo/busy-collaboration-progress-documents-successful-charts_1418-457.jpg?_wi=1", imageAlt: "Portfolio management" },
{ imageSrc: "http://img.b2bpic.net/free-photo/back-view-young-business-man-talking-phone-sitting-his-office-diagrams-monitor_482257-34736.jpg?_wi=1", imageAlt: "Derivatives trading" },
{ imageSrc: "http://img.b2bpic.net/free-photo/black-male-candidate-presenting-cv-information-hr-assistant-formal-interview_482257-136426.jpg?_wi=1", imageAlt: "Financial strategy" }
{ imageSrc: "http://img.b2bpic.net/free-photo/busy-collaboration-progress-documents-successful-charts_1418-457.jpg", imageAlt: "Portfolio management" },
{ imageSrc: "http://img.b2bpic.net/free-photo/back-view-young-business-man-talking-phone-sitting-his-office-diagrams-monitor_482257-34736.jpg", imageAlt: "Derivatives trading" },
{ imageSrc: "http://img.b2bpic.net/free-photo/black-male-candidate-presenting-cv-information-hr-assistant-formal-interview_482257-136426.jpg", imageAlt: "Financial strategy" }
]}
ariaLabel="Wealth Advisory Hero Section"
useInvertedBackground={false}
/>
</div>
@@ -92,13 +91,13 @@ export default function LandingPage() {
useInvertedBackground={false}
features={[
{
id: "derivatives", title: "Futures & Options Advisory", description: "Expert guidance on index options, stock F&O, spreads, and multi-leg strategies. Our SEBI-registered analysts provide actionable insights for sophisticated traders.", tag: "Derivatives", imageSrc: "http://img.b2bpic.net/free-photo/back-view-young-business-man-talking-phone-sitting-his-office-diagrams-monitor_482257-34736.jpg?_wi=2", imageAlt: "Derivatives trading"
id: "derivatives", title: "Futures & Options Advisory", description: "Expert guidance on index options, stock F&O, spreads, and multi-leg strategies. Our SEBI-registered analysts provide actionable insights for sophisticated traders.", tag: "Derivatives", imageSrc: "http://img.b2bpic.net/free-photo/back-view-young-business-man-talking-phone-sitting-his-office-diagrams-monitor_482257-34736.jpg", imageAlt: "Derivatives trading"
},
{
id: "portfolio", title: "Wealth Portfolio Management", description: "Personalized portfolio construction and optimization tailored to your risk tolerance, investment horizon, and life priorities.", tag: "Wealth", imageSrc: "http://img.b2bpic.net/free-photo/busy-collaboration-progress-documents-successful-charts_1418-457.jpg?_wi=2", imageAlt: "Portfolio management"
id: "portfolio", title: "Wealth Portfolio Management", description: "Personalized portfolio construction and optimization tailored to your risk tolerance, investment horizon, and life priorities.", tag: "Wealth", imageSrc: "http://img.b2bpic.net/free-photo/busy-collaboration-progress-documents-successful-charts_1418-457.jpg", imageAlt: "Portfolio management"
},
{
id: "strategy", title: "Strategic Financial Planning", description: "Comprehensive wealth strategy development addressing asset allocation, tax efficiency, and long-term wealth preservation.", tag: "Strategy", imageSrc: "http://img.b2bpic.net/free-photo/black-male-candidate-presenting-cv-information-hr-assistant-formal-interview_482257-136426.jpg?_wi=2", imageAlt: "Financial strategy"
id: "strategy", title: "Strategic Financial Planning", description: "Comprehensive wealth strategy development addressing asset allocation, tax efficiency, and long-term wealth preservation.", tag: "Strategy", imageSrc: "http://img.b2bpic.net/free-photo/black-male-candidate-presenting-cv-information-hr-assistant-formal-interview_482257-136426.jpg", imageAlt: "Financial strategy"
}
]}
ariaLabel="Services and Features"

View File

@@ -1,51 +1,35 @@
"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;
textClassName?: string;
}
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 = '',
textClassName = '',
}) => {
return (
<svg
ref={svgRef}
viewBox={viewBox}
className={cls("w-full", className)}
style={{ aspectRatio: aspectRatio }}
preserveAspectRatio="none"
role="img"
aria-label={`${logoText} logo`}
className={`w-full h-full ${className}`}
viewBox="0 0 200 50"
xmlns="http://www.w3.org/2000/svg"
preserveAspectRatio="xMidYMid meet"
>
<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"
}}
x="50%"
y="50%"
textAnchor="middle"
dominantBaseline="middle"
className={`text-lg font-bold ${textClassName}`}
fill="currentColor"
>
{logoText}
{text}
</text>
</svg>
);
});
};
SvgTextLogo.displayName = "SvgTextLogo";
export default SvgTextLogo;
export default SvgTextLogo;