Merge version_1 into main #2

Merged
bender merged 2 commits from version_1 into main 2026-03-11 14:36:17 +00:00
2 changed files with 38 additions and 53 deletions

View File

@@ -53,10 +53,10 @@ export default function LandingPage() {
background={{ variant: "sparkles-gradient" }}
mediaItems={[
{ imageSrc: "http://img.b2bpic.net/free-photo/full-shot-people-tiling-floor_23-2149343994.jpg", imageAlt: "Before and after powerwashing transformation" },
{ imageSrc: "http://img.b2bpic.net/free-photo/full-shot-woman-decorating-front-door-outside_23-2150562165.jpg?_wi=1", imageAlt: "Professional house washing service" },
{ imageSrc: "http://img.b2bpic.net/free-photo/high-angle-water-drops-bench_23-2148795860.jpg?_wi=1", imageAlt: "Expert roof cleaning with soft-wash technology" },
{ imageSrc: "http://img.b2bpic.net/free-photo/contrasting-outdoor-texture-design_23-2149756569.jpg?_wi=1", imageAlt: "Driveway powerwashing transformation" },
{ imageSrc: "http://img.b2bpic.net/free-photo/white-chairs-beach-resort-famous-resort_146671-18886.jpg?_wi=1", imageAlt: "Deck and patio cleaning restoration" }
{ imageSrc: "http://img.b2bpic.net/free-photo/full-shot-woman-decorating-front-door-outside_23-2150562165.jpg", imageAlt: "Professional house washing service" },
{ imageSrc: "http://img.b2bpic.net/free-photo/high-angle-water-drops-bench_23-2148795860.jpg", imageAlt: "Expert roof cleaning with soft-wash technology" },
{ imageSrc: "http://img.b2bpic.net/free-photo/contrasting-outdoor-texture-design_23-2149756569.jpg", imageAlt: "Driveway powerwashing transformation" },
{ imageSrc: "http://img.b2bpic.net/free-photo/white-chairs-beach-resort-famous-resort_146671-18886.jpg", imageAlt: "Deck and patio cleaning restoration" }
]}
/>
</div>
@@ -68,13 +68,13 @@ export default function LandingPage() {
tag="Gallery"
products={[
{
id: "1", name: "Siding Restoration", price: "Transformation", variant: "10 Years of Dirt Gone", imageSrc: "http://img.b2bpic.net/free-photo/full-shot-woman-decorating-front-door-outside_23-2150562165.jpg?_wi=2", imageAlt: "Siding restoration before and after"
id: "1", name: "Siding Restoration", price: "Transformation", variant: "10 Years of Dirt Gone", imageSrc: "http://img.b2bpic.net/free-photo/full-shot-woman-decorating-front-door-outside_23-2150562165.jpg", imageAlt: "Siding restoration before and after"
},
{
id: "2", name: "Roof Cleaning", price: "Transformation", variant: "Safe Soft-Wash Technology", imageSrc: "http://img.b2bpic.net/free-photo/high-angle-water-drops-bench_23-2148795860.jpg?_wi=2", imageAlt: "Roof cleaning before and after"
id: "2", name: "Roof Cleaning", price: "Transformation", variant: "Safe Soft-Wash Technology", imageSrc: "http://img.b2bpic.net/free-photo/high-angle-water-drops-bench_23-2148795860.jpg", imageAlt: "Roof cleaning before and after"
},
{
id: "3", name: "Gutter Brightening", price: "Transformation", variant: "Looks Brand New Again", imageSrc: "http://img.b2bpic.net/free-photo/beautiful-shot-colorful-autumn-leaves-fallen-stairs_181624-7424.jpg?_wi=1", imageAlt: "Gutter brightening transformation"
id: "3", name: "Gutter Brightening", price: "Transformation", variant: "Looks Brand New Again", imageSrc: "http://img.b2bpic.net/free-photo/beautiful-shot-colorful-autumn-leaves-fallen-stairs_181624-7424.jpg", imageAlt: "Gutter brightening transformation"
}
]}
gridVariant="three-columns-all-equal-width"
@@ -91,15 +91,15 @@ export default function LandingPage() {
features={[
{
id: 1,
title: "Professional Results", description: "Years of built-up grime, mold, and stains completely removed with precision and care.", imageSrc: "http://img.b2bpic.net/free-photo/full-shot-woman-decorating-front-door-outside_23-2150562165.jpg?_wi=3", imageAlt: "Professional cleaning results"
title: "Professional Results", description: "Years of built-up grime, mold, and stains completely removed with precision and care.", imageSrc: "http://img.b2bpic.net/free-photo/full-shot-woman-decorating-front-door-outside_23-2150562165.jpg", imageAlt: "Professional cleaning results"
},
{
id: 2,
title: "Safe Cleaning Methods", description: "Soft-wash technology protects your siding, roofs, and gutters while delivering pristine results.", imageSrc: "http://img.b2bpic.net/free-photo/high-angle-water-drops-bench_23-2148795860.jpg?_wi=3", imageAlt: "Safe cleaning technology"
title: "Safe Cleaning Methods", description: "Soft-wash technology protects your siding, roofs, and gutters while delivering pristine results.", imageSrc: "http://img.b2bpic.net/free-photo/high-angle-water-drops-bench_23-2148795860.jpg", imageAlt: "Safe cleaning technology"
},
{
id: 3,
title: "Attention to Detail", description: "Every surface is cleaned with meticulous care, as if it were our own home.", imageSrc: "http://img.b2bpic.net/free-photo/contrasting-outdoor-texture-design_23-2149756569.jpg?_wi=2", imageAlt: "Detailed cleaning work"
title: "Attention to Detail", description: "Every surface is cleaned with meticulous care, as if it were our own home.", imageSrc: "http://img.b2bpic.net/free-photo/contrasting-outdoor-texture-design_23-2149756569.jpg", imageAlt: "Detailed cleaning work"
}
]}
textboxLayout="default"
@@ -114,23 +114,23 @@ export default function LandingPage() {
description="Professional exterior cleaning for every part of your home."
plans={[
{
id: "house-washing", title: "House Washing", price: "Custom", period: "Quote", imageSrc: "http://img.b2bpic.net/free-photo/full-shot-woman-decorating-front-door-outside_23-2150562165.jpg?_wi=4", imageAlt: "House washing service", features: ["Siding restoration", "Mold & algae removal", "Dirt and stain removal", "Fully insured service"],
id: "house-washing", title: "House Washing", price: "Custom", period: "Quote", imageSrc: "http://img.b2bpic.net/free-photo/full-shot-woman-decorating-front-door-outside_23-2150562165.jpg", imageAlt: "House washing service", features: ["Siding restoration", "Mold & algae removal", "Dirt and stain removal", "Fully insured service"],
button: { text: "Get Quote", href: "#contact" }
},
{
id: "roof-cleaning", title: "Roof Cleaning", price: "Custom", period: "Quote", imageSrc: "http://img.b2bpic.net/free-photo/high-angle-water-drops-bench_23-2148795860.jpg?_wi=4", imageAlt: "Roof cleaning service", features: ["Soft-wash technology", "Shingle protection", "Moss & mold removal", "Safety guaranteed"],
id: "roof-cleaning", title: "Roof Cleaning", price: "Custom", period: "Quote", imageSrc: "http://img.b2bpic.net/free-photo/high-angle-water-drops-bench_23-2148795860.jpg", imageAlt: "Roof cleaning service", features: ["Soft-wash technology", "Shingle protection", "Moss & mold removal", "Safety guaranteed"],
button: { text: "Get Quote", href: "#contact" }
},
{
id: "gutter-cleaning", title: "Gutter Cleaning", price: "Custom", period: "Quote", imageSrc: "http://img.b2bpic.net/free-photo/beautiful-shot-colorful-autumn-leaves-fallen-stairs_181624-7424.jpg?_wi=2", imageAlt: "Gutter cleaning service", features: ["Gutter brightening", "Debris removal", "Downspout cleaning", "Brand new appearance"],
id: "gutter-cleaning", title: "Gutter Cleaning", price: "Custom", period: "Quote", imageSrc: "http://img.b2bpic.net/free-photo/beautiful-shot-colorful-autumn-leaves-fallen-stairs_181624-7424.jpg", imageAlt: "Gutter cleaning service", features: ["Gutter brightening", "Debris removal", "Downspout cleaning", "Brand new appearance"],
button: { text: "Get Quote", href: "#contact" }
},
{
id: "driveway-walkway", title: "Driveways & Walkways", price: "Custom", period: "Quote", imageSrc: "http://img.b2bpic.net/free-photo/contrasting-outdoor-texture-design_23-2149756569.jpg?_wi=3", imageAlt: "Driveway cleaning service", features: ["Stain removal", "Moss & algae removal", "Years of buildup gone", "Curb appeal restored"],
id: "driveway-walkway", title: "Driveways & Walkways", price: "Custom", period: "Quote", imageSrc: "http://img.b2bpic.net/free-photo/contrasting-outdoor-texture-design_23-2149756569.jpg", imageAlt: "Driveway cleaning service", features: ["Stain removal", "Moss & algae removal", "Years of buildup gone", "Curb appeal restored"],
button: { text: "Get Quote", href: "#contact" }
},
{
id: "deck-patio", title: "Deck & Patio Cleaning", price: "Custom", period: "Quote", imageSrc: "http://img.b2bpic.net/free-photo/white-chairs-beach-resort-famous-resort_146671-18886.jpg?_wi=2", imageAlt: "Deck and patio cleaning service", features: ["Outdoor space restoration", "Wood protection", "Ready for entertaining", "Long-lasting results"],
id: "deck-patio", title: "Deck & Patio Cleaning", price: "Custom", period: "Quote", imageSrc: "http://img.b2bpic.net/free-photo/white-chairs-beach-resort-famous-resort_146671-18886.jpg", imageAlt: "Deck and patio cleaning service", features: ["Outdoor space restoration", "Wood protection", "Ready for entertaining", "Long-lasting results"],
button: { text: "Get Quote", href: "#contact" }
}
]}
@@ -159,7 +159,7 @@ export default function LandingPage() {
}
]}
textboxLayout="default"
animationType="fade"
animationType="blur-reveal"
useInvertedBackground={false}
/>
</div>
@@ -190,7 +190,7 @@ export default function LandingPage() {
id: "3", value: "Step 3", description: "Enjoy Results Your home looks brand new"
}
]}
gridVariant="three-columns-all-equal-width"
gridVariant="uniform-all-items-equal"
textboxLayout="default"
animationType="slide-up"
useInvertedBackground={true}

View File

@@ -1,51 +1,36 @@
"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;
}
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 = 'Logo',
className = '',
fontSize = 24,
}) => {
return (
<svg
ref={svgRef}
viewBox={viewBox}
className={cls("w-full", className)}
style={{ aspectRatio: aspectRatio }}
preserveAspectRatio="none"
role="img"
aria-label={`${logoText} logo`}
width="100%"
height="auto"
viewBox={`0 0 ${text.length * fontSize * 0.6} ${fontSize * 1.5}`}
xmlns="http://www.w3.org/2000/svg"
className={className}
>
<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"
}}
y={fontSize}
fontSize={fontSize}
fontWeight="bold"
fill="currentColor"
dominantBaseline="hanging"
>
{logoText}
{text}
</text>
</svg>
);
});
};
SvgTextLogo.displayName = "SvgTextLogo";
export default SvgTextLogo;
export default SvgTextLogo;