Merge version_1 into main #2

Merged
bender merged 2 commits from version_1 into main 2026-03-11 13:37:29 +00:00
2 changed files with 41 additions and 47 deletions

View File

@@ -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"
/>
</div>
@@ -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={[

View File

@@ -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<SvgTextLogoProps>(function SvgTextLogo({
logoText,
adjustHeightFactor,
verticalAlign = "top",
className = "",
}) {
const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor);
const SvgTextLogo: React.FC<SvgTextLogoProps> = ({
text,
className = '',
fontSize = 24,
fontFamily = 'Arial, sans-serif',
fill = '#000000',
textAnchor = 'middle',
dominantBaseline = 'central',
}) => {
return (
<svg
ref={svgRef}
viewBox={viewBox}
className={cls("w-full", className)}
style={{ aspectRatio: aspectRatio }}
preserveAspectRatio="none"
role="img"
aria-label={`${logoText} logo`}
width="200"
height="50"
viewBox="0 0 200 50"
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="100"
y="25"
fontSize={fontSize}
fontFamily={fontFamily}
fill={fill}
textAnchor={textAnchor}
dominantBaseline={dominantBaseline}
>
{logoText}
{text}
</text>
</svg>
);
});
};
SvgTextLogo.displayName = "SvgTextLogo";
export default SvgTextLogo;
export default SvgTextLogo;