diff --git a/src/app/page.tsx b/src/app/page.tsx index 218d133..56c28ef 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -47,7 +47,7 @@ export default function LandingPage() { description="Train like a champion at Fitness Wynk. MMA, boxing, functional training, and personalized conditioning—crafted for athletes who demand excellence." tag="Est. 2015 | Sumeet Khade's Legacy" tagIcon={Zap} - background={{ variant: "glowing-orb" }} + background={{ variant: "fluid" }} imageSrc="http://img.b2bpic.net/free-photo/side-view-female-boxer-practicing-ring-with-trainer_23-2148426215.jpg" imageAlt="professional MMA fighter training stance combat" imagePosition="right" @@ -234,7 +234,7 @@ export default function LandingPage() { { text: "Call Now: +91-9876543210", href: "tel:+919876543210" }, { text: "WhatsApp: Message Us", href: "https://wa.me/919876543210" } ]} - background={{ variant: "glowing-orb" }} + background={{ variant: "plain" }} useInvertedBackground={true} /> diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..d26b695 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,38 @@ -"use client"; +import React, { SVGProps } from 'react'; -import { memo } from "react"; -import useSvgTextLogo from "./useSvgTextLogo"; -import { cls } from "@/lib/utils"; - -interface SvgTextLogoProps { - logoText: string; - adjustHeightFactor?: number; - verticalAlign?: "top" | "center"; - className?: string; +interface SvgTextLogoProps extends SVGProps { + text?: string; + fontSize?: number; + fill?: 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); - +const SvgTextLogo: React.FC = ({ + text = 'Logo', + fontSize = 24, + fill = 'currentColor', + dominantBaseline = 'middle', + ...props +}) => { return ( - {logoText} + {text} ); -}); +}; -SvgTextLogo.displayName = "SvgTextLogo"; - -export default SvgTextLogo; +export default SvgTextLogo; \ No newline at end of file