Merge version_1 into main

Merge version_1 into main
This commit was merged in pull request #1.
This commit is contained in:
2026-03-11 00:18:21 +00:00
2 changed files with 30 additions and 42 deletions

View File

@@ -93,6 +93,7 @@ export default function LandingPage() {
imageAlt="Our professional cleaning team"
useInvertedBackground={false}
mediaAnimation="slide-up"
metricsAnimation="slide-up"
/>
</div>
@@ -154,20 +155,17 @@ export default function LandingPage() {
animationType="slide-up"
plans={[
{
id: "standard", title: "Standard Clean", price: "$149", period: "/visit", imageSrc: "http://img.b2bpic.net/free-photo/smiley-woman-with-rubber-gloves-holding-basket-cleaning-products_23-2148464979.jpg", imageAlt: "Standard cleaning service", button: { text: "Book Standard", href: "contact" },
features: [
id: "standard", title: "Standard Clean", price: "$149", period: "/visit", imageSrc: "http://img.b2bpic.net/free-photo/smiley-woman-with-rubber-gloves-holding-basket-cleaning-products_23-2148464979.jpg", imageAlt: "Standard cleaning service", button: { text: "Book Standard", href: "contact" }, features: [
"All main living areas", "Bathrooms and kitchen", "Vacuuming and mopping", "Dusting and surfaces"
]
},
{
id: "premium", title: "Premium Clean", price: "$199", period: "/visit", imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-man-walking-with-cleaning-cart_23-2149345543.jpg", imageAlt: "Premium cleaning service", button: { text: "Book Premium", href: "contact" },
features: [
id: "premium", title: "Premium Clean", price: "$199", period: "/visit", imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-man-walking-with-cleaning-cart_23-2149345543.jpg", imageAlt: "Premium cleaning service", button: { text: "Book Premium", href: "contact" }, features: [
"Everything in Standard", "Deep baseboards", "Inside appliances", "Window interiors", "Detailed attention to detail"
]
},
{
id: "deluxe", title: "Deluxe White Glove", price: "$249", period: "/visit", imageSrc: "http://img.b2bpic.net/free-photo/housewife-woking-home_1157-45521.jpg", imageAlt: "Deluxe white glove service", button: { text: "Book Deluxe", href: "contact" },
features: [
id: "deluxe", title: "Deluxe White Glove", price: "$249", period: "/visit", imageSrc: "http://img.b2bpic.net/free-photo/housewife-woking-home_1157-45521.jpg", imageAlt: "Deluxe white glove service", button: { text: "Book Deluxe", href: "contact" }, features: [
"Everything in Premium", "Exterior windows", "Wall spots and marks", "Ceiling fans and fixtures", "Organization assistance"
]
}

View File

@@ -1,51 +1,41 @@
"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;
width?: number;
height?: 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,
className = '',
textClassName = '',
width = 200,
height = 80,
}) => {
return (
<svg
ref={svgRef}
viewBox={viewBox}
className={cls("w-full", className)}
style={{ aspectRatio: aspectRatio }}
preserveAspectRatio="none"
role="img"
aria-label={`${logoText} logo`}
width={width}
height={height}
viewBox={`0 0 ${width} ${height}`}
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="50%"
y="50%"
textAnchor="middle"
dominantBaseline="middle"
className={textClassName}
fontSize="24"
fontWeight="bold"
>
{logoText}
{text}
</text>
</svg>
);
});
SvgTextLogo.displayName = "SvgTextLogo";
};
export default SvgTextLogo;