Merge version_1 into main #2
@@ -19,7 +19,7 @@ export default function LandingPage() {
|
||||
borderRadius="rounded"
|
||||
contentWidth="small"
|
||||
sizing="medium"
|
||||
background="fluid"
|
||||
background="circleGradient"
|
||||
cardStyle="glass-depth"
|
||||
primaryButtonStyle="diagonal-gradient"
|
||||
secondaryButtonStyle="radial-glow"
|
||||
@@ -49,20 +49,20 @@ export default function LandingPage() {
|
||||
imageSrc="http://img.b2bpic.net/free-photo/manufacturing-analyst-reviewing-solar-panel-production-workflow_482257-125954.jpg"
|
||||
imageAlt="Professional Engineer Portrait"
|
||||
mediaAnimation="slide-up"
|
||||
background={{ variant: "fluid" }}
|
||||
background={{ variant: "plain" }}
|
||||
useInvertedBackground={false}
|
||||
testimonials={[
|
||||
{
|
||||
name: "John Smith", handle: "Chief Technical Officer, InnovateCorp", testimonial: "A visionary engineer whose work transformed how we approach complex technical challenges.", rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/concentrated-young-lady-designer-sitting-office-night_171337-15594.jpg?_wi=1"
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/concentrated-young-lady-designer-sitting-office-night_171337-15594.jpg"
|
||||
},
|
||||
{
|
||||
name: "Sarah Johnson", handle: "Engineering Director, BuildTech", testimonial: "Exceptional leadership and technical depth made every project better. A true industry pioneer.", rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/portrait-sexy-handsome-fashion-businessman-model-dressed-elegant-blue-suit-posing-street-background-metrosexual_158538-10528.jpg?_wi=1"
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/portrait-sexy-handsome-fashion-businessman-model-dressed-elegant-blue-suit-posing-street-background-metrosexual_158538-10528.jpg"
|
||||
},
|
||||
{
|
||||
name: "Michael Chen", handle: "Project Manager, Infrastructure Plus", testimonial: "Their innovative solutions consistently set new standards for engineering excellence.", rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/blond-business-woman-blue-shirt_23-2148095792.jpg?_wi=1"
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/blond-business-woman-blue-shirt_23-2148095792.jpg"
|
||||
}
|
||||
]}
|
||||
testimonialRotationInterval={5000}
|
||||
@@ -83,7 +83,7 @@ export default function LandingPage() {
|
||||
description="Professional Engineer & Industry Visionary"
|
||||
subdescription="Dedicated to advancing technological solutions and mentoring the next generation"
|
||||
icon={Lightbulb}
|
||||
imageSrc="http://img.b2bpic.net/free-photo/man-electrical-technician-working-switchboard-with-fuses-uses-tablet_169016-23786.jpg?_wi=1"
|
||||
imageSrc="http://img.b2bpic.net/free-photo/man-electrical-technician-working-switchboard-with-fuses-uses-tablet_169016-23786.jpg"
|
||||
imageAlt="Engineering Project Achievement"
|
||||
mediaAnimation="slide-up"
|
||||
useInvertedBackground={true}
|
||||
@@ -103,7 +103,7 @@ export default function LandingPage() {
|
||||
features={[
|
||||
{
|
||||
id: 1,
|
||||
title: "Large-Scale Infrastructure Development", description: "Led comprehensive infrastructure modernization project serving 50,000+ users, implementing cutting-edge systems integration and achieving 99.9% operational reliability.", imageSrc: "http://img.b2bpic.net/free-photo/man-electrical-technician-working-switchboard-with-fuses-uses-tablet_169016-23786.jpg?_wi=2", imageAlt: "Infrastructure Project"
|
||||
title: "Large-Scale Infrastructure Development", description: "Led comprehensive infrastructure modernization project serving 50,000+ users, implementing cutting-edge systems integration and achieving 99.9% operational reliability.", imageSrc: "http://img.b2bpic.net/free-photo/man-electrical-technician-working-switchboard-with-fuses-uses-tablet_169016-23786.jpg", imageAlt: "Infrastructure Project"
|
||||
},
|
||||
{
|
||||
id: 2,
|
||||
@@ -158,13 +158,13 @@ export default function LandingPage() {
|
||||
topMarqueeDirection="left"
|
||||
testimonials={[
|
||||
{
|
||||
id: "1", name: "Lisa Anderson", handle: "Senior Engineering Manager", testimonial: "The technical mentorship and guidance I received transformed my career trajectory. A true role model in every sense.", imageSrc: "http://img.b2bpic.net/free-photo/concentrated-young-lady-designer-sitting-office-night_171337-15594.jpg?_wi=2"
|
||||
id: "1", name: "Lisa Anderson", handle: "Senior Engineering Manager", testimonial: "The technical mentorship and guidance I received transformed my career trajectory. A true role model in every sense.", imageSrc: "http://img.b2bpic.net/free-photo/concentrated-young-lady-designer-sitting-office-night_171337-15594.jpg"
|
||||
},
|
||||
{
|
||||
id: "2", name: "David Martinez", handle: "Project Lead, Advanced Systems", testimonial: "Exceptional problem-solving ability combined with remarkable patience made complex projects manageable and successful.", imageSrc: "http://img.b2bpic.net/free-photo/portrait-sexy-handsome-fashion-businessman-model-dressed-elegant-blue-suit-posing-street-background-metrosexual_158538-10528.jpg?_wi=2"
|
||||
id: "2", name: "David Martinez", handle: "Project Lead, Advanced Systems", testimonial: "Exceptional problem-solving ability combined with remarkable patience made complex projects manageable and successful.", imageSrc: "http://img.b2bpic.net/free-photo/portrait-sexy-handsome-fashion-businessman-model-dressed-elegant-blue-suit-posing-street-background-metrosexual_158538-10528.jpg"
|
||||
},
|
||||
{
|
||||
id: "3", name: "Rachel Thompson", handle: "Chief Engineer, TechSolutions", testimonial: "Their innovative approach to engineering challenges set new industry standards that we still follow today.", imageSrc: "http://img.b2bpic.net/free-photo/blond-business-woman-blue-shirt_23-2148095792.jpg?_wi=2"
|
||||
id: "3", name: "Rachel Thompson", handle: "Chief Engineer, TechSolutions", testimonial: "Their innovative approach to engineering challenges set new industry standards that we still follow today.", imageSrc: "http://img.b2bpic.net/free-photo/blond-business-woman-blue-shirt_23-2148095792.jpg"
|
||||
},
|
||||
{
|
||||
id: "4", name: "Robert Kim", handle: "Director of R&D, FutureTech", testimonial: "Visionary leadership and technical excellence combined to create solutions that continue to impact thousands of lives.", imageSrc: "http://img.b2bpic.net/free-photo/elegant-businessman_23-2147985497.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 50"
|
||||
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="middle"
|
||||
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