From 58bce3b1a9cfec645281409017dac4aeb50eeb17 Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 12 Mar 2026 04:59:41 +0000 Subject: [PATCH 1/2] Update src/app/page.tsx --- src/app/page.tsx | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index ec9dac2..722856f 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -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() { @@ -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() { Date: Thu, 12 Mar 2026 04:59:41 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 66 +++++++++---------- 1 file changed, 32 insertions(+), 34 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..a74669d 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -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(function SvgTextLogo({ - logoText, - adjustHeightFactor, - verticalAlign = "top", - className = "", -}) { - const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor); +const SvgTextLogo: React.FC = ({ + 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 ( - {logoText} + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; +}; export default SvgTextLogo; -- 2.49.1