diff --git a/src/app/page.tsx b/src/app/page.tsx index 558bddb..d458e32 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, + fontSize = 48, + fontFamily = 'Arial, sans-serif', + fontWeight = 'bold', + fill = 'currentColor', + className, +}) => { + const textProps = { + x: '50%', + y: '50%', + textAnchor: 'middle' as const, + dominantBaseline: 'middle' as const, + fontSize, + fontFamily, + fontWeight, + fill, + }; return ( - - {logoText} + + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; +}; export default SvgTextLogo;