diff --git a/src/app/page.tsx b/src/app/page.tsx index 5edff96..972389a 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -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} /> @@ -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" diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..e2b9c20 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -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(function SvgTextLogo({ - logoText, - adjustHeightFactor, - verticalAlign = "top", - className = "", -}) { - const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor); - +const SvgTextLogo: React.FC = ({ + text, + className = '', + textClassName = '', +}) => { return ( - {logoText} + {text} ); -}); +}; -SvgTextLogo.displayName = "SvgTextLogo"; - -export default SvgTextLogo; +export default SvgTextLogo; \ No newline at end of file