diff --git a/src/app/page.tsx b/src/app/page.tsx index 39e6a12..a1802d3 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -19,7 +19,7 @@ export default function LandingPage() { borderRadius="pill" contentWidth="mediumLarge" sizing="largeSmallSizeMediumTitles" - background="aurora" + background="circleGradient" cardStyle="subtle-shadow" primaryButtonStyle="gradient" secondaryButtonStyle="radial-glow" @@ -44,18 +44,18 @@ export default function LandingPage() { @@ -89,7 +90,7 @@ export default function LandingPage() { { id: "5", title: "Shingle Roofing", content: "Premium asphalt and architectural shingle installations. We use top-quality materials that offer superior protection, durability, and aesthetic appeal." }, { id: "6", title: "Residential Roofing", content: "Complete residential roofing services tailored to your home. From maintenance to full installations, we protect what matters most to your family." } ]} - imageSrc="http://img.b2bpic.net/free-photo/construction-worker_329181-2850.jpg?_wi=2" + imageSrc="http://img.b2bpic.net/free-photo/construction-worker_329181-2850.jpg" imageAlt="Professional roofing services" useInvertedBackground={true} mediaAnimation="opacity" @@ -109,7 +110,7 @@ export default function LandingPage() { { id: "5", title: "Work Done Right the First Time", content: "Our commitment is to excellence. We take pride in craftsmanship and stand behind every project with comprehensive warranties and guarantees." }, { id: "6", title: "Local Lake County Experts", content: "We understand the local weather, building codes, and specific roofing challenges of Lake County. Your roof is built for this climate." } ]} - imageSrc="http://img.b2bpic.net/free-photo/medium-shot-men-looking-tablet_23-2148921387.jpg?_wi=2" + imageSrc="http://img.b2bpic.net/free-photo/medium-shot-men-looking-tablet_23-2148921387.jpg" imageAlt="Expert roofing team" useInvertedBackground={false} mediaAnimation="blur-reveal" @@ -159,9 +160,9 @@ export default function LandingPage() { tagIcon={Shield} title="Protect Your Home with a Roof You Can Trust" description="Get your free roofing estimate from Guys Roofing at Lake County today. Our experts will assess your roof and provide honest recommendations tailored to your needs." - background={{ variant: "aurora" }} + background={{ variant: "plain" }} useInvertedBackground={true} - imageSrc="http://img.b2bpic.net/free-photo/metallic-iron-textured-abstract-backdrop_23-2148139853.jpg?_wi=2" + imageSrc="http://img.b2bpic.net/free-photo/metallic-iron-textured-abstract-backdrop_23-2148139853.jpg" imageAlt="Quality finished roof" mediaPosition="right" mediaAnimation="slide-up" diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..ec99a26 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; + fontSize?: number; + fontFamily?: string; + fontWeight?: number; + fill?: string; className?: 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, + fontSize = 48, + fontFamily = 'Arial, sans-serif', + fontWeight = 700, + fill = 'currentColor', + className = '', +}) => { return ( - {logoText} + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; +}; export default SvgTextLogo;