Merge version_1 into main #1

Merged
bender merged 2 commits from version_1 into main 2026-03-13 07:29:59 +00:00
2 changed files with 25 additions and 40 deletions

View File

@@ -10,13 +10,13 @@ import ProductCardTwo from '@/components/sections/product/ProductCardTwo';
import MetricCardTen from '@/components/sections/metrics/MetricCardTen';
import ContactCTA from '@/components/sections/contact/ContactCTA';
import FooterLogoReveal from '@/components/sections/footer/FooterLogoReveal';
import { Award, BarChart3, CheckCircle, Globe, Heart, Play, Rocket, Shield, Sparkles, Target, TrendingUp, Users, Zap } from 'lucide-react';
import { Award, BarChart3, CheckCircle, Heart, Play, Rocket, Shield, Sparkles, Target, TrendingUp, Users, Zap } from 'lucide-react';
export default function LandingPage() {
return (
<ThemeProvider
defaultButtonVariant="icon-arrow"
defaultTextAnimation="entrance-slide"
defaultTextAnimation="reveal-blur"
borderRadius="rounded"
contentWidth="small"
sizing="largeSizeMediumTitles"
@@ -53,7 +53,7 @@ export default function LandingPage() {
imageAlt="Sumaloo strategic consulting dashboard"
mediaAnimation="slide-up"
frameStyle="browser"
buttonAnimation="entrance-slide"
buttonAnimation="slide-up"
/>
</div>
@@ -97,7 +97,7 @@ export default function LandingPage() {
]
},
{
title: "Implementation Roadmap", description: "Guided execution of strategic recommendations with measurable outcomes.", bentoComponent: "3d-task-list", title: "Implementation Roadmap", items: [
title: "Implementation Roadmap", description: "Guided execution of strategic recommendations with measurable outcomes.", bentoComponent: "3d-task-list", items: [
{ icon: CheckCircle, label: "Strategy Development", time: "Week 1-2" },
{ icon: Play, label: "Execution Launch", time: "Week 3-4" },
{ icon: BarChart3, label: "Performance Monitoring", time: "Ongoing" }

View File

@@ -1,51 +1,36 @@
"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<SvgTextLogoProps>(function SvgTextLogo({
logoText,
adjustHeightFactor,
verticalAlign = "top",
className = "",
}) {
const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor);
const SvgTextLogo: React.FC<SvgTextLogoProps> = ({
text,
className = 'w-full h-auto',
textClassName = 'text-4xl font-bold',
}) => {
return (
<svg
ref={svgRef}
viewBox={viewBox}
className={cls("w-full", className)}
style={{ aspectRatio: aspectRatio }}
preserveAspectRatio="none"
viewBox="0 0 200 60"
className={className}
xmlns="http://www.w3.org/2000/svg"
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="50%"
y="50%"
textAnchor="middle"
dominantBaseline="middle"
className={textClassName}
fill="currentColor"
>
{logoText}
{text}
</text>
</svg>
);
});
};
SvgTextLogo.displayName = "SvgTextLogo";
export default SvgTextLogo;
export default SvgTextLogo;