Merge version_1 into main #2

Merged
bender merged 2 commits from version_1 into main 2026-03-12 14:49:37 +00:00
2 changed files with 35 additions and 49 deletions

View File

@@ -20,7 +20,7 @@ export default function LandingPage() {
borderRadius="soft"
contentWidth="mediumLarge"
sizing="mediumLarge"
background="circleGradient"
background="aurora"
cardStyle="layered-gradient"
primaryButtonStyle="shadow"
secondaryButtonStyle="solid"
@@ -46,7 +46,7 @@ export default function LandingPage() {
<HeroBillboard
title="Empower Your Financial Distribution"
description="Modern financial distribution platform connecting investors with premium opportunities. Transparent, secure, and designed for growth."
background={{ variant: "circleGradient" }}
background={{ variant: "sparkles-gradient" }}
tag="Financial Excellence"
tagIcon={Zap}
tagAnimation="slide-up"
@@ -83,7 +83,7 @@ export default function LandingPage() {
tagAnimation="slide-up"
features={[
{
id: "01", title: "Smart Distribution", description: "Intelligent allocation of funds across verified investment opportunities with AI-powered recommendations tailored to your profile.", imageSrc: "http://img.b2bpic.net/free-vector/business-man-business-woman-with-computer-diagram-information_24640-45222.jpg?_wi=1", imageAlt: "Smart Distribution System"
id: "01", title: "Smart Distribution", description: "Intelligent allocation of funds across verified investment opportunities with AI-powered recommendations tailored to your profile.", imageSrc: "http://img.b2bpic.net/free-vector/business-man-business-woman-with-computer-diagram-information_24640-45222.jpg", imageAlt: "Smart Distribution System"
},
{
id: "02", title: "Complete Transparency", description: "Real-time access to detailed analytics, performance metrics, and fund breakdowns. Know exactly where your money goes.", imageSrc: "http://img.b2bpic.net/free-vector/hand-drawn-people-gathering-data-business-concept_23-2149164457.jpg", imageAlt: "Transparency Dashboard"
@@ -95,12 +95,12 @@ export default function LandingPage() {
id: "04", title: "Advanced Analytics", description: "Comprehensive reporting tools with customizable dashboards, performance tracking, and actionable insights for better decision-making.", imageSrc: "http://img.b2bpic.net/free-photo/close-up-office-supplies_1098-3510.jpg", imageAlt: "Analytics Suite"
},
{
id: "05", title: "24/7 Support", description: "Dedicated investment advisors and customer support team available round-the-clock to address your queries and concerns.", imageSrc: "http://img.b2bpic.net/free-vector/business-man-business-woman-with-computer-diagram-information_24640-45222.jpg?_wi=2", imageAlt: "Customer Support"
id: "05", title: "24/7 Support", description: "Dedicated investment advisors and customer support team available round-the-clock to address your queries and concerns.", imageSrc: "http://img.b2bpic.net/free-vector/business-man-business-woman-with-computer-diagram-information_24640-45222.jpg", imageAlt: "Customer Support"
}
]}
textboxLayout="default"
animationType="slide-up"
gridVariant="four-items-2x2-equal-grid"
gridVariant="uniform-all-items-equal"
useInvertedBackground={false}
/>
</div>
@@ -118,8 +118,7 @@ export default function LandingPage() {
{
id: "starter", tag: "Starter Plan", price: "₹0", period: "/month", description: "Perfect for new investors exploring opportunities", button: {
text: "Start Free", href: "https://app.investorsaathi.com/signup"
},
featuresTitle: "What's Included:", features: [
}, featuresTitle: "What's Included:", features: [
"Access to basic investment opportunities", "Monthly portfolio reports", "Mobile app access", "Community forum access"
]
},
@@ -127,16 +126,14 @@ export default function LandingPage() {
id: "professional", tag: "Professional Plan", tagIcon: Star,
price: "₹999", period: "/month", description: "For serious investors seeking premium opportunities", button: {
text: "Upgrade Now", href: "https://app.investorsaathi.com/upgrade"
},
featuresTitle: "What's Included:", features: [
}, featuresTitle: "What's Included:", features: [
"Access to all investment opportunities", "Weekly performance analytics", "Priority customer support", "Advanced portfolio tools", "Expert webinars and training"
]
},
{
id: "enterprise", tag: "Enterprise Plan", price: "Custom", period: "pricing", description: "Tailored solutions for high-net-worth individuals", button: {
text: "Contact Sales", href: "#contact"
},
featuresTitle: "What's Included:", features: [
}, featuresTitle: "What's Included:", features: [
"Dedicated relationship manager", "Customized investment strategies", "Real-time market insights", "Priority deal access", "Personalized reporting", "Unlimited transactions"
]
}
@@ -159,7 +156,7 @@ export default function LandingPage() {
]}
textboxLayout="default"
animationType="scale-rotate"
gridVariant="four-items-2x2-equal-grid"
gridVariant="uniform-all-items-equal"
useInvertedBackground={false}
/>
</div>

View File

@@ -1,51 +1,40 @@
"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;
fontSize?: number;
fontWeight?: string | number;
fill?: 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 = '',
fontSize = 24,
fontWeight = 'bold',
fill = 'currentColor',
}) => {
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 * fontSize * 0.6} ${fontSize * 1.5}`}
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"
}}
x="50%"
y="50%"
textAnchor="middle"
dominantBaseline="central"
fontSize={fontSize}
fontWeight={fontWeight}
fill={fill}
fontFamily="inherit"
>
{logoText}
{text}
</text>
</svg>
);
});
};
SvgTextLogo.displayName = "SvgTextLogo";
export default SvgTextLogo;
export default SvgTextLogo;