Merge version_1 into main
Merge version_1 into main
This commit was merged in pull request #2.
This commit is contained in:
@@ -47,7 +47,7 @@ export default function LandingPage() {
|
||||
description="Restore your vehicle to showroom condition with expert detailing and ceramic protection. Trusted by local car owners since 2022."
|
||||
tag="⭐ 5.0 Rating"
|
||||
tagAnimation="slide-up"
|
||||
imageSrc="http://img.b2bpic.net/free-photo/closeup-shot-side-mirror-modern-white-cabriolet-car_181624-25257.jpg?_wi=1"
|
||||
imageSrc="http://img.b2bpic.net/free-photo/closeup-shot-side-mirror-modern-white-cabriolet-car_181624-25257.jpg"
|
||||
imageAlt="Pristine detailed car exterior shine"
|
||||
imagePosition="right"
|
||||
mediaAnimation="slide-up"
|
||||
@@ -56,7 +56,7 @@ export default function LandingPage() {
|
||||
testimonials={[
|
||||
{
|
||||
name: "Mike Thompson", handle: "Car Owner", testimonial: "Johnny's is a very thorough and excellent detail shop. My cars always come out showroom condition.", rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/smiling-senior-businessman-pointing-with-finger_1262-3108.jpg?_wi=1"
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/smiling-senior-businessman-pointing-with-finger_1262-3108.jpg"
|
||||
}
|
||||
]}
|
||||
buttons={[
|
||||
@@ -98,11 +98,11 @@ export default function LandingPage() {
|
||||
buttonHref: "#contact"
|
||||
},
|
||||
{
|
||||
title: "Exterior Detailing", description: "Premium wash, wax, and protective coating services", imageSrc: "http://img.b2bpic.net/free-photo/man-car-clean-vacuuming-car-inside_1303-30580.jpg?_wi=1", imageAlt: "Exterior car detailing and waxing", buttonIcon: CheckCircle,
|
||||
title: "Exterior Detailing", description: "Premium wash, wax, and protective coating services", imageSrc: "http://img.b2bpic.net/free-photo/man-car-clean-vacuuming-car-inside_1303-30580.jpg", imageAlt: "Exterior car detailing and waxing", buttonIcon: CheckCircle,
|
||||
buttonHref: "#contact"
|
||||
},
|
||||
{
|
||||
title: "Ceramic Coating", description: "Long-lasting ceramic protection for paint and surfaces", imageSrc: "http://img.b2bpic.net/free-photo/beautiful-car-washing-service_23-2149212228.jpg?_wi=1", imageAlt: "Ceramic coating application", buttonIcon: CheckCircle,
|
||||
title: "Ceramic Coating", description: "Long-lasting ceramic protection for paint and surfaces", imageSrc: "http://img.b2bpic.net/free-photo/beautiful-car-washing-service_23-2149212228.jpg", imageAlt: "Ceramic coating application", buttonIcon: CheckCircle,
|
||||
buttonHref: "#contact"
|
||||
},
|
||||
{
|
||||
@@ -114,13 +114,12 @@ export default function LandingPage() {
|
||||
buttonHref: "#contact"
|
||||
},
|
||||
{
|
||||
title: "Full Detail Packages", description: "Complete interior and exterior restoration packages", imageSrc: "http://img.b2bpic.net/free-photo/closeup-shot-side-mirror-modern-white-cabriolet-car_181624-25257.jpg?_wi=2", imageAlt: "Complete vehicle detailing package", buttonIcon: CheckCircle,
|
||||
title: "Full Detail Packages", description: "Complete interior and exterior restoration packages", imageSrc: "http://img.b2bpic.net/free-photo/closeup-shot-side-mirror-modern-white-cabriolet-car_181624-25257.jpg", imageAlt: "Complete vehicle detailing package", buttonIcon: CheckCircle,
|
||||
buttonHref: "#contact"
|
||||
}
|
||||
]}
|
||||
textboxLayout="default"
|
||||
useInvertedBackground={false}
|
||||
mediaAnimation="slide-up"
|
||||
buttonAnimation="slide-up"
|
||||
/>
|
||||
</div>
|
||||
@@ -154,7 +153,7 @@ export default function LandingPage() {
|
||||
testimonials={[
|
||||
{
|
||||
id: "1", name: "Sarah Johnson", role: "Car Owner", company: "Newington, CT", rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/smiling-senior-businessman-pointing-with-finger_1262-3108.jpg?_wi=2"
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/smiling-senior-businessman-pointing-with-finger_1262-3108.jpg"
|
||||
},
|
||||
{
|
||||
id: "2", name: "Michael Chen", role: "Truck Owner", company: "West Hartford, CT", rating: 5,
|
||||
@@ -203,15 +202,14 @@ export default function LandingPage() {
|
||||
title: "5 Star Rated Local Business", description: "Consistently delivering exceptional results and customer satisfaction", imageSrc: "http://img.b2bpic.net/free-photo/mechanic-doing-car-yearly-checkup_482257-76142.jpg", imageAlt: "Johnny's Detailing professional shop", buttonIcon: Star
|
||||
},
|
||||
{
|
||||
title: "Professional Grade Products", description: "Using only premium, environmentally-conscious detailing solutions", imageSrc: "http://img.b2bpic.net/free-photo/man-car-clean-vacuuming-car-inside_1303-30580.jpg?_wi=2", imageAlt: "Professional detailing products", buttonIcon: Shield
|
||||
title: "Professional Grade Products", description: "Using only premium, environmentally-conscious detailing solutions", imageSrc: "http://img.b2bpic.net/free-photo/man-car-clean-vacuuming-car-inside_1303-30580.jpg", imageAlt: "Professional detailing products", buttonIcon: Shield
|
||||
},
|
||||
{
|
||||
title: "Attention to Detail", description: "Meticulous care applied to every vehicle we service", imageSrc: "http://img.b2bpic.net/free-photo/beautiful-car-washing-service_23-2149212228.jpg?_wi=2", imageAlt: "Detailed ceramic coating work", buttonIcon: Zap
|
||||
title: "Attention to Detail", description: "Meticulous care applied to every vehicle we service", imageSrc: "http://img.b2bpic.net/free-photo/beautiful-car-washing-service_23-2149212228.jpg", imageAlt: "Detailed ceramic coating work", buttonIcon: Zap
|
||||
}
|
||||
]}
|
||||
textboxLayout="default"
|
||||
useInvertedBackground={true}
|
||||
mediaAnimation="slide-up"
|
||||
/>
|
||||
</div>
|
||||
|
||||
@@ -231,7 +229,7 @@ export default function LandingPage() {
|
||||
<ContactText
|
||||
text="Ready to Make Your Car Look Brand New? Contact Johnny's Detailing today for a free quote and experience the difference professional detailing can make."
|
||||
animationType="entrance-slide"
|
||||
background={{ variant: "circleGradient" }}
|
||||
background={{ variant: "plain" }}
|
||||
useInvertedBackground={true}
|
||||
buttons={[
|
||||
{ text: "📞 Call (860) 997-0410", href: "tel:(860) 997-0410" },
|
||||
|
||||
@@ -1,51 +1,28 @@
|
||||
"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";
|
||||
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> = ({ className }) => {
|
||||
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"
|
||||
className={className}
|
||||
aria-label="Logo"
|
||||
>
|
||||
<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="10"
|
||||
y="35"
|
||||
fontSize="32"
|
||||
fontWeight="bold"
|
||||
fill="currentColor"
|
||||
dominantBaseline="auto"
|
||||
>
|
||||
{logoText}
|
||||
Logo
|
||||
</text>
|
||||
</svg>
|
||||
);
|
||||
});
|
||||
};
|
||||
|
||||
SvgTextLogo.displayName = "SvgTextLogo";
|
||||
|
||||
export default SvgTextLogo;
|
||||
export default SvgTextLogo;
|
||||
Reference in New Issue
Block a user