Merge version_1 into main #2
@@ -60,16 +60,13 @@ export default function LandingPage() {
|
||||
buttonAnimation="slide-up"
|
||||
testimonials={[
|
||||
{
|
||||
name: "Michael Torres", handle: "VP Manufacturing, AutoParts Inc", testimonial: "Their robotics solutions increased our production efficiency by 45% in just six months. Exceptional support and innovation.", rating: 5,
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AlniNn3HF171rDhIskXo2AKDJH/professional-headshot-of-a-manufacturing-1773176252856-b30732f5.png?_wi=1"
|
||||
name: "Michael Torres", handle: "VP Manufacturing, AutoParts Inc", testimonial: "Their robotics solutions increased our production efficiency by 45% in just six months. Exceptional support and innovation.", rating: 5, imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AlniNn3HF171rDhIskXo2AKDJH/professional-headshot-of-a-manufacturing-1773176252856-b30732f5.png"
|
||||
},
|
||||
{
|
||||
name: "Sarah Chen", handle: "CTO, TechManufacturing Ltd", testimonial: "The most reliable and intelligent automation platform we've implemented. Truly transformative for our operations.", rating: 5,
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AlniNn3HF171rDhIskXo2AKDJH/professional-headshot-of-a-chief-technol-1773176254347-7f43406e.png?_wi=1"
|
||||
name: "Sarah Chen", handle: "CTO, TechManufacturing Ltd", testimonial: "The most reliable and intelligent automation platform we've implemented. Truly transformative for our operations.", rating: 5, imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AlniNn3HF171rDhIskXo2AKDJH/professional-headshot-of-a-chief-technol-1773176254347-7f43406e.png"
|
||||
},
|
||||
{
|
||||
name: "James Richardson", handle: "Operations Director, Industrial Solutions", testimonial: "Outstanding integration and minimal downtime during deployment. Their team is incredibly professional.", rating: 5,
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AlniNn3HF171rDhIskXo2AKDJH/professional-headshot-of-an-operations-m-1773176252077-2125d64d.png?_wi=1"
|
||||
name: "James Richardson", handle: "Operations Director, Industrial Solutions", testimonial: "Outstanding integration and minimal downtime during deployment. Their team is incredibly professional.", rating: 5, imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AlniNn3HF171rDhIskXo2AKDJH/professional-headshot-of-an-operations-m-1773176252077-2125d64d.png"
|
||||
}
|
||||
]}
|
||||
testimonialRotationInterval={5000}
|
||||
@@ -146,16 +143,15 @@ export default function LandingPage() {
|
||||
description="See what our customers have to say about their robotics transformation."
|
||||
textboxLayout="default"
|
||||
useInvertedBackground={false}
|
||||
animationType="slide-up"
|
||||
testimonials={[
|
||||
{
|
||||
id: "1", title: "Transformed Our Production Line", quote: "RoboTech's solutions transformed our entire production workflow. The installation was seamless and the support team went above and beyond to ensure success. We've seen a 50% increase in output.", name: "Michael Torres", role: "VP Manufacturing, AutoParts Inc", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AlniNn3HF171rDhIskXo2AKDJH/professional-headshot-of-a-manufacturing-1773176252856-b30732f5.png?_wi=2", imageAlt: "Michael Torres"
|
||||
id: "1", title: "Transformed Our Production Line", quote: "RoboTech's solutions transformed our entire production workflow. The installation was seamless and the support team went above and beyond to ensure success. We've seen a 50% increase in output.", name: "Michael Torres", role: "VP Manufacturing, AutoParts Inc", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AlniNn3HF171rDhIskXo2AKDJH/professional-headshot-of-a-manufacturing-1773176252856-b30732f5.png", imageAlt: "Michael Torres"
|
||||
},
|
||||
{
|
||||
id: "2", title: "Innovation at Its Finest", quote: "Their AI-powered optimization has been remarkable. The system learns from our patterns and continuously improves. This is the future of manufacturing.", name: "Sarah Chen", role: "CTO, TechManufacturing Ltd", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AlniNn3HF171rDhIskXo2AKDJH/professional-headshot-of-a-chief-technol-1773176254347-7f43406e.png?_wi=2", imageAlt: "Sarah Chen"
|
||||
id: "2", title: "Innovation at Its Finest", quote: "Their AI-powered optimization has been remarkable. The system learns from our patterns and continuously improves. This is the future of manufacturing.", name: "Sarah Chen", role: "CTO, TechManufacturing Ltd", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AlniNn3HF171rDhIskXo2AKDJH/professional-headshot-of-a-chief-technol-1773176254347-7f43406e.png", imageAlt: "Sarah Chen"
|
||||
},
|
||||
{
|
||||
id: "3", title: "Reliable Partnership", quote: "Beyond the excellent technology, RoboTech's team has become a trusted partner. Their proactive support prevents issues before they occur.", name: "James Richardson", role: "Operations Director, Industrial Solutions", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AlniNn3HF171rDhIskXo2AKDJH/professional-headshot-of-an-operations-m-1773176252077-2125d64d.png?_wi=2", imageAlt: "James Richardson"
|
||||
id: "3", title: "Reliable Partnership", quote: "Beyond the excellent technology, RoboTech's team has become a trusted partner. Their proactive support prevents issues before they occur.", name: "James Richardson", role: "Operations Director, Industrial Solutions", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AlniNn3HF171rDhIskXo2AKDJH/professional-headshot-of-an-operations-m-1773176252077-2125d64d.png", imageAlt: "James Richardson"
|
||||
},
|
||||
{
|
||||
id: "4", title: "Best Investment We've Made", quote: "ROI exceeded our projections within the first year. The combination of performance and reliability makes this the best technology investment our company has made.", name: "Emily Walsh", role: "Innovation Manager, Global Manufacturing", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AlniNn3HF171rDhIskXo2AKDJH/professional-headshot-of-an-innovation-m-1773176251957-e28edda9.png", imageAlt: "Emily Walsh"
|
||||
@@ -187,7 +183,6 @@ export default function LandingPage() {
|
||||
tag="Support"
|
||||
textboxLayout="default"
|
||||
useInvertedBackground={false}
|
||||
animationType="smooth"
|
||||
faqsAnimation="slide-up"
|
||||
faqs={[
|
||||
{
|
||||
|
||||
@@ -1,51 +1,38 @@
|
||||
"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;
|
||||
fontSize?: number;
|
||||
fontWeight?: string | number;
|
||||
letterSpacing?: number;
|
||||
className?: 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,
|
||||
fontSize = 24,
|
||||
fontWeight = 'bold',
|
||||
letterSpacing = 0,
|
||||
className = '',
|
||||
}) => {
|
||||
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 * (fontSize * 0.6)} ${fontSize * 1.5}`}
|
||||
className={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"
|
||||
}}
|
||||
y={fontSize}
|
||||
fontSize={fontSize}
|
||||
fontWeight={fontWeight}
|
||||
letterSpacing={letterSpacing}
|
||||
dominantBaseline="middle"
|
||||
>
|
||||
{logoText}
|
||||
{text}
|
||||
</text>
|
||||
</svg>
|
||||
);
|
||||
});
|
||||
};
|
||||
|
||||
SvgTextLogo.displayName = "SvgTextLogo";
|
||||
|
||||
export default SvgTextLogo;
|
||||
export default SvgTextLogo;
|
||||
Reference in New Issue
Block a user