From f05eb11508b9fc87a19eb660019082335b9fea78 Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 12 Mar 2026 06:06:39 +0000 Subject: [PATCH] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 24 +++++++++---------- 1 file changed, 11 insertions(+), 13 deletions(-) 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