From 6053eaa1d31542ef9a6f2e1e6cec98348bc2cf37 Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 12 Mar 2026 17:14:29 +0000 Subject: [PATCH 1/2] Update src/app/page.tsx --- src/app/page.tsx | 29 +++++++++++++++-------------- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 935774a..66d5c4b 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -55,16 +55,16 @@ export default function LandingPage() { buttonAnimation="slide-up" background={{ variant: "glowing-orb" }} leftCarouselItems={[ - { imageSrc: "http://img.b2bpic.net/free-photo/man-cutting-grass-with-lawn-mover-back-yard-male-shirt_1157-41448.jpg?_wi=1", imageAlt: "Professional lawn mowing service" }, - { imageSrc: "http://img.b2bpic.net/free-photo/grass-background_1127-3417.jpg?_wi=1", imageAlt: "Beautiful landscape design" }, - { imageSrc: "http://img.b2bpic.net/free-photo/gardening-equipments-gloves-vegetable-crate-table_23-2147844358.jpg?_wi=1", imageAlt: "Irrigation system installation" }, - { imageSrc: "http://img.b2bpic.net/free-photo/senior-municipal-worker-walking-with-leaf-blower-clean-up-city-park-area-front-view-focused_7502-10283.jpg?_wi=1", imageAlt: "Seasonal lawn maintenance" } + { imageSrc: "http://img.b2bpic.net/free-photo/man-cutting-grass-with-lawn-mover-back-yard-male-shirt_1157-41448.jpg", imageAlt: "Professional lawn mowing service" }, + { imageSrc: "http://img.b2bpic.net/free-photo/grass-background_1127-3417.jpg", imageAlt: "Beautiful landscape design" }, + { imageSrc: "http://img.b2bpic.net/free-photo/gardening-equipments-gloves-vegetable-crate-table_23-2147844358.jpg", imageAlt: "Irrigation system installation" }, + { imageSrc: "http://img.b2bpic.net/free-photo/senior-municipal-worker-walking-with-leaf-blower-clean-up-city-park-area-front-view-focused_7502-10283.jpg", imageAlt: "Seasonal lawn maintenance" } ]} rightCarouselItems={[ - { imageSrc: "http://img.b2bpic.net/free-photo/grass-background_1127-3417.jpg?_wi=2", imageAlt: "Landscape transformation" }, - { imageSrc: "http://img.b2bpic.net/free-photo/senior-municipal-worker-walking-with-leaf-blower-clean-up-city-park-area-front-view-focused_7502-10283.jpg?_wi=2", imageAlt: "Fall cleanup service" }, - { imageSrc: "http://img.b2bpic.net/free-photo/man-cutting-grass-with-lawn-mover-back-yard-male-shirt_1157-41448.jpg?_wi=2", imageAlt: "Professional maintenance" }, - { imageSrc: "http://img.b2bpic.net/free-photo/gardening-equipments-gloves-vegetable-crate-table_23-2147844358.jpg?_wi=2", imageAlt: "Watering systems" } + { imageSrc: "http://img.b2bpic.net/free-photo/grass-background_1127-3417.jpg", imageAlt: "Landscape transformation" }, + { imageSrc: "http://img.b2bpic.net/free-photo/senior-municipal-worker-walking-with-leaf-blower-clean-up-city-park-area-front-view-focused_7502-10283.jpg", imageAlt: "Fall cleanup service" }, + { imageSrc: "http://img.b2bpic.net/free-photo/man-cutting-grass-with-lawn-mover-back-yard-male-shirt_1157-41448.jpg", imageAlt: "Professional maintenance" }, + { imageSrc: "http://img.b2bpic.net/free-photo/gardening-equipments-gloves-vegetable-crate-table_23-2147844358.jpg", imageAlt: "Watering systems" } ]} carouselPosition="right" /> @@ -85,6 +85,7 @@ export default function LandingPage() { imageAlt="GreenCare professional landscaping team" useInvertedBackground={true} mediaAnimation="slide-up" + metricsAnimation="slide-up" /> @@ -105,22 +106,22 @@ export default function LandingPage() { useInvertedBackground={false} features={[ { - title: "Regular Lawn Maintenance", description: "Weekly or bi-weekly grass cutting, edging, and trimming to keep your lawn looking pristine all season long.", imageSrc: "http://img.b2bpic.net/free-photo/man-cutting-grass-with-lawn-mover-back-yard-male-shirt_1157-41448.jpg?_wi=3", imageAlt: "Lawn maintenance service" + title: "Regular Lawn Maintenance", description: "Weekly or bi-weekly grass cutting, edging, and trimming to keep your lawn looking pristine all season long.", imageSrc: "http://img.b2bpic.net/free-photo/man-cutting-grass-with-lawn-mover-back-yard-male-shirt_1157-41448.jpg", imageAlt: "Lawn maintenance service" }, { - title: "Landscaping Design", description: "Custom landscape design and installation services that transform your outdoor space into a beautiful oasis.", imageSrc: "http://img.b2bpic.net/free-photo/grass-background_1127-3417.jpg?_wi=3", imageAlt: "Landscape design project" + title: "Landscaping Design", description: "Custom landscape design and installation services that transform your outdoor space into a beautiful oasis.", imageSrc: "http://img.b2bpic.net/free-photo/grass-background_1127-3417.jpg", imageAlt: "Landscape design project" }, { - title: "Irrigation Systems", description: "Professional irrigation installation and maintenance to ensure your lawn stays hydrated and healthy.", imageSrc: "http://img.b2bpic.net/free-photo/gardening-equipments-gloves-vegetable-crate-table_23-2147844358.jpg?_wi=3", imageAlt: "Irrigation system setup" + title: "Irrigation Systems", description: "Professional irrigation installation and maintenance to ensure your lawn stays hydrated and healthy.", imageSrc: "http://img.b2bpic.net/free-photo/gardening-equipments-gloves-vegetable-crate-table_23-2147844358.jpg", imageAlt: "Irrigation system setup" }, { - title: "Seasonal Cleanup", description: "Spring and fall seasonal services including leaf removal, mulching, and yard preparation.", imageSrc: "http://img.b2bpic.net/free-photo/senior-municipal-worker-walking-with-leaf-blower-clean-up-city-park-area-front-view-focused_7502-10283.jpg?_wi=3", imageAlt: "Seasonal yard cleanup" + title: "Seasonal Cleanup", description: "Spring and fall seasonal services including leaf removal, mulching, and yard preparation.", imageSrc: "http://img.b2bpic.net/free-photo/senior-municipal-worker-walking-with-leaf-blower-clean-up-city-park-area-front-view-focused_7502-10283.jpg", imageAlt: "Seasonal yard cleanup" }, { - title: "Weed Control", description: "Effective weed prevention and removal treatments using eco-friendly solutions that protect your lawn.", imageSrc: "http://img.b2bpic.net/free-photo/man-cutting-grass-with-lawn-mover-back-yard-male-shirt_1157-41448.jpg?_wi=4", imageAlt: "Weed control service" + title: "Weed Control", description: "Effective weed prevention and removal treatments using eco-friendly solutions that protect your lawn.", imageSrc: "http://img.b2bpic.net/free-photo/man-cutting-grass-with-lawn-mover-back-yard-male-shirt_1157-41448.jpg", imageAlt: "Weed control service" }, { - title: "Lawn Aeration", description: "Professional aeration services to improve soil health, promote root growth, and enhance lawn vitality.", imageSrc: "http://img.b2bpic.net/free-photo/grass-background_1127-3417.jpg?_wi=4", imageAlt: "Lawn aeration treatment" + title: "Lawn Aeration", description: "Professional aeration services to improve soil health, promote root growth, and enhance lawn vitality.", imageSrc: "http://img.b2bpic.net/free-photo/grass-background_1127-3417.jpg", imageAlt: "Lawn aeration treatment" } ]} /> -- 2.49.1 From 99c1c6f5d4a9784659f3ea1fcb20ccea4e9d0f7f Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 12 Mar 2026 17:14:29 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 73 ++++++++++--------- 1 file changed, 38 insertions(+), 35 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..f0655ad 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,54 @@ -"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; + letterSpacing?: number; } -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, + letterSpacing = 2, +}) => { + const width = text.length * (fontSize * 0.6); + const height = fontSize * 1.5; return ( + + + - {logoText} + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; +}; export default SvgTextLogo; -- 2.49.1