Merge version_1 into main #1

Merged
bender merged 2 commits from version_1 into main 2026-03-11 03:19:59 +00:00
2 changed files with 20 additions and 48 deletions

View File

@@ -9,7 +9,7 @@ import ProductCardTwo from '@/components/sections/product/ProductCardTwo';
import TestimonialCardSixteen from '@/components/sections/testimonial/TestimonialCardSixteen';
import ContactFaq from '@/components/sections/contact/ContactFaq';
import FooterLogoEmphasis from '@/components/sections/footer/FooterLogoEmphasis';
import { CheckCircle, Zap, Wrench, Gallery, Star, Phone } from 'lucide-react';
import { CheckCircle, Zap, Wrench, ImageIcon, Star, Phone } from 'lucide-react';
export default function LandingPage() {
return (
@@ -118,7 +118,7 @@ export default function LandingPage() {
title="Recent Projects & Portfolio"
description="Explore our portfolio of completed machining and fabrication projects. Each project showcases our commitment to precision, quality, and customer satisfaction."
tag="Portfolio"
tagIcon={Gallery}
tagIcon={ImageIcon}
tagAnimation="slide-up"
textboxLayout="default"
animationType="slide-up"
@@ -153,20 +153,16 @@ export default function LandingPage() {
animationType="slide-up"
testimonials={[
{
id: "1", name: "Mark Stevens", role: "Fleet Manager", company: "Premier Automotive Solutions", rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/blond-businessman-happy-expression_1194-3693.jpg"
id: "1", name: "Mark Stevens", role: "Fleet Manager", company: "Premier Automotive Solutions", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/blond-businessman-happy-expression_1194-3693.jpg"
},
{
id: "2", name: "Robert Chen", role: "Engineering Director", company: "Industrial Manufacturing Inc", rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/businessman-with-glasses-arms-folded_1098-44.jpg"
id: "2", name: "Robert Chen", role: "Engineering Director", company: "Industrial Manufacturing Inc", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/businessman-with-glasses-arms-folded_1098-44.jpg"
},
{
id: "3", name: "Jennifer Walsh", role: "Operations Manager", company: "Custom Fabrication Services", rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/smiling-business-woman-front-glass-building_23-2147704437.jpg"
id: "3", name: "Jennifer Walsh", role: "Operations Manager", company: "Custom Fabrication Services", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/smiling-business-woman-front-glass-building_23-2147704437.jpg"
},
{
id: "4", name: "David Martinez", role: "Procurement Lead", company: "Precision Equipment Corp", rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/man-talking-phone-front-view_23-2149915914.jpg"
id: "4", name: "David Martinez", role: "Procurement Lead", company: "Precision Equipment Corp", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/man-talking-phone-front-view_23-2149915914.jpg"
}
]}
kpiItems={[

View File

@@ -1,51 +1,27 @@
"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);
export 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"
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"
}}
x="10"
y="35"
fontSize="32"
fontWeight="bold"
fill="currentColor"
dominantBaseline="middle"
>
{logoText}
{text}
</text>
</svg>
);
});
SvgTextLogo.displayName = "SvgTextLogo";
export default SvgTextLogo;
};