Merge version_1 into main #2
@@ -56,19 +56,19 @@ export default function LandingPage() {
|
||||
testimonials={[
|
||||
{
|
||||
name: "Sarah Chen", handle: "CEO, InnovateCo", testimonial: "Nexus AI transformed our operations. The accuracy and speed are unmatched.", rating: 5,
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AlywEMFVXGboqU1EqpY3etxsTb/professional-headshot-of-a-tech-executiv-1773182688705-11cd20a8.png?_wi=1"
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AlywEMFVXGboqU1EqpY3etxsTb/professional-headshot-of-a-tech-executiv-1773182688705-11cd20a8.png"
|
||||
},
|
||||
{
|
||||
name: "Marcus Rodriguez", handle: "CTO, DataFlow", testimonial: "Finally, an AI platform that actually scales. Implementation was seamless.", rating: 5,
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AlywEMFVXGboqU1EqpY3etxsTb/professional-headshot-of-a-data-scientis-1773182688840-df8260ee.png?_wi=1"
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AlywEMFVXGboqU1EqpY3etxsTb/professional-headshot-of-a-data-scientis-1773182688840-df8260ee.png"
|
||||
},
|
||||
{
|
||||
name: "Elena Petrov", handle: "Head of AI, TechVision", testimonial: "The insights we're getting are reshaping our entire strategy. Incredible value.", rating: 5,
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AlywEMFVXGboqU1EqpY3etxsTb/professional-headshot-of-a-product-manag-1773182690528-fb5e9808.png?_wi=1"
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AlywEMFVXGboqU1EqpY3etxsTb/professional-headshot-of-a-product-manag-1773182690528-fb5e9808.png"
|
||||
},
|
||||
{
|
||||
name: "James Wong", handle: "VP Innovation, FutureTech", testimonial: "Best investment we made this year. The ROI speaks for itself.", rating: 5,
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AlywEMFVXGboqU1EqpY3etxsTb/professional-headshot-of-an-ai-researche-1773182688776-3df8e44a.png?_wi=1"
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AlywEMFVXGboqU1EqpY3etxsTb/professional-headshot-of-an-ai-researche-1773182688776-3df8e44a.png"
|
||||
}
|
||||
]}
|
||||
testimonialRotationInterval={5000}
|
||||
@@ -126,19 +126,19 @@ export default function LandingPage() {
|
||||
testimonials={[
|
||||
{
|
||||
id: "1", name: "Sarah Johnson", role: "CEO", company: "InnovateCo", rating: 5,
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AlywEMFVXGboqU1EqpY3etxsTb/professional-headshot-of-a-tech-executiv-1773182688705-11cd20a8.png?_wi=2"
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AlywEMFVXGboqU1EqpY3etxsTb/professional-headshot-of-a-tech-executiv-1773182688705-11cd20a8.png"
|
||||
},
|
||||
{
|
||||
id: "2", name: "Michael Chen", role: "CTO", company: "DataFlow", rating: 5,
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AlywEMFVXGboqU1EqpY3etxsTb/professional-headshot-of-a-data-scientis-1773182688840-df8260ee.png?_wi=2"
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AlywEMFVXGboqU1EqpY3etxsTb/professional-headshot-of-a-data-scientis-1773182688840-df8260ee.png"
|
||||
},
|
||||
{
|
||||
id: "3", name: "Elena Rodriguez", role: "VP Innovation", company: "TechVision", rating: 5,
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AlywEMFVXGboqU1EqpY3etxsTb/professional-headshot-of-a-product-manag-1773182690528-fb5e9808.png?_wi=2"
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AlywEMFVXGboqU1EqpY3etxsTb/professional-headshot-of-a-product-manag-1773182690528-fb5e9808.png"
|
||||
},
|
||||
{
|
||||
id: "4", name: "James Kim", role: "Head of Strategy", company: "FutureTech", rating: 5,
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AlywEMFVXGboqU1EqpY3etxsTb/professional-headshot-of-an-ai-researche-1773182688776-3df8e44a.png?_wi=2"
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AlywEMFVXGboqU1EqpY3etxsTb/professional-headshot-of-an-ai-researche-1773182688776-3df8e44a.png"
|
||||
}
|
||||
]}
|
||||
kpiItems={[
|
||||
@@ -160,6 +160,9 @@ export default function LandingPage() {
|
||||
tagIcon={Handshake}
|
||||
textboxLayout="default"
|
||||
useInvertedBackground={false}
|
||||
names={[
|
||||
"Google", "Microsoft", "OpenAI", "NVIDIA", "IBM", "Amazon", "Meta", "Apple"
|
||||
]}
|
||||
logos={[
|
||||
"http://img.b2bpic.net/free-vector/coloured-logo-templates_1126-3.jpg", "http://img.b2bpic.net/free-vector/colorful-business-card_1043-287.jpg", "http://img.b2bpic.net/free-vector/technology-logo-template_23-2150529418.jpg", "http://img.b2bpic.net/free-vector/gradient-technology-logo-template-collection_23-2148217591.jpg", "http://img.b2bpic.net/free-vector/abstract-colorful-tech-logo_1051-869.jpg", "http://img.b2bpic.net/free-vector/flat-design-mobile-store-logo-template_23-2149728788.jpg", "http://img.b2bpic.net/free-vector/artificial-intelligence-technology-facebook-cover_23-2150371174.jpg", "http://img.b2bpic.net/free-vector/mobile-wallpapers-with-circles-geometric-shapes_23-2147665171.jpg"
|
||||
]}
|
||||
|
||||
@@ -1,51 +1,30 @@
|
||||
"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;
|
||||
}
|
||||
|
||||
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 = '' }) => {
|
||||
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 200 60"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
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="50%"
|
||||
y="50%"
|
||||
textAnchor="middle"
|
||||
dominantBaseline="central"
|
||||
fontSize="24"
|
||||
fontWeight="bold"
|
||||
fill="currentColor"
|
||||
>
|
||||
{logoText}
|
||||
{text}
|
||||
</text>
|
||||
</svg>
|
||||
);
|
||||
});
|
||||
};
|
||||
|
||||
SvgTextLogo.displayName = "SvgTextLogo";
|
||||
|
||||
export default SvgTextLogo;
|
||||
export default SvgTextLogo;
|
||||
Reference in New Issue
Block a user