diff --git a/src/app/page.tsx b/src/app/page.tsx index 824318b..0d6fa45 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -48,17 +48,18 @@ export default function LandingPage() { tag="Infrastructure Excellence" tagIcon={Building2} tagAnimation="slide-up" + background={{ variant: "plain" }} imageSrc="http://img.b2bpic.net/free-photo/aerial-view-shanghai-overpass_1359-34.jpg" imageAlt="Large scale highway construction project" mediaAnimation="slide-up" testimonials={[ { name: "Zahur Hasan", handle: "Owner & Visionary", testimonial: "Our commitment to excellence has made us the trusted partner for complex infrastructure projects across the region.", rating: 5, - imageSrc: "/placeholders/placeholder1.webp?_wi=1" + imageSrc: "/placeholders/placeholder1.webp" }, { name: "Infrastructure Success", handle: "21 Years of Excellence", testimonial: "Delivering precision engineering and structural integrity on every project, every time.", rating: 5, - imageSrc: "/placeholders/placeholder1.webp?_wi=2" + imageSrc: "/placeholders/placeholder1.webp" } ]} buttons={[ @@ -128,10 +129,10 @@ export default function LandingPage() { useInvertedBackground={false} products={[ { - id: "vision", name: "Our Vision", price: "Excellence", variant: "Benchmark of National Infrastructure", imageSrc: "/placeholders/placeholder1.webp?_wi=3", imageAlt: "Vision placeholder" + id: "vision", name: "Our Vision", price: "Excellence", variant: "Benchmark of National Infrastructure", imageSrc: "/placeholders/placeholder1.webp", imageAlt: "Vision placeholder" }, { - id: "mission", name: "Our Mission", price: "Quality", variant: "Superior Infrastructure Services", imageSrc: "/placeholders/placeholder1.webp?_wi=4", imageAlt: "Mission placeholder" + id: "mission", name: "Our Mission", price: "Quality", variant: "Superior Infrastructure Services", imageSrc: "/placeholders/placeholder1.webp", imageAlt: "Mission placeholder" } ]} /> @@ -145,7 +146,7 @@ export default function LandingPage() { tagIcon={TrendingUp} tagAnimation="slide-up" textboxLayout="default" - gridVariant="three-columns-all-equal-width" + gridVariant="uniform-all-items-equal" animationType="slide-up" useInvertedBackground={false} metrics={[ diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..5129a71 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,44 @@ -"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; + fontSize?: number; + fontWeight?: number | string; + fill?: string; + textAnchor?: 'start' | 'middle' | 'end'; + dominantBaseline?: 'auto' | 'middle' | 'hanging' | 'central'; } -const SvgTextLogo = memo(function SvgTextLogo({ - logoText, - adjustHeightFactor, - verticalAlign = "top", - className = "", -}) { - const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor); - +const SvgTextLogo: React.FC = ({ + text, + className = '', + fontSize = 24, + fontWeight = 'bold', + fill = 'currentColor', + textAnchor = 'middle', + dominantBaseline = 'central', +}) => { return ( - {logoText} + {text} ); -}); +}; -SvgTextLogo.displayName = "SvgTextLogo"; - -export default SvgTextLogo; +export default SvgTextLogo; \ No newline at end of file