diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index 3c9a3d9..9269984 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -8,36 +8,34 @@ interface SvgTextLogoProps { const SvgTextLogo: React.FC = ({ text, className = '' }) => { const textLength = text.length; const charWidth = 60; - const width = Math.max(300, textLength * charWidth); + const width = textLength * charWidth + 40; const height = 120; - const fontSize = 80; - const x = width / 2; - const y = height / 2; return ( - - + + + + {text} @@ -45,4 +43,4 @@ const SvgTextLogo: React.FC = ({ text, className = '' }) => { ); }; -export default SvgTextLogo; +export default SvgTextLogo; \ No newline at end of file