diff --git a/src/app/contact/page.tsx b/src/app/contact/page.tsx index 127c965..956d179 100644 --- a/src/app/contact/page.tsx +++ b/src/app/contact/page.tsx @@ -15,7 +15,7 @@ export default function ContactPage() { borderRadius="rounded" contentWidth="medium" sizing="medium" - background="grid" + background="circleGradient" cardStyle="layered-gradient" primaryButtonStyle="diagonal-gradient" secondaryButtonStyle="solid" @@ -44,15 +44,13 @@ export default function ContactPage() { description="Ready to schedule tree removal, pruning, or maintenance? Contact Trees A Crowd today. Our team in Perth is ready to help with fast, reliable service and competitive pricing." buttons={[ { - text: "Call: 0450 552 659", - href: "tel:0450552659" + text: "Call: 0450 552 659", href: "tel:0450552659" }, { - text: "Send Inquiry", - href: "mailto:info@treesacrowd.com.au" + text: "Send Inquiry", href: "mailto:info@treesacrowd.com.au" } ]} - background={{ variant: "grid" }} + background={{ variant: "plain" }} useInvertedBackground={false} tagAnimation="slide-up" buttonAnimation="slide-up" @@ -65,8 +63,7 @@ export default function ContactPage() { (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 = 700, + letterSpacing = 0, + fill = "currentColor"}) => { + const textLength = text.length; + const charWidth = fontSize * 0.6; + const width = textLength * charWidth + letterSpacing * (textLength - 1); + const height = fontSize * 1.2; + const padding = 10; + const viewBoxWidth = width + padding * 2; + const viewBoxHeight = height + padding * 2; return ( - {logoText} + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; +}; export default SvgTextLogo;