Merge version_1 into main

Merge version_1 into main
This commit was merged in pull request #2.
This commit is contained in:
2026-03-11 17:02:41 +00:00
2 changed files with 22 additions and 40 deletions

View File

@@ -71,10 +71,11 @@ export default function LandingPage() {
{ value: "10M+", title: "Tasks Automated Daily" },
{ value: "99.99%", title: "Uptime Guarantee" }
]}
imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AoA8lBSZoj1UzcvKmn18oxQTPh/a-sophisticated-ai-agent-dashboard-inter-1773248465442-d93b734e.png?_wi=1"
imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AoA8lBSZoj1UzcvKmn18oxQTPh/a-sophisticated-ai-agent-dashboard-inter-1773248465442-d93b734e.png"
imageAlt="PowerAI dashboard interface"
useInvertedBackground={true}
mediaAnimation="slide-up"
metricsAnimation="slide-up"
/>
</div>
@@ -90,7 +91,7 @@ export default function LandingPage() {
features={[
{
id: 1,
title: "Intelligent Automation", description: "Deploy autonomous agents that learn from patterns and continuously optimize processes without human intervention.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AoA8lBSZoj1UzcvKmn18oxQTPh/an-illustration-depicting-automated-work-1773248466149-8eee7127.png?_wi=1", imageAlt: "Automated workflow automation process"
title: "Intelligent Automation", description: "Deploy autonomous agents that learn from patterns and continuously optimize processes without human intervention.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AoA8lBSZoj1UzcvKmn18oxQTPh/an-illustration-depicting-automated-work-1773248466149-8eee7127.png", imageAlt: "Automated workflow automation process"
},
{
id: 2,
@@ -115,10 +116,10 @@ export default function LandingPage() {
animationType="scale-rotate"
metrics={[
{
id: "1", value: "85%", title: "Cost Reduction", description: "Average reduction in operational costs within first year", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AoA8lBSZoj1UzcvKmn18oxQTPh/a-sophisticated-ai-agent-dashboard-inter-1773248465442-d93b734e.png?_wi=2", imageAlt: "Cost optimization dashboard"
id: "1", value: "85%", title: "Cost Reduction", description: "Average reduction in operational costs within first year", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AoA8lBSZoj1UzcvKmn18oxQTPh/a-sophisticated-ai-agent-dashboard-inter-1773248465442-d93b734e.png", imageAlt: "Cost optimization dashboard"
},
{
id: "2", value: "3.5x", title: "Productivity Gain", description: "Increase in team productivity through intelligent automation", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AoA8lBSZoj1UzcvKmn18oxQTPh/an-illustration-depicting-automated-work-1773248466149-8eee7127.png?_wi=2", imageAlt: "Productivity metrics visualization"
id: "2", value: "3.5x", title: "Productivity Gain", description: "Increase in team productivity through intelligent automation", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AoA8lBSZoj1UzcvKmn18oxQTPh/an-illustration-depicting-automated-work-1773248466149-8eee7127.png", imageAlt: "Productivity metrics visualization"
}
]}
/>

View File

@@ -1,51 +1,32 @@
"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);
export const SvgTextLogo: React.FC<SvgTextLogoProps> = ({
text,
className = "", textClassName = ""}) => {
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 * 60} 100`}
className={`w-full h-full ${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="middle"
className={`text-4xl font-bold ${textClassName}`}
fill="currentColor"
>
{logoText}
{text}
</text>
</svg>
);
});
SvgTextLogo.displayName = "SvgTextLogo";
};
export default SvgTextLogo;