diff --git a/src/app/page.tsx b/src/app/page.tsx index 19941ae..6cc26cc 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -19,7 +19,7 @@ export default function LandingPage() { borderRadius="rounded" contentWidth="mediumLarge" sizing="largeSmallSizeLargeTitles" - background="fluid" + background="circleGradient" cardStyle="inset" primaryButtonStyle="gradient" secondaryButtonStyle="layered" @@ -42,7 +42,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 = 'system-ui, -apple-system, sans-serif', + fontWeight = 'bold', + fill = 'currentColor', + className = '', +}) => { + // Measure text width to size SVG appropriately + const textLength = text.length; + const estimatedWidth = textLength * (fontSize * 0.6); + const padding = fontSize * 0.5; + const width = estimatedWidth + padding * 2; + const height = fontSize * 1.5; return ( - {logoText} + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; +}; export default SvgTextLogo;