Merge version_1 into main #2
@@ -19,7 +19,7 @@ export default function LandingPage() {
|
||||
borderRadius="soft"
|
||||
contentWidth="smallMedium"
|
||||
sizing="large"
|
||||
background="grid"
|
||||
background="circleGradient"
|
||||
cardStyle="inset"
|
||||
primaryButtonStyle="diagonal-gradient"
|
||||
secondaryButtonStyle="radial-glow"
|
||||
@@ -46,7 +46,7 @@ export default function LandingPage() {
|
||||
tag="Advanced 3D Technology"
|
||||
tagIcon={Zap}
|
||||
tagAnimation="slide-up"
|
||||
background={{ variant: "grid" }}
|
||||
background={{ variant: "animated-grid" }}
|
||||
imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Ar9az3wAhv54wO6dxoL5ll0QKW/a-stunning-6-arm-industrial-drone-with-a-1773339957029-c307561d.png"
|
||||
imageAlt="6-Arm Industrial Drone - HEXON Advanced Technology"
|
||||
buttons={[
|
||||
@@ -84,7 +84,7 @@ export default function LandingPage() {
|
||||
buttonHref: "#contact"
|
||||
},
|
||||
{
|
||||
title: "Scroll-Triggered Animations", description: "Smooth, performant animations triggered by scroll position. Our parallax depth effects and reveal animations keep visitors engaged and create memorable interactions throughout their journey.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Ar9az3wAhv54wO6dxoL5ll0QKW/an-animated-motion-graphics-scene-showin-1773339957330-475f5672.png?_wi=1", imageAlt: "Smooth Motion Graphics Animation", buttonIcon: ArrowRight,
|
||||
title: "Scroll-Triggered Animations", description: "Smooth, performant animations triggered by scroll position. Our parallax depth effects and reveal animations keep visitors engaged and create memorable interactions throughout their journey.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Ar9az3wAhv54wO6dxoL5ll0QKW/an-animated-motion-graphics-scene-showin-1773339957330-475f5672.png", imageAlt: "Smooth Motion Graphics Animation", buttonIcon: ArrowRight,
|
||||
buttonHref: "#contact"
|
||||
},
|
||||
{
|
||||
@@ -100,7 +100,7 @@ export default function LandingPage() {
|
||||
buttonHref: "#contact"
|
||||
},
|
||||
{
|
||||
title: "User Engagement Focus", description: "Every interaction is designed to keep visitors engaged. Micro-interactions, hover effects, smooth transitions, and intelligent animations create an irresistible user experience.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Ar9az3wAhv54wO6dxoL5ll0QKW/an-animated-motion-graphics-scene-showin-1773339957330-475f5672.png?_wi=2", imageAlt: "Interactive UI Engagement Design", buttonIcon: ArrowRight,
|
||||
title: "User Engagement Focus", description: "Every interaction is designed to keep visitors engaged. Micro-interactions, hover effects, smooth transitions, and intelligent animations create an irresistible user experience.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Ar9az3wAhv54wO6dxoL5ll0QKW/an-animated-motion-graphics-scene-showin-1773339957330-475f5672.png", imageAlt: "Interactive UI Engagement Design", buttonIcon: ArrowRight,
|
||||
buttonHref: "#contact"
|
||||
}
|
||||
]}
|
||||
@@ -146,10 +146,10 @@ export default function LandingPage() {
|
||||
tagAnimation="slide-up"
|
||||
testimonials={[
|
||||
{
|
||||
id: "1", title: "Revolutionary 3D Product Showcase", quote: "HEXON transformed how we present our drone technology. The 3D animations are stunning, and our engagement metrics have increased by 340%. Their team truly understands immersive design.", name: "Sarah Chen", role: "VP Product Innovation", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Ar9az3wAhv54wO6dxoL5ll0QKW/professional-headshot-portrait-of-a-conf-1773339956932-a108e800.png?_wi=1", imageAlt: "Sarah Chen"
|
||||
id: "1", title: "Revolutionary 3D Product Showcase", quote: "HEXON transformed how we present our drone technology. The 3D animations are stunning, and our engagement metrics have increased by 340%. Their team truly understands immersive design.", name: "Sarah Chen", role: "VP Product Innovation", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Ar9az3wAhv54wO6dxoL5ll0QKW/professional-headshot-portrait-of-a-conf-1773339956932-a108e800.png", imageAlt: "Sarah Chen"
|
||||
},
|
||||
{
|
||||
id: "2", title: "Game-Changing Interactive Experience", quote: "The scroll-triggered animations and responsive design exceeded our expectations. Our website now runs at 60fps across all devices, and client demos have never looked better. Exceptional technical execution.", name: "Marcus Rodriguez", role: "CTO", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Ar9az3wAhv54wO6dxoL5ll0QKW/professional-headshot-portrait-of-a-conf-1773339957497-389f0f5a.png?_wi=1", imageAlt: "Marcus Rodriguez"
|
||||
id: "2", title: "Game-Changing Interactive Experience", quote: "The scroll-triggered animations and responsive design exceeded our expectations. Our website now runs at 60fps across all devices, and client demos have never looked better. Exceptional technical execution.", name: "Marcus Rodriguez", role: "CTO", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Ar9az3wAhv54wO6dxoL5ll0QKW/professional-headshot-portrait-of-a-conf-1773339957497-389f0f5a.png", imageAlt: "Marcus Rodriguez"
|
||||
},
|
||||
{
|
||||
id: "3", title: "Immersive Design Excellence", quote: "Working with HEXON was a game-changer for our creative direction. Their 3D design expertise and attention to user engagement detail is unmatched. Our conversion rate improved by 280% after the redesign.", name: "Elena Vasquez", role: "Creative Director", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Ar9az3wAhv54wO6dxoL5ll0QKW/professional-headshot-portrait-of-a-conf-1773339959792-23ebc46b.png", imageAlt: "Elena Vasquez"
|
||||
@@ -158,10 +158,10 @@ export default function LandingPage() {
|
||||
id: "4", title: "Premium Digital Presence", quote: "HEXON delivered a digital experience that perfectly represents our brand's innovation and premium positioning. The attention to performance optimization while maintaining visual excellence is remarkable.", name: "David Okafor", role: "Founder & CEO", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Ar9az3wAhv54wO6dxoL5ll0QKW/professional-headshot-portrait-of-a-conf-1773339957474-f7d8abfa.png", imageAlt: "David Okafor"
|
||||
},
|
||||
{
|
||||
id: "5", title: "Technical Excellence Meets Design", quote: "We've worked with many agencies, but none combine technical sophistication with creative brilliance like HEXON. The WebGL optimization ensures smooth performance while delivering jaw-dropping visuals.", name: "Lisa Park", role: "Product Manager", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Ar9az3wAhv54wO6dxoL5ll0QKW/professional-headshot-portrait-of-a-conf-1773339956932-a108e800.png?_wi=2", imageAlt: "Lisa Park"
|
||||
id: "5", title: "Technical Excellence Meets Design", quote: "We've worked with many agencies, but none combine technical sophistication with creative brilliance like HEXON. The WebGL optimization ensures smooth performance while delivering jaw-dropping visuals.", name: "Lisa Park", role: "Product Manager", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Ar9az3wAhv54wO6dxoL5ll0QKW/professional-headshot-portrait-of-a-conf-1773339956932-a108e800.png", imageAlt: "Lisa Park"
|
||||
},
|
||||
{
|
||||
id: "6", title: "Beyond Expectations", quote: "From concept to launch, HEXON demonstrated unparalleled professionalism and technical mastery. Their 3D drone animations actually made our stakeholder meetings more engaging. Highly recommended.", name: "James Mitchell", role: "Chief Marketing Officer", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Ar9az3wAhv54wO6dxoL5ll0QKW/professional-headshot-portrait-of-a-conf-1773339957497-389f0f5a.png?_wi=2", imageAlt: "James Mitchell"
|
||||
id: "6", title: "Beyond Expectations", quote: "From concept to launch, HEXON demonstrated unparalleled professionalism and technical mastery. Their 3D drone animations actually made our stakeholder meetings more engaging. Highly recommended.", name: "James Mitchell", role: "Chief Marketing Officer", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Ar9az3wAhv54wO6dxoL5ll0QKW/professional-headshot-portrait-of-a-conf-1773339957497-389f0f5a.png", imageAlt: "James Mitchell"
|
||||
}
|
||||
]}
|
||||
textboxLayout="default"
|
||||
|
||||
@@ -1,51 +1,46 @@
|
||||
"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;
|
||||
width?: number;
|
||||
height?: number;
|
||||
fontSize?: number;
|
||||
fontWeight?: 'normal' | 'bold' | 'lighter';
|
||||
fill?: string;
|
||||
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,
|
||||
width = 200,
|
||||
height = 50,
|
||||
fontSize = 24,
|
||||
fontWeight = 'bold',
|
||||
fill = '#000000',
|
||||
className = '',
|
||||
}) => {
|
||||
return (
|
||||
<svg
|
||||
ref={svgRef}
|
||||
viewBox={viewBox}
|
||||
className={cls("w-full", className)}
|
||||
style={{ aspectRatio: aspectRatio }}
|
||||
preserveAspectRatio="none"
|
||||
role="img"
|
||||
aria-label={`${logoText} logo`}
|
||||
width={width}
|
||||
height={height}
|
||||
viewBox={`0 0 ${width} ${height}`}
|
||||
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={fontSize}
|
||||
fontWeight={fontWeight}
|
||||
fill={fill}
|
||||
fontFamily="Arial, sans-serif"
|
||||
>
|
||||
{logoText}
|
||||
{text}
|
||||
</text>
|
||||
</svg>
|
||||
);
|
||||
});
|
||||
|
||||
SvgTextLogo.displayName = "SvgTextLogo";
|
||||
};
|
||||
|
||||
export default SvgTextLogo;
|
||||
|
||||
Reference in New Issue
Block a user