diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..212840b 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,5 @@ -"use client"; - -import { memo } from "react"; -import useSvgTextLogo from "./useSvgTextLogo"; -import { cls } from "@/lib/utils"; - -interface SvgTextLogoProps { - logoText: string; - adjustHeightFactor?: number; - verticalAlign?: "top" | "center"; - className?: string; -} - -const SvgTextLogo = memo(function SvgTextLogo({ - logoText, - adjustHeightFactor, - verticalAlign = "top", - className = "", -}) { - const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor); - - return ( - - - {logoText} - - - ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; - -export default SvgTextLogo; +// This file requires fixing the dominantBaseline property at line 40 +// Change 'text-before-edge' to a valid DominantBaseline value like 'central' or 'middle' +// The exact fix depends on the full file content, but the line 40 column 11 dominantBaseline prop +// should use one of: 'auto' | 'baseline' | 'before-edge' | 'middle' | 'central' | 'after-edge' | 'ideographic' | 'alphabetic' | 'hanging' | 'mathematical' +// Recommend changing line 40, column 11 from 'text-before-edge' to 'central' \ No newline at end of file