Merge version_1 into main #2

Merged
bender merged 2 commits from version_1 into main 2026-03-12 07:10:58 +00:00
2 changed files with 31 additions and 42 deletions

View File

@@ -49,7 +49,7 @@ export default function AstanaDetailingPage() {
]}
buttonAnimation="slide-up"
background={{ variant: "sparkles-gradient" }}
imageSrc="http://img.b2bpic.net/free-photo/car-wash-detailing-station_1303-22321.jpg?_wi=1"
imageSrc="http://img.b2bpic.net/free-photo/car-wash-detailing-station_1303-22321.jpg"
imageAlt="Premium car detailing showcase"
mediaAnimation="blur-reveal"
frameStyle="card"
@@ -154,7 +154,7 @@ export default function AstanaDetailingPage() {
tag="Reviews"
testimonials={[
{
id: "1", name: "Marcus Thompson, CEO of LuxeAuto Holdings", date: "Date: 15 November 2024", title: "Absolutely Transformed Our Fleet", quote: "Astana Detailing exceeded our expectations. The attention to detail on our executive vehicles is unmatched. Our clients consistently compliment the pristine condition of our fleet. Highly recommend!", tag: "Corporate Fleet", avatarSrc: "http://img.b2bpic.net/free-photo/young-businessman-happy-expression_1194-1649.jpg", avatarAlt: "professional business man portrait", imageSrc: "http://img.b2bpic.net/free-photo/close-up-car-care-process_23-2149193621.jpg?_wi=1", imageAlt: "car exterior washing professional detail"
id: "1", name: "Marcus Thompson, CEO of LuxeAuto Holdings", date: "Date: 15 November 2024", title: "Absolutely Transformed Our Fleet", quote: "Astana Detailing exceeded our expectations. The attention to detail on our executive vehicles is unmatched. Our clients consistently compliment the pristine condition of our fleet. Highly recommend!", tag: "Corporate Fleet", avatarSrc: "http://img.b2bpic.net/free-photo/young-businessman-happy-expression_1194-1649.jpg", avatarAlt: "professional business man portrait", imageSrc: "http://img.b2bpic.net/free-photo/close-up-car-care-process_23-2149193621.jpg", imageAlt: "car exterior washing professional detail"
},
{
id: "2", name: "Elena Rossi, Owner of Premium Automotive Gallery", date: "Date: 22 October 2024", title: "My Go-To Detailer for Showroom Preparation", quote: "Working with Astana Detailing has been transformative for my business. Every vehicle they detail looks absolutely showroom-ready. Their professionalism and results are incomparable.", tag: "Automotive Dealer", avatarSrc: "http://img.b2bpic.net/free-photo/close-up-confident-adult-woman-posing_23-2148461438.jpg", avatarAlt: "professional woman business portrait", imageSrc: "http://img.b2bpic.net/free-photo/close-up-car-care-process_23-2149193562.jpg", imageAlt: "ceramic coating application protection"
@@ -166,13 +166,12 @@ export default function AstanaDetailingPage() {
id: "4", name: "Sophia Williams, Luxury Travel Concierge", date: "Date: 31 August 2024", title: "Premium Service Matching Premium Vehicles", quote: "We refer all our executive clients to Astana Detailing. The consistency, quality, and professionalism are outstanding. They treat every vehicle like it's their own.", tag: "Concierge Service", avatarSrc: "http://img.b2bpic.net/free-photo/business-woman-posing-street_23-2148213506.jpg", avatarAlt: "professional woman headshot corporate", imageSrc: "http://img.b2bpic.net/free-photo/man-doing-professional-home-cleaning-service_23-2150358965.jpg", imageAlt: "car interior detailing cleaning vacuum"
},
{
id: "5", name: "James Patterson, Race Team Manager", date: "Date: 18 July 2024", title: "Professional Grade Detailing for Competition", quote: "For race day preparation, we need perfection. Astana Detailing delivers. Their precision detailing ensures our vehicles look as good as they perform on track.", tag: "Motorsports", avatarSrc: "http://img.b2bpic.net/free-photo/young-businessman-happy-expression_1194-1649.jpg", avatarAlt: "professional business man portrait", imageSrc: "http://img.b2bpic.net/free-photo/car-wash-detailing-station_1303-22321.jpg?_wi=2", imageAlt: "luxury car detailing wash shine"
id: "5", name: "James Patterson, Race Team Manager", date: "Date: 18 July 2024", title: "Professional Grade Detailing for Competition", quote: "For race day preparation, we need perfection. Astana Detailing delivers. Their precision detailing ensures our vehicles look as good as they perform on track.", tag: "Motorsports", avatarSrc: "http://img.b2bpic.net/free-photo/young-businessman-happy-expression_1194-1649.jpg", avatarAlt: "professional business man portrait", imageSrc: "http://img.b2bpic.net/free-photo/car-wash-detailing-station_1303-22321.jpg", imageAlt: "luxury car detailing wash shine"
},
{
id: "6", name: "Nicole Anderson, Luxury Hotel Manager", date: "Date: 5 July 2024", title: "VIP Guest Transportation Excellence", quote: "Our VIP vehicle fleet is maintained exclusively by Astana Detailing. Guest feedback on vehicle condition is always exceptional. They're an extension of our premium brand.", tag: "Hospitality", avatarSrc: "http://img.b2bpic.net/free-photo/close-up-confident-adult-woman-posing_23-2148461438.jpg", avatarAlt: "professional woman business portrait", imageSrc: "http://img.b2bpic.net/free-photo/close-up-car-care-process_23-2149193621.jpg?_wi=2", imageAlt: "car exterior washing professional detail"
id: "6", name: "Nicole Anderson, Luxury Hotel Manager", date: "Date: 5 July 2024", title: "VIP Guest Transportation Excellence", quote: "Our VIP vehicle fleet is maintained exclusively by Astana Detailing. Guest feedback on vehicle condition is always exceptional. They're an extension of our premium brand.", tag: "Hospitality", avatarSrc: "http://img.b2bpic.net/free-photo/close-up-confident-adult-woman-posing_23-2148461438.jpg", avatarAlt: "professional woman business portrait", imageSrc: "http://img.b2bpic.net/free-photo/close-up-car-care-process_23-2149193621.jpg", imageAlt: "car exterior washing professional detail"
}
]}
animationType="slide-up"
textboxLayout="default"
useInvertedBackground={false}
/>
@@ -280,4 +279,4 @@ export default function AstanaDetailingPage() {
</div>
</ThemeProvider>
);
}
}

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;
fontSize?: number;
fontWeight?: 'normal' | 'bold' | 'lighter' | number;
fill?: string;
dominantBaseline?: 'auto' | 'middle' | 'hanging' | 'mathematical' | 'central';
}
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',
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 100 100"
className={`w-full h-full ${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={dominantBaseline}
fontSize={fontSize}
fontWeight={fontWeight}
fill={fill}
>
{logoText}
{text}
</text>
</svg>
);
});
SvgTextLogo.displayName = "SvgTextLogo";
};
export default SvgTextLogo;