From 404d64fea2a27820c7347b799ff1cfd49b27420f Mon Sep 17 00:00:00 2001 From: bender Date: Fri, 13 Mar 2026 03:20:52 +0000 Subject: [PATCH 1/3] Update src/app/contact/page.tsx --- src/app/contact/page.tsx | 22 ++++++++-------------- 1 file changed, 8 insertions(+), 14 deletions(-) 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() { Date: Fri, 13 Mar 2026 03:20:52 +0000 Subject: [PATCH 2/3] Update src/app/page.tsx --- src/app/page.tsx | 164 +++++++++++------------------------------------ 1 file changed, 39 insertions(+), 125 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 0aac985..6dcecaa 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -28,7 +28,7 @@ export default function HomePage() { borderRadius="rounded" contentWidth="medium" sizing="medium" - background="grid" + background="circleGradient" cardStyle="layered-gradient" primaryButtonStyle="diagonal-gradient" secondaryButtonStyle="solid" @@ -42,13 +42,13 @@ export default function HomePage() { Date: Fri, 13 Mar 2026 03:20:53 +0000 Subject: [PATCH 3/3] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 68 +++++++++---------- 1 file changed, 33 insertions(+), 35 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..63d410f 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,49 @@ -"use client"; - -import { memo } from "react"; -import useSvgTextLogo from "./useSvgTextLogo"; -import { cls } from "@/lib/utils"; +import React from "react"; interface SvgTextLogoProps { - logoText: string; - adjustHeightFactor?: number; - verticalAlign?: "top" | "center"; + text: string; className?: string; + fontSize?: number; + fontWeight?: number | string; + letterSpacing?: number; + fill?: string; } -const SvgTextLogo = memo(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; -- 2.49.1