diff --git a/src/app/page.tsx b/src/app/page.tsx index d855492..5a4f0a4 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -20,7 +20,7 @@ export default function LandingPage() { borderRadius="rounded" contentWidth="mediumSmall" sizing="largeSizeMediumTitles" - background="noise" + background="circleGradient" cardStyle="layered-gradient" primaryButtonStyle="diagonal-gradient" secondaryButtonStyle="solid" @@ -52,7 +52,7 @@ export default function LandingPage() { { text: "View How It Works", href: "features" } ]} buttonAnimation="slide-up" - background={{ variant: "noise" }} + background={{ variant: "plain" }} carouselItems={[ { id: "1", imageSrc: "http://img.b2bpic.net/free-photo/showing-building-blueprint_1098-21102.jpg", imageAlt: "Contractor team working on job site" }, { id: "2", imageSrc: "http://img.b2bpic.net/free-photo/side-view-man-working-as-plumber_23-2150746307.jpg", imageAlt: "Professional electrician crew" }, diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..253a3ae 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,38 @@ -"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; + id?: 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 = '', id }) => { return ( + + + + + + - {logoText} + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; +}; export default SvgTextLogo;