Merge version_1 into main #2

Merged
bender merged 2 commits from version_1 into main 2026-03-12 04:59:45 +00:00
2 changed files with 41 additions and 43 deletions

View File

@@ -38,7 +38,7 @@ export default function PricingPage() {
borderRadius="pill"
contentWidth="medium"
sizing="medium"
background="aurora"
background="circleGradient"
cardStyle="layered-gradient"
primaryButtonStyle="gradient"
secondaryButtonStyle="glass"
@@ -63,7 +63,7 @@ export default function PricingPage() {
<HeroSplitKpi
title="Transform Your Business with Smart Pricing Solutions"
description="Discover flexible pricing plans designed for businesses of all sizes. From startups to enterprises, find the perfect fit for your needs."
background={{ variant: "aurora" }}
background={{ variant: "glowing-orb" }}
kpis={[
{ value: "500+", label: "Active Customers" },
{ value: "99.8%", label: "Uptime Guarantee" },
@@ -114,17 +114,17 @@ export default function PricingPage() {
id: 1,
tag: "Step One", title: "Choose Your Plan", subtitle: "Select the pricing tier that fits your needs", description:
"Browse our flexible pricing plans and select the one that aligns with your business requirements. Each plan includes core features with the option to scale as you grow.", imageSrc:
"http://img.b2bpic.net/free-photo/manager-giving-instructions-employees_482257-120162.jpg?_wi=1", imageAlt: "Plan selection interface"},
"http://img.b2bpic.net/free-photo/manager-giving-instructions-employees_482257-120162.jpg", imageAlt: "Plan selection interface"},
{
id: 2,
tag: "Step Two", title: "Onboard Instantly", subtitle: "Get set up in minutes, not days", description:
"Our onboarding process is designed for speed and simplicity. Import your data, configure your settings, and start using our platform immediately with dedicated support.", imageSrc:
"http://img.b2bpic.net/free-photo/person-talking-colleagues-video-call-communication-using-smartphone-business-meeting-businessman-holding-mobile-phone-online-conference-with-workmates-corporate-office_482257-28475.jpg?_wi=1", imageAlt: "Onboarding dashboard"},
"http://img.b2bpic.net/free-photo/person-talking-colleagues-video-call-communication-using-smartphone-business-meeting-businessman-holding-mobile-phone-online-conference-with-workmates-corporate-office_482257-28475.jpg", imageAlt: "Onboarding dashboard"},
{
id: 3,
tag: "Step Three", title: "Grow & Scale", subtitle: "Upgrade anytime as your needs evolve", description:
"Scale your usage without complicated migrations. Add features, increase capacity, or upgrade to a higher tier whenever you're ready. Pay only for what you use.", imageSrc:
"http://img.b2bpic.net/free-photo/call-center-agent-talking-headset-mic-typing-keyboard_482257-125066.jpg?_wi=1", imageAlt: "Growth and scaling interface"},
"http://img.b2bpic.net/free-photo/call-center-agent-talking-headset-mic-typing-keyboard_482257-125066.jpg", imageAlt: "Growth and scaling interface"},
]}
/>
</div>
@@ -214,7 +214,7 @@ export default function PricingPage() {
"Full REST API access for seamless integration with your existing systems and workflows.", reverse: false,
media: {
imageSrc:
"http://img.b2bpic.net/free-photo/person-talking-colleagues-video-call-communication-using-smartphone-business-meeting-businessman-holding-mobile-phone-online-conference-with-workmates-corporate-office_482257-28475.jpg?_wi=2"},
"http://img.b2bpic.net/free-photo/person-talking-colleagues-video-call-communication-using-smartphone-business-meeting-businessman-holding-mobile-phone-online-conference-with-workmates-corporate-office_482257-28475.jpg"},
items: [
{ icon: Check, text: "Unlimited API calls" },
{ icon: Check, text: "Comprehensive documentation" },
@@ -227,7 +227,7 @@ export default function PricingPage() {
"Deep insights into your data with custom dashboards, real-time reporting, and predictive analytics.", reverse: true,
media: {
imageSrc:
"http://img.b2bpic.net/free-photo/call-center-agent-talking-headset-mic-typing-keyboard_482257-125066.jpg?_wi=2"},
"http://img.b2bpic.net/free-photo/call-center-agent-talking-headset-mic-typing-keyboard_482257-125066.jpg"},
items: [
{ icon: TrendingUp, text: "Real-time dashboards" },
{ icon: BarChart3, text: "Custom reports" },
@@ -240,7 +240,7 @@ export default function PricingPage() {
"Dedicated support team with faster response times and priority handling of your requests.", reverse: false,
media: {
imageSrc:
"http://img.b2bpic.net/free-photo/manager-giving-instructions-employees_482257-120162.jpg?_wi=2"},
"http://img.b2bpic.net/free-photo/manager-giving-instructions-employees_482257-120162.jpg"},
items: [
{ icon: Phone, text: "24/7 phone support" },
{ icon: MessageSquare, text: "Dedicated account manager" },
@@ -256,7 +256,7 @@ export default function PricingPage() {
<ContactText
text="Ready to transform your business with our pricing solutions? Start your free trial today and experience the difference transparent pricing can make."
animationType="entrance-slide"
background={{ variant: "aurora" }}
background={{ variant: "glowing-orb" }}
useInvertedBackground={false}
buttons={[
{ text: "Start Free Trial", href: "#contact-form" },

View File

@@ -1,51 +1,49 @@
"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?: number | string;
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',
}) => {
const textLength = text.length;
const estimatedWidth = textLength * fontSize * 0.6;
const padding = 16;
const width = estimatedWidth + padding * 2;
const height = fontSize + padding * 2;
return (
<svg
ref={svgRef}
viewBox={viewBox}
className={cls("w-full", className)}
style={{ aspectRatio: aspectRatio }}
preserveAspectRatio="none"
width={width}
height={height}
viewBox={`0 0 ${width} ${height}`}
xmlns="http://www.w3.org/2000/svg"
className={className}
role="img"
aria-label={`${logoText} logo`}
aria-label={text}
>
<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={width / 2}
y={height / 2}
fontSize={fontSize}
fontWeight={fontWeight}
fill={fill}
textAnchor="middle"
dominantBaseline="central"
>
{logoText}
{text}
</text>
</svg>
);
});
SvgTextLogo.displayName = "SvgTextLogo";
};
export default SvgTextLogo;