Merge version_1 into main #2
@@ -17,32 +17,28 @@ export default function ContactPage() {
|
||||
|
||||
const footerColumns = [
|
||||
{
|
||||
title: "Services",
|
||||
items: [
|
||||
title: "Services", items: [
|
||||
{ label: "Lawn Mowing", href: "/#mowing" },
|
||||
{ label: "Trimming & Hedges", href: "/#trimming" },
|
||||
{ label: "Yard Cleanup", href: "/#cleanup" },
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Company",
|
||||
items: [
|
||||
title: "Company", items: [
|
||||
{ label: "About Us", href: "/about" },
|
||||
{ label: "Our Work", href: "/#before-after" },
|
||||
{ label: "Contact", href: "/contact" },
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Support",
|
||||
items: [
|
||||
title: "Support", items: [
|
||||
{ label: "Get a Quote", href: "/#quote" },
|
||||
{ label: "Call Us", href: "tel:+1-555-0147" },
|
||||
{ label: "Service Area", href: "/contact" },
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Legal",
|
||||
items: [
|
||||
title: "Legal", items: [
|
||||
{ label: "Privacy Policy", href: "#" },
|
||||
{ label: "Terms of Service", href: "#" },
|
||||
{ label: "Contact", href: "/contact" },
|
||||
@@ -52,53 +48,17 @@ export default function ContactPage() {
|
||||
|
||||
const testimonials = [
|
||||
{
|
||||
id: "1",
|
||||
name: "Sarah Johnson",
|
||||
handle: "Homeowner",
|
||||
testimonial: "DLM completely transformed my yard! Reliable, professional, and affordable. I couldn't be happier with the results.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/young-african-american-girl-wearing-casual-clothes-happy-face-smiling-with-crossed-arms-looking-camera-positive-person_839833-8530.jpg?_wi=3",
|
||||
imageAlt: "Sarah Johnson",
|
||||
},
|
||||
id: "1", name: "Sarah Johnson", handle: "Homeowner", testimonial: "DLM completely transformed my yard! Reliable, professional, and affordable. I couldn't be happier with the results.", imageSrc: "http://img.b2bpic.net/free-photo/young-african-american-girl-wearing-casual-clothes-happy-face-smiling-with-crossed-arms-looking-camera-positive-person_839833-8530.jpg", imageAlt: "Sarah Johnson"},
|
||||
{
|
||||
id: "2",
|
||||
name: "Michael Chen",
|
||||
handle: "Property Manager",
|
||||
testimonial: "Fast response time and excellent communication. They handle all our maintenance needs consistently and professionally.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/pov-businessman-attending-videocall-meeting-office-using-online-videoconference-talk-consultant-about-financial-strategy-company-employee-chatting-remote-teleconference-close-up_482257-40929.jpg?_wi=3",
|
||||
imageAlt: "Michael Chen",
|
||||
},
|
||||
id: "2", name: "Michael Chen", handle: "Property Manager", testimonial: "Fast response time and excellent communication. They handle all our maintenance needs consistently and professionally.", imageSrc: "http://img.b2bpic.net/free-photo/pov-businessman-attending-videocall-meeting-office-using-online-videoconference-talk-consultant-about-financial-strategy-company-employee-chatting-remote-teleconference-close-up_482257-40929.jpg", imageAlt: "Michael Chen"},
|
||||
{
|
||||
id: "3",
|
||||
name: "Emily Rodriguez",
|
||||
handle: "Homeowner",
|
||||
testimonial: "Preparing my home for sale, and DLM delivered amazing results. The yard looks fantastic! Highly recommend.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/close-up-portrait-smiling-blonde-businesswoman-formal-dressed-isolated-dark-textured-background_613910-4617.jpg?_wi=3",
|
||||
imageAlt: "Emily Rodriguez",
|
||||
},
|
||||
id: "3", name: "Emily Rodriguez", handle: "Homeowner", testimonial: "Preparing my home for sale, and DLM delivered amazing results. The yard looks fantastic! Highly recommend.", imageSrc: "http://img.b2bpic.net/free-photo/close-up-portrait-smiling-blonde-businesswoman-formal-dressed-isolated-dark-textured-background_613910-4617.jpg", imageAlt: "Emily Rodriguez"},
|
||||
{
|
||||
id: "4",
|
||||
name: "David Kim",
|
||||
handle: "Landlord",
|
||||
testimonial: "Reliable, trustworthy, and they take pride in their work. DLM is my go-to service for all my properties.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/low-angle-man-using-mobile_23-2148479555.jpg?_wi=3",
|
||||
imageAlt: "David Kim",
|
||||
},
|
||||
id: "4", name: "David Kim", handle: "Landlord", testimonial: "Reliable, trustworthy, and they take pride in their work. DLM is my go-to service for all my properties.", imageSrc: "http://img.b2bpic.net/free-photo/low-angle-man-using-mobile_23-2148479555.jpg", imageAlt: "David Kim"},
|
||||
{
|
||||
id: "5",
|
||||
name: "Jennifer Moore",
|
||||
handle: "Senior Homeowner",
|
||||
testimonial: "So grateful for DLM's help maintaining my yard. Professional service without the hassle. They're wonderful to work with.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/portrait-charming-middle-aged-attractive-woman-with-blonde-hair_273609-48348.jpg?_wi=3",
|
||||
imageAlt: "Jennifer Moore",
|
||||
},
|
||||
id: "5", name: "Jennifer Moore", handle: "Senior Homeowner", testimonial: "So grateful for DLM's help maintaining my yard. Professional service without the hassle. They're wonderful to work with.", imageSrc: "http://img.b2bpic.net/free-photo/portrait-charming-middle-aged-attractive-woman-with-blonde-hair_273609-48348.jpg", imageAlt: "Jennifer Moore"},
|
||||
{
|
||||
id: "6",
|
||||
name: "Robert Taylor",
|
||||
handle: "HOA Manager",
|
||||
testimonial: "DLM manages common areas beautifully. Our residents notice the difference. Excellent service consistently.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/portrait-man-with-blue-shirt_23-2148548056.jpg?_wi=3",
|
||||
imageAlt: "Robert Taylor",
|
||||
},
|
||||
id: "6", name: "Robert Taylor", handle: "HOA Manager", testimonial: "DLM manages common areas beautifully. Our residents notice the difference. Excellent service consistently.", imageSrc: "http://img.b2bpic.net/free-photo/portrait-man-with-blue-shirt_23-2148548056.jpg", imageAlt: "Robert Taylor"},
|
||||
];
|
||||
|
||||
return (
|
||||
@@ -122,9 +82,7 @@ export default function ContactPage() {
|
||||
}))}
|
||||
brandName="DLM"
|
||||
button={{
|
||||
text: "Call Now",
|
||||
href: "tel:+1-555-0147",
|
||||
}}
|
||||
text: "Call Now", href: "tel:+1-555-0147"}}
|
||||
/>
|
||||
</div>
|
||||
|
||||
@@ -134,17 +92,12 @@ export default function ContactPage() {
|
||||
animationType="reveal-blur"
|
||||
buttons={[
|
||||
{
|
||||
text: "Request Free Quote",
|
||||
href: "#quote-form",
|
||||
},
|
||||
text: "Request Free Quote", href: "#quote-form"},
|
||||
{
|
||||
text: "Call Now",
|
||||
href: "tel:+1-555-0147",
|
||||
},
|
||||
text: "Call Now", href: "tel:+1-555-0147"},
|
||||
]}
|
||||
background={{
|
||||
variant: "circleGradient",
|
||||
}}
|
||||
variant: "plain"}}
|
||||
useInvertedBackground={false}
|
||||
/>
|
||||
</div>
|
||||
|
||||
@@ -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;
|
||||
fontFamily?: string;
|
||||
fill?: string;
|
||||
fontWeight?: string | number;
|
||||
}
|
||||
|
||||
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,
|
||||
fontFamily = 'Arial, sans-serif',
|
||||
fill = '#000000',
|
||||
fontWeight = 'bold',
|
||||
}) => {
|
||||
return (
|
||||
<svg
|
||||
ref={svgRef}
|
||||
viewBox={viewBox}
|
||||
className={cls("w-full", className)}
|
||||
style={{ aspectRatio: aspectRatio }}
|
||||
preserveAspectRatio="none"
|
||||
role="img"
|
||||
aria-label={`${logoText} logo`}
|
||||
className={className}
|
||||
viewBox={`0 0 ${text.length * (fontSize * 0.6)} ${fontSize * 1.5}`}
|
||||
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="10"
|
||||
y={fontSize}
|
||||
fontSize={fontSize}
|
||||
fontFamily={fontFamily}
|
||||
fontWeight={fontWeight}
|
||||
fill={fill}
|
||||
dominantBaseline="auto"
|
||||
>
|
||||
{logoText}
|
||||
{text}
|
||||
</text>
|
||||
</svg>
|
||||
);
|
||||
});
|
||||
};
|
||||
|
||||
SvgTextLogo.displayName = "SvgTextLogo";
|
||||
|
||||
export default SvgTextLogo;
|
||||
export default SvgTextLogo;
|
||||
Reference in New Issue
Block a user