diff --git a/src/app/page.tsx b/src/app/page.tsx index 64e9857..c94b7e5 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -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" /> @@ -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" } ]} /> diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..0aba016 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -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(function SvgTextLogo({ - logoText, - adjustHeightFactor, - verticalAlign = "top", - className = "", -}) { - const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor); - +export const SvgTextLogo: React.FC = ({ + text, + className = "", textClassName = ""}) => { return ( - {logoText} + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; +}; export default SvgTextLogo;