Merge version_1 into main #2

Merged
bender merged 2 commits from version_1 into main 2026-03-11 17:00:43 +00:00
2 changed files with 30 additions and 52 deletions

View File

@@ -20,7 +20,7 @@ export default function LandingPage() {
borderRadius="soft"
contentWidth="compact"
sizing="mediumLargeSizeMediumTitles"
background="noiseDiagonalGradient"
background="circleGradient"
cardStyle="soft-shadow"
primaryButtonStyle="radial-glow"
secondaryButtonStyle="radial-glow"
@@ -48,22 +48,22 @@ export default function LandingPage() {
tag="Women-Owned Business"
tagIcon={Star}
tagAnimation="slide-up"
background={{ variant: "noiseDiagonalGradient" }}
background={{ variant: "plain" }}
mediaItems={[
{
imageSrc: "http://img.b2bpic.net/free-photo/group-multinational-busy-people-working-office_146671-15682.jpg?_wi=1", imageAlt: "professional women business consultants meeting"
imageSrc: "http://img.b2bpic.net/free-photo/group-multinational-busy-people-working-office_146671-15682.jpg", imageAlt: "professional women business consultants meeting"
},
{
imageSrc: "http://img.b2bpic.net/free-photo/group-diverse-women-having-business-meeting_53876-30734.jpg?_wi=1", imageAlt: "women business owners founders working"
imageSrc: "http://img.b2bpic.net/free-photo/group-diverse-women-having-business-meeting_53876-30734.jpg", imageAlt: "women business owners founders working"
},
{
imageSrc: "http://img.b2bpic.net/free-photo/pensive-business-experts-analyzing-marketing-report_1262-17425.jpg?_wi=1", imageAlt: "financial planning analysis business charts"
imageSrc: "http://img.b2bpic.net/free-photo/pensive-business-experts-analyzing-marketing-report_1262-17425.jpg", imageAlt: "financial planning analysis business charts"
},
{
imageSrc: "http://img.b2bpic.net/free-photo/enterprise-colleagues-discussing-project-updates-details-meeting-room_482257-84389.jpg?_wi=1", imageAlt: "business consultant advising startup founder"
imageSrc: "http://img.b2bpic.net/free-photo/enterprise-colleagues-discussing-project-updates-details-meeting-room_482257-84389.jpg", imageAlt: "business consultant advising startup founder"
},
{
imageSrc: "http://img.b2bpic.net/free-photo/group-multinational-busy-people-working-office_146671-15682.jpg?_wi=2", imageAlt: "business strategy discussion"
imageSrc: "http://img.b2bpic.net/free-photo/group-multinational-busy-people-working-office_146671-15682.jpg", imageAlt: "business strategy discussion"
}
]}
buttons={[
@@ -101,10 +101,10 @@ export default function LandingPage() {
title: "Financial Consulting", description: "Expert guidance on financial planning, budgeting, tax optimization, and financial risk management for businesses and individuals.", icon: TrendingUp,
mediaItems: [
{
imageSrc: "http://img.b2bpic.net/free-photo/pensive-business-experts-analyzing-marketing-report_1262-17425.jpg?_wi=2", imageAlt: "financial planning analysis"
imageSrc: "http://img.b2bpic.net/free-photo/pensive-business-experts-analyzing-marketing-report_1262-17425.jpg", imageAlt: "financial planning analysis"
},
{
imageSrc: "http://img.b2bpic.net/free-photo/group-multinational-busy-people-working-office_146671-15682.jpg?_wi=3", imageAlt: "financial consulting session"
imageSrc: "http://img.b2bpic.net/free-photo/group-multinational-busy-people-working-office_146671-15682.jpg", imageAlt: "financial consulting session"
}
]
},
@@ -112,10 +112,10 @@ export default function LandingPage() {
title: "Business Advisory", description: "Strategic business guidance for startups, entrepreneurs, and established companies. We help you navigate challenges, identify opportunities, and accelerate growth.", icon: Lightbulb,
mediaItems: [
{
imageSrc: "http://img.b2bpic.net/free-photo/enterprise-colleagues-discussing-project-updates-details-meeting-room_482257-84389.jpg?_wi=2", imageAlt: "business advisory consultation"
imageSrc: "http://img.b2bpic.net/free-photo/enterprise-colleagues-discussing-project-updates-details-meeting-room_482257-84389.jpg", imageAlt: "business advisory consultation"
},
{
imageSrc: "http://img.b2bpic.net/free-photo/group-diverse-women-having-business-meeting_53876-30734.jpg?_wi=2", imageAlt: "business consultants team"
imageSrc: "http://img.b2bpic.net/free-photo/group-diverse-women-having-business-meeting_53876-30734.jpg", imageAlt: "business consultants team"
}
]
},
@@ -123,10 +123,10 @@ export default function LandingPage() {
title: "Startup Support", description: "Specialized consulting for new entrepreneurs and startups. From business planning to market entry, we provide comprehensive support for your entrepreneurial journey.", icon: Zap,
mediaItems: [
{
imageSrc: "http://img.b2bpic.net/free-photo/group-multinational-busy-people-working-office_146671-15682.jpg?_wi=4", imageAlt: "startup consultation"
imageSrc: "http://img.b2bpic.net/free-photo/group-multinational-busy-people-working-office_146671-15682.jpg", imageAlt: "startup consultation"
},
{
imageSrc: "http://img.b2bpic.net/free-photo/enterprise-colleagues-discussing-project-updates-details-meeting-room_482257-84389.jpg?_wi=3", imageAlt: "entrepreneur support"
imageSrc: "http://img.b2bpic.net/free-photo/enterprise-colleagues-discussing-project-updates-details-meeting-room_482257-84389.jpg", imageAlt: "entrepreneur support"
}
]
},
@@ -134,10 +134,10 @@ export default function LandingPage() {
title: "Query Resolution", description: "Quick and reliable solutions to your financial and business questions. Our experienced consultants provide timely answers to help you make informed decisions.", icon: HelpCircle,
mediaItems: [
{
imageSrc: "http://img.b2bpic.net/free-photo/pensive-business-experts-analyzing-marketing-report_1262-17425.jpg?_wi=3", imageAlt: "business query resolution"
imageSrc: "http://img.b2bpic.net/free-photo/pensive-business-experts-analyzing-marketing-report_1262-17425.jpg", imageAlt: "business query resolution"
},
{
imageSrc: "http://img.b2bpic.net/free-photo/group-diverse-women-having-business-meeting_53876-30734.jpg?_wi=3", imageAlt: "consultant support"
imageSrc: "http://img.b2bpic.net/free-photo/group-diverse-women-having-business-meeting_53876-30734.jpg", imageAlt: "consultant support"
}
]
}

View File

@@ -1,51 +1,29 @@
"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;
}
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 = '' }) => {
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 200 50"
xmlns="http://www.w3.org/2000/svg"
className={className}
>
<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="10"
y="35"
fontSize="32"
fontWeight="bold"
fill="currentColor"
dominantBaseline="middle"
>
{logoText}
{text}
</text>
</svg>
);
});
};
SvgTextLogo.displayName = "SvgTextLogo";
export default SvgTextLogo;
export default SvgTextLogo;