From c08a984c2dc6303081b2133e5aca037c0bf76e15 Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 12 Mar 2026 21:12:57 +0000 Subject: [PATCH 1/2] Update src/app/page.tsx --- src/app/page.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 5c66abd..a538873 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -15,12 +15,12 @@ import { CheckCircle, Shield, Star, Home, Heart, Wrench, Phone, ClipboardList } export default function MagnoliaRoofingPage() { return ( window.location.href = "tel:5308480642" } ]} buttonAnimation="slide-up" - background={{ variant: "noise" }} + background={{ variant: "plain" }} carouselItems={[ { id: "1", imageSrc: "http://img.b2bpic.net/free-photo/fence-s-silhouette-with-sky-background_1160-223.jpg", imageAlt: "Professional roof installation" }, { id: "2", imageSrc: "http://img.b2bpic.net/free-photo/two-muslim-women-with-hijabs-consulting-map-while-traveling_23-2149275813.jpg", imageAlt: "Quality roofing work" }, @@ -204,7 +204,7 @@ export default function MagnoliaRoofingPage() { { text: "Call (530) 848-0642", onClick: () => window.location.href = "tel:5308480642" }, { text: "Request Free Inspection", href: "#" } ]} - buttonAnimation="bounce-effect" + buttonAnimation="slide-up" background={{ variant: "radial-gradient" }} useInvertedBackground={false} /> -- 2.49.1 From 882d3d08b4b0e808e81e33c661fd39d6994aac34 Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 12 Mar 2026 21:12:57 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 60 ++++++++----------- 1 file changed, 25 insertions(+), 35 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..835bf61 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,41 @@ -"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; + textColor?: string; + fontSize?: number; + fontWeight?: number | string; + fontFamily?: 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 = '', + textColor = 'currentColor', + fontSize = 24, + fontWeight = 700, + fontFamily = 'inherit', +}) => { return ( - {logoText} + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; +}; export default SvgTextLogo; -- 2.49.1