Merge version_1 into main #2
@@ -48,7 +48,7 @@ export default function LandingPage() {
|
||||
tag="Liberty, Texas"
|
||||
tagIcon={Sparkles}
|
||||
tagAnimation="slide-up"
|
||||
background={{ variant: "circleGradient" }}
|
||||
background={{ variant: "sparkles-gradient" }}
|
||||
buttons={[
|
||||
{ text: "Get Your Free Quote", href: "contact" },
|
||||
{ text: "View Our Work", href: "services" }
|
||||
@@ -59,8 +59,8 @@ export default function LandingPage() {
|
||||
{ imageSrc: "http://img.b2bpic.net/free-photo/two-women-walking-park-friends-walking-path-park-nature_169016-68488.jpg", imageAlt: "Clean driveway after pressure washing" },
|
||||
{ imageSrc: "http://img.b2bpic.net/free-photo/curly-barista-wearing-face-mask-while-cleaning-coffee-shop_23-2148767440.jpg", imageAlt: "Bright house exterior after pressure washing" },
|
||||
{ imageSrc: "http://img.b2bpic.net/free-photo/kitchen-cleaning-with-steam-cleaner-care-cleanliness-biologically-clean-treatment-removing-dirt-care-health-cleanliness-kitchen-living-spaces_166373-8837.jpg", imageAlt: "Clean wooden deck restoration" },
|
||||
{ imageSrc: "http://img.b2bpic.net/free-photo/man-spraying-powder-paint-from-gun-full-shot_23-2149878780.jpg?_wi=1", imageAlt: "Commercial storefront cleaning" },
|
||||
{ imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-people-cleaning-building_23-2150454495.jpg?_wi=1", imageAlt: "Professional cleaning team" }
|
||||
{ imageSrc: "http://img.b2bpic.net/free-photo/man-spraying-powder-paint-from-gun-full-shot_23-2149878780.jpg", imageAlt: "Commercial storefront cleaning" },
|
||||
{ imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-people-cleaning-building_23-2150454495.jpg", imageAlt: "Professional cleaning team" }
|
||||
]}
|
||||
ariaLabel="PowerWash Unlimited hero section with service gallery"
|
||||
containerClassName="min-h-screen"
|
||||
@@ -97,7 +97,7 @@ export default function LandingPage() {
|
||||
description="Since our founding, we've been dedicated to delivering top-notch pressure washing results for residential and commercial clients."
|
||||
subdescription="Liberty, Texas | 24/7 Service Available"
|
||||
icon={Shield}
|
||||
imageSrc="http://img.b2bpic.net/free-photo/medium-shot-people-cleaning-building_23-2150454495.jpg?_wi=2"
|
||||
imageSrc="http://img.b2bpic.net/free-photo/medium-shot-people-cleaning-building_23-2150454495.jpg"
|
||||
imageAlt="PowerWash Unlimited professional team"
|
||||
mediaAnimation="slide-up"
|
||||
useInvertedBackground={false}
|
||||
@@ -130,12 +130,12 @@ export default function LandingPage() {
|
||||
animationType="slide-up"
|
||||
useInvertedBackground={false}
|
||||
testimonials={[
|
||||
{ id: "1", name: "Sarah Mitchell", handle: "Homeowner", testimonial: "PowerWash Unlimited transformed my driveway! It looks brand new. Professional team, great communication, and they showed up exactly on time. Highly recommend!", imageSrc: "http://img.b2bpic.net/free-photo/young-businessman-happy-expression_1194-1602.jpg?_wi=1", imageAlt: "Sarah Mitchell" },
|
||||
{ id: "2", name: "James Rodriguez", handle: "Business Owner", testimonial: "Our storefront looks amazing thanks to their pressure washing service. They handle our commercial cleaning needs reliably. Best decision for our property maintenance!", imageSrc: "http://img.b2bpic.net/free-photo/joyful-business-woman-with-coffee-cup_23-2148095746.jpg?_wi=1", imageAlt: "James Rodriguez" },
|
||||
{ id: "1", name: "Sarah Mitchell", handle: "Homeowner", testimonial: "PowerWash Unlimited transformed my driveway! It looks brand new. Professional team, great communication, and they showed up exactly on time. Highly recommend!", imageSrc: "http://img.b2bpic.net/free-photo/young-businessman-happy-expression_1194-1602.jpg", imageAlt: "Sarah Mitchell" },
|
||||
{ id: "2", name: "James Rodriguez", handle: "Business Owner", testimonial: "Our storefront looks amazing thanks to their pressure washing service. They handle our commercial cleaning needs reliably. Best decision for our property maintenance!", imageSrc: "http://img.b2bpic.net/free-photo/joyful-business-woman-with-coffee-cup_23-2148095746.jpg", imageAlt: "James Rodriguez" },
|
||||
{ id: "3", name: "Emily Chen", handle: "Property Manager", testimonial: "Fast, efficient, and incredibly thorough. They restored our deck to like-new condition. The team takes pride in their work and it shows in every detail.", imageSrc: "http://img.b2bpic.net/free-photo/closeup-handsome-middle-aged-business-leader_1262-4822.jpg", imageAlt: "Emily Chen" },
|
||||
{ id: "4", name: "Michael Torres", handle: "Homeowner", testimonial: "Outstanding service! Called at night and they responded quickly for our urgent cleaning need. Professional, friendly, and fair pricing. Will definitely use again!", imageSrc: "http://img.b2bpic.net/free-photo/thumbs-up-spa-smiling-girl-white-robe-good-wellness-vibes_169016-69478.jpg", imageAlt: "Michael Torres" },
|
||||
{ id: "5", name: "Jennifer Lee", handle: "Real Estate Agent", testimonial: "I recommend PowerWash Unlimited to all my clients who need property cleaning before showings. Consistently excellent results and always reliable.", imageSrc: "http://img.b2bpic.net/free-photo/young-businessman-happy-expression_1194-1602.jpg?_wi=2", imageAlt: "Jennifer Lee" },
|
||||
{ id: "6", name: "David Martinez", handle: "Property Developer", testimonial: "For commercial properties, they're the best choice in Liberty. Professional team, quality workmanship, and they handle large-scale projects with ease.", imageSrc: "http://img.b2bpic.net/free-photo/joyful-business-woman-with-coffee-cup_23-2148095746.jpg?_wi=2", imageAlt: "David Martinez" }
|
||||
{ id: "5", name: "Jennifer Lee", handle: "Real Estate Agent", testimonial: "I recommend PowerWash Unlimited to all my clients who need property cleaning before showings. Consistently excellent results and always reliable.", imageSrc: "http://img.b2bpic.net/free-photo/young-businessman-happy-expression_1194-1602.jpg", imageAlt: "Jennifer Lee" },
|
||||
{ id: "6", name: "David Martinez", handle: "Property Developer", testimonial: "For commercial properties, they're the best choice in Liberty. Professional team, quality workmanship, and they handle large-scale projects with ease.", imageSrc: "http://img.b2bpic.net/free-photo/joyful-business-woman-with-coffee-cup_23-2148095746.jpg", imageAlt: "David Martinez" }
|
||||
]}
|
||||
speed={40}
|
||||
ariaLabel="Customer testimonials section"
|
||||
@@ -169,9 +169,9 @@ export default function LandingPage() {
|
||||
tagAnimation="slide-up"
|
||||
title="Ready to Restore Your Property?"
|
||||
description="Contact PowerWash Unlimited today for a free quote. We're available 24/7 to serve your pressure washing needs in Liberty, Texas."
|
||||
background={{ variant: "circleGradient" }}
|
||||
background={{ variant: "sparkles-gradient" }}
|
||||
useInvertedBackground={false}
|
||||
imageSrc="http://img.b2bpic.net/free-photo/man-spraying-powder-paint-from-gun-full-shot_23-2149878780.jpg?_wi=2"
|
||||
imageSrc="http://img.b2bpic.net/free-photo/man-spraying-powder-paint-from-gun-full-shot_23-2149878780.jpg"
|
||||
imageAlt="Professional pressure washing results"
|
||||
mediaAnimation="slide-up"
|
||||
mediaPosition="right"
|
||||
|
||||
@@ -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;
|
||||
fontSize?: number;
|
||||
fontWeight?: number | string;
|
||||
fill?: string;
|
||||
textAnchor?: "start" | "middle" | "end";
|
||||
dominantBaseline?: "auto" | "text-bottom" | "alphabetic" | "ideographic" | "middle" | "central" | "mathematical" | "hanging";
|
||||
}
|
||||
|
||||
const SvgTextLogo = memo<SvgTextLogoProps>(function SvgTextLogo({
|
||||
logoText,
|
||||
adjustHeightFactor,
|
||||
verticalAlign = "top",
|
||||
className = "",
|
||||
}) {
|
||||
const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor);
|
||||
|
||||
const SvgTextLogo: React.FC<SvgTextLogoProps> = ({
|
||||
text,
|
||||
className = "", fontSize = 24,
|
||||
fontWeight = "bold", fill = "currentColor", textAnchor = "middle", dominantBaseline = "middle"}) => {
|
||||
return (
|
||||
<svg
|
||||
ref={svgRef}
|
||||
viewBox={viewBox}
|
||||
className={cls("w-full", className)}
|
||||
style={{ aspectRatio: aspectRatio }}
|
||||
preserveAspectRatio="none"
|
||||
role="img"
|
||||
aria-label={`${logoText} logo`}
|
||||
viewBox="0 0 200 50"
|
||||
className={className}
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
>
|
||||
<text
|
||||
ref={textRef}
|
||||
x="0"
|
||||
y={verticalAlign === "center" ? "50%" : "0"}
|
||||
className="font-bold fill-current"
|
||||
style={{
|
||||
fontSize: "20px",
|
||||
letterSpacing: "-0.02em",
|
||||
dominantBaseline: verticalAlign === "center" ? "middle" : "text-before-edge"
|
||||
}}
|
||||
x="100"
|
||||
y="25"
|
||||
fontSize={fontSize}
|
||||
fontWeight={fontWeight}
|
||||
fill={fill}
|
||||
textAnchor={textAnchor}
|
||||
dominantBaseline={dominantBaseline}
|
||||
>
|
||||
{logoText}
|
||||
{text}
|
||||
</text>
|
||||
</svg>
|
||||
);
|
||||
});
|
||||
|
||||
SvgTextLogo.displayName = "SvgTextLogo";
|
||||
};
|
||||
|
||||
export default SvgTextLogo;
|
||||
|
||||
Reference in New Issue
Block a user