Merge version_1 into main #2

Merged
bender merged 2 commits from version_1 into main 2026-03-10 20:42:32 +00:00
2 changed files with 39 additions and 50 deletions

View File

@@ -49,7 +49,7 @@ export default function LandingPage() {
{ text: "Book Detailing", href: "#contact" },
{ text: "View Services", href: "#services" }
]}
imageSrc="http://img.b2bpic.net/free-photo/beautiful-car-washing-service_23-2149212195.jpg?_wi=1"
imageSrc="http://img.b2bpic.net/free-photo/beautiful-car-washing-service_23-2149212195.jpg"
imageAlt="Luxury car detailing service"
showDimOverlay={true}
buttonAnimation="slide-up"
@@ -74,15 +74,15 @@ export default function LandingPage() {
buttonHref: "#contact"
},
{
title: "Wheel & Tire Detail", description: "Professional wheel cleaning, tire dressing, and restoration for stunning curb appeal", imageSrc: "http://img.b2bpic.net/free-photo/high-angle-cool-old-woman-with-motorbike_23-2150647785.jpg?_wi=1", imageAlt: "Wheel and tire detailing", buttonIcon: ArrowRight,
title: "Wheel & Tire Detail", description: "Professional wheel cleaning, tire dressing, and restoration for stunning curb appeal", imageSrc: "http://img.b2bpic.net/free-photo/high-angle-cool-old-woman-with-motorbike_23-2150647785.jpg", imageAlt: "Wheel and tire detailing", buttonIcon: ArrowRight,
buttonHref: "#contact"
},
{
title: "Full Package Detail", description: "Complete exterior and interior detailing plus ceramic coating for ultimate protection", imageSrc: "http://img.b2bpic.net/free-photo/beautiful-car-washing-service_23-2149212195.jpg?_wi=2", imageAlt: "Full package car detailing", buttonIcon: ArrowRight,
title: "Full Package Detail", description: "Complete exterior and interior detailing plus ceramic coating for ultimate protection", imageSrc: "http://img.b2bpic.net/free-photo/beautiful-car-washing-service_23-2149212195.jpg", imageAlt: "Full package car detailing", buttonIcon: ArrowRight,
buttonHref: "#contact"
},
{
title: "Fleet Services", description: "Customized detailing programs for multiple vehicles with flexible scheduling", imageSrc: "http://img.b2bpic.net/free-photo/high-angle-cool-old-woman-with-motorbike_23-2150647785.jpg?_wi=2", imageAlt: "Fleet car detailing service", buttonIcon: ArrowRight,
title: "Fleet Services", description: "Customized detailing programs for multiple vehicles with flexible scheduling", imageSrc: "http://img.b2bpic.net/free-photo/high-angle-cool-old-woman-with-motorbike_23-2150647785.jpg", imageAlt: "Fleet car detailing service", buttonIcon: ArrowRight,
buttonHref: "#contact"
}
]}
@@ -144,30 +144,30 @@ export default function LandingPage() {
plans={[
{
id: "express", badge: "Express Detail", badgeIcon: Zap,
price: "$149", subtitle: "Perfect for quick refresh and maintenance", buttons: [
price: "$149", subtitle: "Perfect for quick refresh and maintenance", buttons={[
{ text: "Book Now", href: "#contact" },
{ text: "Details", href: "#contact" }
],
]},
features: [
"Professional exterior wash", "Interior vacuuming", "Dashboard detail", "Quick wax application", "Tire shine"
]
},
{
id: "premium", badge: "Premium Detail", badgeIcon: Crown,
price: "$299", subtitle: "Most popular choice for car enthusiasts", buttons: [
price: "$299", subtitle: "Most popular choice for car enthusiasts", buttons={[
{ text: "Book Now", href: "#contact" },
{ text: "Details", href: "#contact" }
],
]},
features: [
"Complete exterior detailing", "Full interior deep clean", "Clay bar treatment", "Paint polishing", "Ceramic wax coating", "Wheel restoration"
]
},
{
id: "ultimate", badge: "Ultimate Protection", badgeIcon: Sparkles,
price: "$599", subtitle: "Ultimate protection and showroom shine", buttons: [
price: "$599", subtitle: "Ultimate protection and showroom shine", buttons={[
{ text: "Book Now", href: "#contact" },
{ text: "Details", href: "#contact" }
],
]},
features: [
"Premium exterior restoration", "Professional interior detail", "Multi-stage paint correction", "Professional ceramic coating", "Leather conditioning", "Engine bay detail", "12-month protection guarantee"
]
@@ -210,8 +210,8 @@ export default function LandingPage() {
description="Our reputation is built on quality, reliability, and exceptional service"
tag="Industry Recognition"
tagAnimation="slide-up"
logos={[
"http://img.b2bpic.net/free-vector/best-quality-badge-retro-style_23-2147509376.jpg", "http://img.b2bpic.net/free-vector/hand-drawn-flat-design-car-rental-labels-badges_23-2149216918.jpg", "http://img.b2bpic.net/free-vector/flat-design-labour-day-label-pack_23-2148472984.jpg", "http://img.b2bpic.net/free-vector/flat-design-bank-holiday-labels_23-2149360402.jpg", "http://img.b2bpic.net/free-vector/auto-service-black-emblems_1284-34010.jpg", "http://img.b2bpic.net/free-vector/flat-labour-day-sale-labels-collection_23-2149356461.jpg", "http://img.b2bpic.net/free-vector/hand-drawn-car-wash-logo-design_23-2149923079.jpg"
names={[
"Premium Automotive", "Elite Detailing Network", "Certified Auto Care", "Professional Shine Experts", "Luxury Finish Standards", "Trusted Auto Care", "Expert Vehicle Care"
]}
textboxLayout="default"
useInvertedBackground={false}

View File

@@ -1,51 +1,40 @@
"use client";
import React from 'react';
import { memo } from "react";
import useSvgTextLogo from "./useSvgTextLogo";
import { cls } from "@/lib/utils";
interface SvgTextLogoProps {
logoText: string;
adjustHeightFactor?: number;
verticalAlign?: "top" | "center";
export interface SvgTextLogoProps {
text: string;
className?: string;
textClassName?: string;
fill?: string;
}
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 = '',
fill = 'currentColor',
}) => {
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 ${text.length * 60} 100`}
className={`${className}`}
xmlns="http://www.w3.org/2000/svg"
preserveAspectRatio="xMidYMid meet"
>
<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"
className={textClassName}
fill={fill}
fontSize="48"
fontWeight="bold"
letterSpacing="2"
>
{logoText}
{text}
</text>
</svg>
);
});
};
SvgTextLogo.displayName = "SvgTextLogo";
export default SvgTextLogo;
export default SvgTextLogo;