diff --git a/src/app/page.tsx b/src/app/page.tsx index 5bb0a92..406390c 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -78,7 +78,6 @@ export default function LandingPage() { description="Comprehensive branding and marketing solutions tailored to help your business stand out and grow." tag="What We Offer" textboxLayout="default" - gridVariant="three-columns-all-equal-width" animationType="slide-up" useInvertedBackground={false} products={[ @@ -99,6 +98,7 @@ export default function LandingPage() { reviewCount: "200+", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Aq4GR4KjFwRGVJPZ4lPalKUGgE/a-modern-responsive-website-design-displ-1773306862908-ee92e1a2.png", imageAlt: "Professional website development service" } ]} + gridVariant="three-columns-all-equal-width" /> @@ -128,7 +128,6 @@ export default function LandingPage() { title="Our Process" description="A streamlined approach from research to launch, ensuring your brand gets the attention it deserves." tag="How We Work" - gridVariant="uniform-all-items-equal" animationType="slide-up" textboxLayout="default" useInvertedBackground={false} @@ -146,6 +145,7 @@ export default function LandingPage() { id: "4", value: "4", title: "Launch", description: "Strategic launch with analytics and performance tracking", icon: Rocket } ]} + gridVariant="uniform-all-items-equal" /> @@ -154,7 +154,6 @@ export default function LandingPage() { title="Results & Impact" description="How strong branding helps businesses grow. See what our clients have achieved." tag="Success Stories" - gridVariant="uniform-all-items-equal" animationType="slide-up" textboxLayout="default" useInvertedBackground={false} @@ -186,7 +185,6 @@ export default function LandingPage() { tag="Get Started" title="Let's Elevate Your Business" description="Ready to take your brand to the next level? Get in touch with our team today for a free consultation. Let's discuss how we can help you scale your brand the smart way." - tagIcon={undefined} background={{ variant: "sparkles-gradient" }} useInvertedBackground={false} imageSrc="/placeholders/placeholder1.webp" diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..70b67f4 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,36 @@ -"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; + dominantBaseline?: 'auto' | 'text-bottom' | 'alphabetic' | 'ideographic' | 'middle' | 'central' | 'mathematical' | 'hanging'; } -const SvgTextLogo = memo(function SvgTextLogo({ - logoText, - adjustHeightFactor, - verticalAlign = "top", - className = "", -}) { - const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor); - +export const SvgTextLogo: React.FC = ({ + text, + className = '', + dominantBaseline = 'middle', +}) => { return ( - {logoText} + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; +}; export default SvgTextLogo;