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} /> 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;