diff --git a/src/app/page.tsx b/src/app/page.tsx index 7b22483..0e6c9bc 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -19,7 +19,7 @@ export default function LandingPage() { borderRadius="pill" contentWidth="mediumSmall" sizing="mediumLarge" - background="fluid" + background="circleGradient" cardStyle="layered-gradient" primaryButtonStyle="gradient" secondaryButtonStyle="solid" @@ -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 = "", fontSize = 48, + fontWeight = "bold"}) => { + // Approximate text width calculation + const charWidth = fontSize * 0.6; + const textWidth = text.length * charWidth; + const padding = fontSize * 0.5; + const svgWidth = textWidth + padding * 2; + const svgHeight = fontSize * 1.5; return ( - {logoText} + {text} ); -}); +}; -SvgTextLogo.displayName = "SvgTextLogo"; - -export default SvgTextLogo; +export default SvgTextLogo; \ No newline at end of file