diff --git a/src/app/page.tsx b/src/app/page.tsx index 004b431..8332710 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -19,7 +19,7 @@ export default function LandingPage() { borderRadius="rounded" contentWidth="compact" sizing="largeSmallSizeLargeTitles" - background="floatingGradient" + background="circleGradient" cardStyle="gradient-radial" primaryButtonStyle="flat" secondaryButtonStyle="solid" @@ -44,7 +44,7 @@ export default function LandingPage() { tag="Serving Dripping Springs" title="Expert Electrical Services for Your Home and Business" description="Reliable, professional electrical contracting with one-year warranty. Master electrician-led team serving residential and commercial clients in the Austin area." - background={{ variant: "floatingGradient" }} + background={{ variant: "glowing-orb" }} imageSrc="http://img.b2bpic.net/free-photo/male-electrician-works-switchboard-with-electrical-connecting-cable_169016-16571.jpg" imageAlt="Professional electrical service technician" mediaAnimation="slide-up" @@ -81,6 +81,7 @@ export default function LandingPage() { imageSrc="http://img.b2bpic.net/free-photo/electrician-wiring-panel-electrical-installation-work-cable-connection_169016-68356.jpg" imageAlt="Professional electrician at work" mediaAnimation="slide-up" + metricsAnimation="slide-up" useInvertedBackground={false} /> @@ -217,4 +218,4 @@ export default function LandingPage() { ); -} \ No newline at end of file +} diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..a9ab505 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,42 @@ -"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; + textClassName?: string; + fontSize?: number; + fontWeight?: string | number; + fill?: string; + dominantBaseline?: 'auto' | 'baseline' | 'hanging' | 'ideographic' | 'mathematical' | 'central' | 'middle' | 'text-after-edge' | 'text-before-edge'; } -const SvgTextLogo = memo(function SvgTextLogo({ - logoText, - adjustHeightFactor, - verticalAlign = "top", - className = "", -}) { - const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor); - +export default function SvgTextLogo({ + text, + className = '', + textClassName = '', + fontSize = 24, + fontWeight = 'bold', + fill = 'currentColor', + dominantBaseline = 'middle', +}: SvgTextLogoProps) { return ( - {logoText} + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; - -export default SvgTextLogo; +}