diff --git a/src/app/page.tsx b/src/app/page.tsx index 565386f..f30d076 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -56,11 +56,11 @@ export default function LandingPage() { ]} buttonAnimation="slide-up" mediaItems={[ - { videoSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Anl8VPBedkox5Sw0F6Itb4Celi/a-stunning-3d-rendered-ai-neural-network-1773236139571-b3f33c63.png" }, - { imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Anl8VPBedkox5Sw0F6Itb4Celi/a-sleek-dashboard-interface-showing-ai-w-1773236140520-182e9168.png?_wi=1", imageAlt: "AI Workflow Automation" }, - { imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Anl8VPBedkox5Sw0F6Itb4Celi/modern-responsive-website-interface-with-1773236141285-c2539919.png?_wi=1", imageAlt: "Website Development" }, - { imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Anl8VPBedkox5Sw0F6Itb4Celi/advanced-ai-chatbot-conversation-interfa-1773236141915-041b5e0e.jpg?_wi=1", imageAlt: "Chat Agents" }, - { imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Anl8VPBedkox5Sw0F6Itb4Celi/voice-technology-interface-with-audio-wa-1773236139983-7b098e85.png?_wi=1", imageAlt: "Voice Agents" } + { imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Anl8VPBedkox5Sw0F6Itb4Celi/a-stunning-3d-rendered-ai-neural-network-1773236139571-b3f33c63.png" }, + { imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Anl8VPBedkox5Sw0F6Itb4Celi/a-sleek-dashboard-interface-showing-ai-w-1773236140520-182e9168.png", imageAlt: "AI Workflow Automation" }, + { imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Anl8VPBedkox5Sw0F6Itb4Celi/modern-responsive-website-interface-with-1773236141285-c2539919.png", imageAlt: "Website Development" }, + { imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Anl8VPBedkox5Sw0F6Itb4Celi/advanced-ai-chatbot-conversation-interfa-1773236141915-041b5e0e.jpg", imageAlt: "Chat Agents" }, + { imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Anl8VPBedkox5Sw0F6Itb4Celi/voice-technology-interface-with-audio-wa-1773236139983-7b098e85.png", imageAlt: "Voice Agents" } ]} mediaAnimation="slide-up" ariaLabel="AI Startup Hero Section" @@ -78,10 +78,11 @@ export default function LandingPage() { { value: "500+", title: "Enterprise Clients" }, { value: "10M+", title: "Interactions Daily" } ]} - imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Anl8VPBedkox5Sw0F6Itb4Celi/a-sleek-dashboard-interface-showing-ai-w-1773236140520-182e9168.png?_wi=2" + imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Anl8VPBedkox5Sw0F6Itb4Celi/a-sleek-dashboard-interface-showing-ai-w-1773236140520-182e9168.png" imageAlt="AI Workflow Automation" useInvertedBackground={true} mediaAnimation="blur-reveal" + metricsAnimation="blur-reveal" /> @@ -97,15 +98,15 @@ export default function LandingPage() { features={[ { id: "1", title: "AI-Powered Website Development", tags: ["Build", "Deploy", "Scale"], - imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Anl8VPBedkox5Sw0F6Itb4Celi/modern-responsive-website-interface-with-1773236141285-c2539919.png?_wi=2", imageAlt: "Website Development" + imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Anl8VPBedkox5Sw0F6Itb4Celi/modern-responsive-website-interface-with-1773236141285-c2539919.png", imageAlt: "Website Development" }, { id: "2", title: "Intelligent Chat Agents", tags: ["Support", "Sales", "Engagement"], - imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Anl8VPBedkox5Sw0F6Itb4Celi/advanced-ai-chatbot-conversation-interfa-1773236141915-041b5e0e.jpg?_wi=2", imageAlt: "Chat Agents" + imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Anl8VPBedkox5Sw0F6Itb4Celi/advanced-ai-chatbot-conversation-interfa-1773236141915-041b5e0e.jpg", imageAlt: "Chat Agents" }, { id: "3", title: "Voice-Enabled Assistants", tags: ["Voice", "Audio", "Natural"], - imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Anl8VPBedkox5Sw0F6Itb4Celi/voice-technology-interface-with-audio-wa-1773236139983-7b098e85.png?_wi=2", imageAlt: "Voice Agents" + imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Anl8VPBedkox5Sw0F6Itb4Celi/voice-technology-interface-with-audio-wa-1773236139983-7b098e85.png", imageAlt: "Voice Agents" }, { id: "4", title: "Automated Workflows", tags: ["Automation", "Process", "Efficiency"], @@ -193,7 +194,7 @@ export default function LandingPage() { tag="Team" tagAnimation="opacity" textboxLayout="default" - animationType="fade-in" + animationType="scale-rotate" useInvertedBackground={true} gridVariant="four-items-2x2-equal-grid" members={[ diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..ffe36d8 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,44 @@ -"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; + fontFamily?: string; + fill?: string; + textAnchor?: 'start' | 'middle' | 'end'; + dominantBaseline?: 'auto' | 'text-top' | 'hanging' | 'middle' | 'central' | 'text-bottom' | 'ideographic' | 'mathematical'; } -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, + fontFamily = 'Arial, sans-serif', + fill = '#000000', + textAnchor = 'middle', + dominantBaseline = 'central', +}) => { return ( - {logoText} + {text} ); -}); +}; -SvgTextLogo.displayName = "SvgTextLogo"; - -export default SvgTextLogo; +export default SvgTextLogo; \ No newline at end of file