Merge version_1 into main #2

Merged
bender merged 2 commits from version_1 into main 2026-03-12 09:47:16 +00:00
2 changed files with 37 additions and 45 deletions

View File

@@ -20,7 +20,7 @@ export default function LandingPage() {
borderRadius="soft"
contentWidth="medium"
sizing="largeSmallSizeLargeTitles"
background="circleGradient"
background="none"
cardStyle="outline"
primaryButtonStyle="primary-glow"
secondaryButtonStyle="solid"
@@ -48,16 +48,16 @@ export default function LandingPage() {
tag="Premium Service"
tagIcon={Sparkles}
tagAnimation="slide-up"
background={{ variant: "circleGradient" }}
background={{ variant: "plain" }}
buttons={[
{ text: "Get a Free Quote", href: "contact" },
{ text: "Book a Cleaning", href: "contact" }
]}
buttonAnimation="slide-up"
mediaItems={[
{ imageSrc: "http://img.b2bpic.net/free-photo/woman-apron-cleaning-windows-looking-involved_259150-59513.jpg?_wi=1", imageAlt: "Residential window cleaning service result" },
{ imageSrc: "http://img.b2bpic.net/free-photo/construction-worker-relaxing-fresh-air-work_329181-3759.jpg?_wi=1", imageAlt: "Commercial building window cleaning" },
{ imageSrc: "http://img.b2bpic.net/free-photo/man-using-smartphone-escalator_53876-13380.jpg?_wi=1", imageAlt: "High-rise window cleaning service" },
{ imageSrc: "http://img.b2bpic.net/free-photo/woman-apron-cleaning-windows-looking-involved_259150-59513.jpg", imageAlt: "Residential window cleaning service result" },
{ imageSrc: "http://img.b2bpic.net/free-photo/construction-worker-relaxing-fresh-air-work_329181-3759.jpg", imageAlt: "Commercial building window cleaning" },
{ imageSrc: "http://img.b2bpic.net/free-photo/man-using-smartphone-escalator_53876-13380.jpg", imageAlt: "High-rise window cleaning service" },
{ imageSrc: "http://img.b2bpic.net/free-photo/close-up-man-disinfecting-house_23-2148563576.jpg", imageAlt: "Window screen and track cleaning" },
{ imageSrc: "http://img.b2bpic.net/free-photo/crazy-businessman-worried-expression_1194-3952.jpg", imageAlt: "Customer satisfaction with window cleaning" }
]}
@@ -170,13 +170,13 @@ export default function LandingPage() {
useInvertedBackground={false}
features={[
{
title: "Request a Quote", description: "Contact us for a free, no-obligation estimate tailored to your specific window cleaning needs.", imageSrc: "http://img.b2bpic.net/free-photo/woman-apron-cleaning-windows-looking-involved_259150-59513.jpg?_wi=2", imageAlt: "Step 1 Request quote"
title: "Request a Quote", description: "Contact us for a free, no-obligation estimate tailored to your specific window cleaning needs.", imageSrc: "http://img.b2bpic.net/free-photo/woman-apron-cleaning-windows-looking-involved_259150-59513.jpg", imageAlt: "Step 1 Request quote"
},
{
title: "Schedule Your Service", description: "Choose a convenient time for our professionals to arrive. We respect your schedule.", imageSrc: "http://img.b2bpic.net/free-photo/construction-worker-relaxing-fresh-air-work_329181-3759.jpg?_wi=2", imageAlt: "Step 2 Schedule service"
title: "Schedule Your Service", description: "Choose a convenient time for our professionals to arrive. We respect your schedule.", imageSrc: "http://img.b2bpic.net/free-photo/construction-worker-relaxing-fresh-air-work_329181-3759.jpg", imageAlt: "Step 2 Schedule service"
},
{
title: "Enjoy Crystal Clear Windows", description: "Sit back and enjoy spotless, streak-free windows. Your satisfaction is our guarantee.", imageSrc: "http://img.b2bpic.net/free-photo/man-using-smartphone-escalator_53876-13380.jpg?_wi=2", imageAlt: "Step 3 Enjoy results"
title: "Enjoy Crystal Clear Windows", description: "Sit back and enjoy spotless, streak-free windows. Your satisfaction is our guarantee.", imageSrc: "http://img.b2bpic.net/free-photo/man-using-smartphone-escalator_53876-13380.jpg", imageAlt: "Step 3 Enjoy results"
}
]}
/>

View File

@@ -1,51 +1,43 @@
"use client";
import React, { SVGProps } from 'react';
import { memo } from "react";
import useSvgTextLogo from "./useSvgTextLogo";
import { cls } from "@/lib/utils";
interface SvgTextLogoProps {
logoText: string;
adjustHeightFactor?: number;
verticalAlign?: "top" | "center";
interface SvgTextLogoProps extends SVGProps<SVGSVGElement> {
text?: string;
className?: string;
}
const SvgTextLogo = memo<SvgTextLogoProps>(function SvgTextLogo({
logoText,
adjustHeightFactor,
verticalAlign = "top",
className = "",
}) {
const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor);
export const SvgTextLogo: React.FC<SvgTextLogoProps> = ({
text = 'Webild',
className = '',
...props
}) => {
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"
xmlns="http://www.w3.org/2000/svg"
className={className}
{...props}
>
<defs>
<style>
{`
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');
`}
</style>
</defs>
<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%"
dominantBaseline="middle"
textAnchor="middle"
fontFamily="Inter, sans-serif"
fontSize="24"
fontWeight="700"
fill="currentColor"
>
{logoText}
{text}
</text>
</svg>
);
});
SvgTextLogo.displayName = "SvgTextLogo";
};
export default SvgTextLogo;