diff --git a/src/app/page.tsx b/src/app/page.tsx index 0cdc843..0b1433e 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -32,7 +32,7 @@ export default function LandingPage() { brandName="ServicePro" navItems={[ { name: "Services", id: "services" }, - { name: "Why Us", id: "about" }, + { name: "Why Us", id: "trust" }, { name: "Testimonials", id: "testimonials" }, { name: "Pricing", id: "pricing" }, { name: "Contact", id: "contact" } @@ -47,10 +47,11 @@ export default function LandingPage() { -
+
{ + text?: string; + fontSize?: number; + fill?: string; + dominantBaseline?: 'auto' | 'text-bottom' | 'middle' | 'central' | 'text-top' | 'mathematical' | 'hanging'; } -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 = 24, + fill = 'currentColor', + dominantBaseline = 'middle', + ...props +}) => { return ( - {logoText} + {text} ); -}); +}; -SvgTextLogo.displayName = "SvgTextLogo"; - -export default SvgTextLogo; +export default SvgTextLogo; \ No newline at end of file