diff --git a/src/app/page.tsx b/src/app/page.tsx index 68dc086..56495c8 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -20,7 +20,7 @@ export default function LandingPage() { borderRadius="pill" contentWidth="small" sizing="mediumSizeLargeTitles" - background="floatingGradient" + background="circleGradient" cardStyle="gradient-bordered" primaryButtonStyle="gradient" secondaryButtonStyle="glass" @@ -50,8 +50,8 @@ export default function LandingPage() { { text: "Explore Services", href: "#services" }, { text: "View Portfolio", href: "#projects" } ]} - background={{ variant: "floatingGradient" }} - imageSrc="http://img.b2bpic.net/free-photo/women-working-greenhouse-with-green-trees_1157-30893.jpg?_wi=1" + background={{ variant: "sparkles-gradient" }} + imageSrc="http://img.b2bpic.net/free-photo/women-working-greenhouse-with-green-trees_1157-30893.jpg" imageAlt="Lush garden landscape" frameStyle="card" mediaAnimation="slide-up" @@ -120,7 +120,7 @@ export default function LandingPage() { description="20+ Years of Experience" subdescription="Serving the community with award-winning landscape solutions" icon={Sprout} - imageSrc="http://img.b2bpic.net/free-photo/women-working-greenhouse-with-green-trees_1157-30893.jpg?_wi=2" + imageSrc="http://img.b2bpic.net/free-photo/women-working-greenhouse-with-green-trees_1157-30893.jpg" imageAlt="Professional gardening team" useInvertedBackground={false} mediaAnimation="slide-up" @@ -183,7 +183,7 @@ export default function LandingPage() { tagIcon={MessageSquare} title="Start Your Garden Journey" description="Ready to transform your outdoor space? Contact us today for a free consultation and custom quote." - background={{ variant: "floatingGradient" }} + background={{ variant: "sparkles-gradient" }} useInvertedBackground={false} imageSrc="http://img.b2bpic.net/free-photo/close-up-daisies-outdoors_23-2148172621.jpg" imageAlt="Beautiful garden aesthetic" diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..6443fde 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,36 @@ -"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?: "normal" | "bold" | "lighter" | "bolder" | number; + letterSpacing?: number; } -const SvgTextLogo = memo(function SvgTextLogo({ - logoText, - adjustHeightFactor, - verticalAlign = "top", - className = "", -}) { - const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor); - +export const SvgTextLogo: React.FC = ({ + text, + className = "", fontSize = 48, + fontWeight = "bold", letterSpacing = 2, +}) => { return ( - {logoText} + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; - -export default SvgTextLogo; +};