Merge version_1 into main #2
@@ -10,7 +10,7 @@ import TestimonialCardSix from '@/components/sections/testimonial/TestimonialCar
|
||||
import FaqDouble from '@/components/sections/faq/FaqDouble';
|
||||
import ContactFaq from '@/components/sections/contact/ContactFaq';
|
||||
import FooterSimple from '@/components/sections/footer/FooterSimple';
|
||||
import { Award, Calendar, Shield, Sparkles, Users } from 'lucide-react';
|
||||
import { Award, Calendar, Shield, Sparkles, Users, Star } from 'lucide-react';
|
||||
|
||||
export default function LandingPage() {
|
||||
return (
|
||||
@@ -20,7 +20,7 @@ export default function LandingPage() {
|
||||
borderRadius="soft"
|
||||
contentWidth="compact"
|
||||
sizing="largeSizeMediumTitles"
|
||||
background="circleGradient"
|
||||
background="none"
|
||||
cardStyle="layered-gradient"
|
||||
primaryButtonStyle="flat"
|
||||
secondaryButtonStyle="radial-glow"
|
||||
@@ -44,7 +44,7 @@ export default function LandingPage() {
|
||||
<HeroCentered
|
||||
title="Mobile Detailing Excellence at Your Doorstep"
|
||||
description="Professional car detailing services brought directly to you. Premium cleaning, protection, and shine for your vehicle with eco-friendly solutions."
|
||||
background={{ variant: "circleGradient" }}
|
||||
background={{ variant: "plain" }}
|
||||
avatars={[
|
||||
{
|
||||
src: "http://img.b2bpic.net/free-photo/car-wrapping-with-foil-car-service_1303-32339.jpg", alt: "Professional car detailing"
|
||||
@@ -101,17 +101,17 @@ export default function LandingPage() {
|
||||
description="Choose the package that best fits your vehicle's needs"
|
||||
plans={[
|
||||
{
|
||||
id: "basic", badge: "Popular", badgeIcon: Sparkles,
|
||||
id: "basic", badge: "Popular", badgeIcon: Star,
|
||||
price: "$49", subtitle: "Perfect for quick refreshes", buttons: [{ text: "Select Plan", href: "contact" }],
|
||||
features: ["Complete exterior wash", "Tire and rim cleaning", "Interior vacuum and wipe", "Air freshener"]
|
||||
},
|
||||
{
|
||||
id: "premium", badge: "Best Value", badgeIcon: Award,
|
||||
id: "premium", badge: "Best Value", badgeIcon: Sparkles,
|
||||
price: "$99", subtitle: "Complete detailing package", buttons: [{ text: "Select Plan", href: "contact" }],
|
||||
features: ["Premium exterior wash", "Clay bar treatment", "Paint polish and wax", "Interior deep clean", "Leather conditioning", "Engine bay detailing"]
|
||||
},
|
||||
{
|
||||
id: "elite", badge: "Premium", badgeIcon: Shield,
|
||||
id: "elite", badge: "Premium", badgeIcon: Award,
|
||||
price: "$199", subtitle: "Ultimate protection and shine", buttons: [{ text: "Select Plan", href: "contact" }],
|
||||
features: ["Complete premium detailing", "Ceramic coating application", "Paint protection film options", "Full interior restoration", "Engine detailing", "Headlight restoration", "One-year protection guarantee"]
|
||||
}
|
||||
@@ -129,10 +129,10 @@ export default function LandingPage() {
|
||||
description="Real feedback from satisfied clients who trust us with their vehicles"
|
||||
testimonials={[
|
||||
{
|
||||
id: "1", name: "Sarah Martinez", handle: "@sarah_m - Luxury Car Owner", testimonial: "Romero transformed my BMW! The attention to detail is incredible. My car has never looked better. Highly recommended!", imageSrc: "http://img.b2bpic.net/free-photo/portrait-young-business-woman-standing-outside-office-buildings-business-success-concept_58466-12274.jpg?_wi=1", imageAlt: "Sarah Martinez"
|
||||
id: "1", name: "Sarah Martinez", handle: "@sarah_m - Luxury Car Owner", testimonial: "Romero transformed my BMW! The attention to detail is incredible. My car has never looked better. Highly recommended!", imageSrc: "http://img.b2bpic.net/free-photo/portrait-young-business-woman-standing-outside-office-buildings-business-success-concept_58466-12274.jpg", imageAlt: "Sarah Martinez"
|
||||
},
|
||||
{
|
||||
id: "2", name: "Michael Johnson", handle: "@mike_j - Business Professional", testimonial: "Professional service, punctual, and affordable. The ceramic coating has kept my truck looking showroom fresh for months.", imageSrc: "http://img.b2bpic.net/free-photo/smiling-young-man-talking-smartphone-cafe_1170-689.jpg?_wi=1", imageAlt: "Michael Johnson"
|
||||
id: "2", name: "Michael Johnson", handle: "@mike_j - Business Professional", testimonial: "Professional service, punctual, and affordable. The ceramic coating has kept my truck looking showroom fresh for months.", imageSrc: "http://img.b2bpic.net/free-photo/smiling-young-man-talking-smartphone-cafe_1170-689.jpg", imageAlt: "Michael Johnson"
|
||||
},
|
||||
{
|
||||
id: "3", name: "Jennifer Lee", handle: "@jen_lee - Car Enthusiast", testimonial: "Finally found someone who cares about my car as much as I do. The interior detailing was absolutely meticulous!", imageSrc: "http://img.b2bpic.net/free-photo/image-corporate-woman-working-office-sitting-front-laptop-preparing-business_1258-194628.jpg", imageAlt: "Jennifer Lee"
|
||||
@@ -141,10 +141,10 @@ export default function LandingPage() {
|
||||
id: "4", name: "David Chen", handle: "@david_c - Fleet Manager", testimonial: "We use Detailed by Romero for our company vehicles. Consistent quality, professional team, and excellent pricing. Can't ask for more!", imageSrc: "http://img.b2bpic.net/free-photo/man-isolated-showing-facial-emotions_1303-20265.jpg", imageAlt: "David Chen"
|
||||
},
|
||||
{
|
||||
id: "5", name: "Amanda Rodriguez", handle: "@amanda_r - New Customer", testimonial: "Best decision I made for my car care. Mobile service is so convenient, and the results speak for themselves. 5 stars!", imageSrc: "http://img.b2bpic.net/free-photo/portrait-young-business-woman-standing-outside-office-buildings-business-success-concept_58466-12274.jpg?_wi=2", imageAlt: "Amanda Rodriguez"
|
||||
id: "5", name: "Amanda Rodriguez", handle: "@amanda_r - New Customer", testimonial: "Best decision I made for my car care. Mobile service is so convenient, and the results speak for themselves. 5 stars!", imageSrc: "http://img.b2bpic.net/free-photo/portrait-young-business-woman-standing-outside-office-buildings-business-success-concept_58466-12274.jpg", imageAlt: "Amanda Rodriguez"
|
||||
},
|
||||
{
|
||||
id: "6", name: "Robert Thompson", handle: "@robert_t - Long-time Client", testimonial: "I've been using Romero's service for 3 years. Consistently excellent work and genuine care for each vehicle. Trustworthy professional!", imageSrc: "http://img.b2bpic.net/free-photo/smiling-young-man-talking-smartphone-cafe_1170-689.jpg?_wi=2", imageAlt: "Robert Thompson"
|
||||
id: "6", name: "Robert Thompson", handle: "@robert_t - Long-time Client", testimonial: "I've been using Romero's service for 3 years. Consistently excellent work and genuine care for each vehicle. Trustworthy professional!", imageSrc: "http://img.b2bpic.net/free-photo/smiling-young-man-talking-smartphone-cafe_1170-689.jpg", imageAlt: "Robert Thompson"
|
||||
}
|
||||
]}
|
||||
animationType="slide-up"
|
||||
|
||||
@@ -1,51 +1,47 @@
|
||||
"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;
|
||||
fontSize?: number;
|
||||
fontWeight?: number | string;
|
||||
className?: 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,
|
||||
fontSize = 24,
|
||||
fontWeight = 'bold',
|
||||
className = '',
|
||||
}) => {
|
||||
const textLength = text.length;
|
||||
const charWidth = fontSize * 0.6;
|
||||
const width = Math.max(textLength * charWidth + 40, 200);
|
||||
const height = fontSize + 40;
|
||||
const xPos = 20;
|
||||
const yPos = height / 2 + fontSize / 3;
|
||||
|
||||
return (
|
||||
<svg
|
||||
ref={svgRef}
|
||||
viewBox={viewBox}
|
||||
className={cls("w-full", className)}
|
||||
style={{ aspectRatio: aspectRatio }}
|
||||
preserveAspectRatio="none"
|
||||
width={width}
|
||||
height={height}
|
||||
viewBox={`0 0 ${width} ${height}`}
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
className={className}
|
||||
role="img"
|
||||
aria-label={`${logoText} logo`}
|
||||
aria-label={text}
|
||||
>
|
||||
<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={xPos}
|
||||
y={yPos}
|
||||
fontSize={fontSize}
|
||||
fontWeight={fontWeight}
|
||||
fill="currentColor"
|
||||
dominantBaseline="auto"
|
||||
>
|
||||
{logoText}
|
||||
{text}
|
||||
</text>
|
||||
</svg>
|
||||
);
|
||||
});
|
||||
|
||||
SvgTextLogo.displayName = "SvgTextLogo";
|
||||
};
|
||||
|
||||
export default SvgTextLogo;
|
||||
|
||||
Reference in New Issue
Block a user