diff --git a/src/app/page.tsx b/src/app/page.tsx index 6fc8957..0c6de65 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -20,7 +20,7 @@ export default function LandingPage() { borderRadius="pill" contentWidth="small" sizing="mediumLarge" - background="grid" + background="circleGradient" cardStyle="outline" primaryButtonStyle="gradient" secondaryButtonStyle="layered" @@ -54,9 +54,9 @@ export default function LandingPage() { ]} buttonAnimation="slide-up" carouselItems={[ - { id: "1", imageSrc: "http://img.b2bpic.net/free-photo/photo-concrete-texture-pattern_58702-13311.jpg?_wi=1", imageAlt: "excavator heavy equipment demolition work" }, - { id: "2", imageSrc: "http://img.b2bpic.net/free-photo/construction-site-with-old-pipes_23-2148254074.jpg?_wi=1", imageAlt: "safety demolition crew team professional" }, - { id: "3", imageSrc: "http://img.b2bpic.net/free-photo/front-view-worker-with-hard-hat-uniform_23-2148773435.jpg?_wi=1", imageAlt: "demolition project before after transformation" }, + { id: "1", imageSrc: "http://img.b2bpic.net/free-photo/photo-concrete-texture-pattern_58702-13311.jpg", imageAlt: "excavator heavy equipment demolition work" }, + { id: "2", imageSrc: "http://img.b2bpic.net/free-photo/construction-site-with-old-pipes_23-2148254074.jpg", imageAlt: "safety demolition crew team professional" }, + { id: "3", imageSrc: "http://img.b2bpic.net/free-photo/front-view-worker-with-hard-hat-uniform_23-2148773435.jpg", imageAlt: "demolition project before after transformation" }, { id: "4", imageSrc: "http://img.b2bpic.net/free-photo/shareholders-team-ensure-factory-follows-safety-procedures-before-investing_482257-119563.jpg", imageAlt: "demolition equipment truck commercial site" }, { id: "5", imageSrc: "http://img.b2bpic.net/free-vector/flat-recycling-landing-page-template_52683-16036.jpg", imageAlt: "demolition final inspection site clearance" }, { id: "6", imageSrc: "http://img.b2bpic.net/free-photo/male-worker-with-bulldozer-sand-quarry_1303-28100.jpg", imageAlt: "demolition project success completed" } @@ -97,13 +97,13 @@ export default function LandingPage() { useInvertedBackground={true} features={[ { - title: "Residential Demolition", description: "Complete house and building teardown services with careful material sorting and recycling programs.", imageSrc: "http://img.b2bpic.net/free-photo/photo-concrete-texture-pattern_58702-13311.jpg?_wi=2", imageAlt: "Residential demolition project", button: { text: "Learn More", href: "contact" } + title: "Residential Demolition", description: "Complete house and building teardown services with careful material sorting and recycling programs.", imageSrc: "http://img.b2bpic.net/free-photo/photo-concrete-texture-pattern_58702-13311.jpg", imageAlt: "Residential demolition project", button: { text: "Learn More", href: "contact" } }, { - title: "Commercial Demolition", description: "Large-scale commercial property demolition with minimal disruption to surrounding areas and communities.", imageSrc: "http://img.b2bpic.net/free-photo/construction-site-with-old-pipes_23-2148254074.jpg?_wi=2", imageAlt: "Commercial building demolition", button: { text: "Learn More", href: "contact" } + title: "Commercial Demolition", description: "Large-scale commercial property demolition with minimal disruption to surrounding areas and communities.", imageSrc: "http://img.b2bpic.net/free-photo/construction-site-with-old-pipes_23-2148254074.jpg", imageAlt: "Commercial building demolition", button: { text: "Learn More", href: "contact" } }, { - title: "Specialized Demolition", description: "Hazardous material removal, asbestos abatement, and controlled explosive demolition for complex structures.", imageSrc: "http://img.b2bpic.net/free-photo/front-view-worker-with-hard-hat-uniform_23-2148773435.jpg?_wi=2", imageAlt: "Specialized demolition work" + title: "Specialized Demolition", description: "Hazardous material removal, asbestos abatement, and controlled explosive demolition for complex structures.", imageSrc: "http://img.b2bpic.net/free-photo/front-view-worker-with-hard-hat-uniform_23-2148773435.jpg", imageAlt: "Specialized demolition work" } ]} /> @@ -215,7 +215,7 @@ export default function LandingPage() { tagAnimation="slide-up" title="Ready to Start Your Demolition Project?" description="Contact our team today for a free consultation and project assessment. Let us handle your demolition safely and professionally." - background={{ variant: "grid" }} + background={{ variant: "plain" }} useInvertedBackground={true} inputPlaceholder="Enter your email address" buttonText="Request Quote" diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..bc90b4b 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,34 @@ -"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; } -const SvgTextLogo = memo(function SvgTextLogo({ - logoText, - adjustHeightFactor, - verticalAlign = "top", - className = "", -}) { - const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor); - - return ( - - ( + ({ text, className = '', textClassName = '' }, ref) => { + return ( + - {logoText} - - - ); -}); + + {text} + + + ); + } +); -SvgTextLogo.displayName = "SvgTextLogo"; +SvgTextLogo.displayName = 'SvgTextLogo'; -export default SvgTextLogo; +export default SvgTextLogo; \ No newline at end of file