diff --git a/src/app/page.tsx b/src/app/page.tsx index 32b2be1..c35cbf7 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -44,7 +44,7 @@ export default function LandingPage() { (function SvgTextLogo({ - logoText, - adjustHeightFactor, - verticalAlign = "top", - className = "", -}) { - const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor); +const SvgTextLogo: React.FC = ({ + text, + className = '', + textClassName = '', + fill = 'currentColor', + fontSize = 48, + fontWeight = 700, + fontFamily = 'system-ui, -apple-system, sans-serif', + letterSpacing = 0, +}) => { + const padding = 20; + const lineHeight = fontSize * 1.2; + const estimatedWidth = text.length * fontSize * 0.6 + padding * 2; + const estimatedHeight = lineHeight + padding * 2; return ( - {logoText} + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; +}; export default SvgTextLogo;