diff --git a/src/app/page.tsx b/src/app/page.tsx index e59b923..60b5cac 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -21,7 +21,7 @@ export default function LandingPage() { borderRadius="pill" contentWidth="mediumLarge" sizing="medium" - background="grid" + background="circleGradient" cardStyle="gradient-radial" primaryButtonStyle="double-inset" secondaryButtonStyle="solid" @@ -45,7 +45,7 @@ export default function LandingPage() { { + text?: string; + fontSize?: number; + fontWeight?: number; + letterSpacing?: number; + dominantBaseline?: 'auto' | 'text-bottom' | 'alphabetic' | 'ideographic' | 'middle' | 'central' | 'mathematical' | 'hanging' | 'text-top'; } -const SvgTextLogo = memo(function SvgTextLogo({ - logoText, - adjustHeightFactor, - verticalAlign = "top", - className = "", -}) { - const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor); - +const SvgTextLogo: React.FC = ({ + text = 'LOGO', + fontSize = 48, + fontWeight = 700, + letterSpacing = 0, + dominantBaseline = 'middle', + ...props +}) => { return ( - + - {logoText} + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; +}; export default SvgTextLogo;