Merge version_1 into main #2
@@ -45,7 +45,8 @@ export default function LandingPage() {
|
||||
description="Veteran-owned & operated. Licensed & insured. Serving LaPlace and surrounding communities."
|
||||
tag="Premium Local Service"
|
||||
tagAnimation="slide-up"
|
||||
imageSrc="http://img.b2bpic.net/free-photo/beautiful-flamingo-grass-park_1217-1690.jpg?_wi=1"
|
||||
background={{ variant: "plain" }}
|
||||
imageSrc="http://img.b2bpic.net/free-photo/beautiful-flamingo-grass-park_1217-1690.jpg"
|
||||
imageAlt="Perfectly manicured lawn on a beautiful Louisiana suburban home"
|
||||
mediaAnimation="slide-up"
|
||||
buttonAnimation="slide-up"
|
||||
@@ -56,19 +57,19 @@ export default function LandingPage() {
|
||||
testimonials={[
|
||||
{
|
||||
name: "Latoya D.", handle: "Local Homeowner", testimonial: "He shows up right on time, works efficiently, and leaves my yard looking spotless.", rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/vertical-shot-white-female-smiling-front-festive-cheerful_181624-7962.jpg?_wi=1", imageAlt: "professional woman portrait avatar headshot"
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/vertical-shot-white-female-smiling-front-festive-cheerful_181624-7962.jpg", imageAlt: "professional woman portrait avatar headshot"
|
||||
},
|
||||
{
|
||||
name: "Cozetta", handle: "Satisfied Customer", testimonial: "Malcolm and his team are incredibly professional, patient, and meticulous. The end results — I promise you will not be disappointed!!!", rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/portrait-young-woman-with-long-brown-hair-black-t-shirt-white-jacket_613910-8245.jpg?_wi=1", imageAlt: "professional woman avatar portrait headshot"
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/portrait-young-woman-with-long-brown-hair-black-t-shirt-white-jacket_613910-8245.jpg", imageAlt: "professional woman avatar portrait headshot"
|
||||
},
|
||||
{
|
||||
name: "Nicole P.", handle: "Premium Member", testimonial: "The level of detail for our landscape is unmatched. Reclaim your time and hire Mowtivated Lawn Pros.", rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/attractive-blond-business-woman-white-shirt-grey-background_613910-11739.jpg?_wi=1", imageAlt: "diverse woman portrait avatar professional"
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/attractive-blond-business-woman-white-shirt-grey-background_613910-11739.jpg", imageAlt: "diverse woman portrait avatar professional"
|
||||
},
|
||||
{
|
||||
name: "James R.", handle: "Long-term Client", testimonial: "Exceptional service every single week. These guys truly care about the quality of their work.", rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/close-up-positive-businesswoman_1098-3531.jpg?_wi=1", imageAlt: "professional woman customer testimonial avatar"
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/close-up-positive-businesswoman_1098-3531.jpg", imageAlt: "professional woman customer testimonial avatar"
|
||||
}
|
||||
]}
|
||||
useInvertedBackground={false}
|
||||
@@ -85,27 +86,27 @@ export default function LandingPage() {
|
||||
features={[
|
||||
{
|
||||
id: "1", title: "Lawn Cuts & Edging", author: "Premium Service", description: "Crisp, even cuts with perfectly defined edges every visit.", tags: ["Weekly", "Maintenance"],
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/beautiful-flamingo-grass-park_1217-1690.jpg?_wi=2", imageAlt: "perfectly manicured lawn suburban home sunny"
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/beautiful-flamingo-grass-park_1217-1690.jpg", imageAlt: "perfectly manicured lawn suburban home sunny"
|
||||
},
|
||||
{
|
||||
id: "2", title: "Flower Bed Cleanouts", author: "Seasonal Special", description: "We restore and refresh your flower beds to their best.", tags: ["Spring", "Summer"],
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/beautiful-flamingo-grass-park_1217-1690.jpg?_wi=3", imageAlt: "perfectly manicured lawn suburban home sunny"
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/beautiful-flamingo-grass-park_1217-1690.jpg", imageAlt: "perfectly manicured lawn suburban home sunny"
|
||||
},
|
||||
{
|
||||
id: "3", title: "Tree Trimming", author: "Expert Care", description: "Safe, precise trimming to keep your trees healthy and beautiful.", tags: ["Professional", "Safety"],
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/beautiful-flamingo-grass-park_1217-1690.jpg?_wi=4", imageAlt: "perfectly manicured lawn suburban home sunny"
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/beautiful-flamingo-grass-park_1217-1690.jpg", imageAlt: "perfectly manicured lawn suburban home sunny"
|
||||
},
|
||||
{
|
||||
id: "4", title: "Pressure Washing", author: "Deep Clean", description: "Blast away grime from driveways, patios, and home exteriors.", tags: ["Cleaning", "Exterior"],
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/beautiful-flamingo-grass-park_1217-1690.jpg?_wi=5", imageAlt: "perfectly manicured lawn suburban home sunny"
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/beautiful-flamingo-grass-park_1217-1690.jpg", imageAlt: "perfectly manicured lawn suburban home sunny"
|
||||
},
|
||||
{
|
||||
id: "5", title: "Yard Cleanups", author: "Full Service", description: "Full yard cleanups for any season or special occasion.", tags: ["Spring", "Fall"],
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/beautiful-flamingo-grass-park_1217-1690.jpg?_wi=6", imageAlt: "perfectly manicured lawn suburban home sunny"
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/beautiful-flamingo-grass-park_1217-1690.jpg", imageAlt: "perfectly manicured lawn suburban home sunny"
|
||||
},
|
||||
{
|
||||
id: "6", title: "Free Estimates", author: "No Obligation", description: "No obligation. Just honest pricing and great service.", tags: ["Transparent", "Fair"],
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/beautiful-flamingo-grass-park_1217-1690.jpg?_wi=7", imageAlt: "perfectly manicured lawn suburban home sunny"
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/beautiful-flamingo-grass-park_1217-1690.jpg", imageAlt: "perfectly manicured lawn suburban home sunny"
|
||||
}
|
||||
]}
|
||||
animationType="slide-up"
|
||||
@@ -132,16 +133,16 @@ export default function LandingPage() {
|
||||
<TestimonialCardTwelve
|
||||
testimonials={[
|
||||
{
|
||||
id: "1", name: "Latoya D.", imageSrc: "http://img.b2bpic.net/free-photo/vertical-shot-white-female-smiling-front-festive-cheerful_181624-7962.jpg?_wi=2", imageAlt: "professional woman portrait avatar headshot"
|
||||
id: "1", name: "Latoya D.", imageSrc: "http://img.b2bpic.net/free-photo/vertical-shot-white-female-smiling-front-festive-cheerful_181624-7962.jpg", imageAlt: "professional woman portrait avatar headshot"
|
||||
},
|
||||
{
|
||||
id: "2", name: "Cozetta", imageSrc: "http://img.b2bpic.net/free-photo/portrait-young-woman-with-long-brown-hair-black-t-shirt-white-jacket_613910-8245.jpg?_wi=2", imageAlt: "professional woman avatar portrait headshot"
|
||||
id: "2", name: "Cozetta", imageSrc: "http://img.b2bpic.net/free-photo/portrait-young-woman-with-long-brown-hair-black-t-shirt-white-jacket_613910-8245.jpg", imageAlt: "professional woman avatar portrait headshot"
|
||||
},
|
||||
{
|
||||
id: "3", name: "Nicole P.", imageSrc: "http://img.b2bpic.net/free-photo/attractive-blond-business-woman-white-shirt-grey-background_613910-11739.jpg?_wi=2", imageAlt: "diverse woman portrait avatar professional"
|
||||
id: "3", name: "Nicole P.", imageSrc: "http://img.b2bpic.net/free-photo/attractive-blond-business-woman-white-shirt-grey-background_613910-11739.jpg", imageAlt: "diverse woman portrait avatar professional"
|
||||
},
|
||||
{
|
||||
id: "4", name: "James R.", imageSrc: "http://img.b2bpic.net/free-photo/close-up-positive-businesswoman_1098-3531.jpg?_wi=2", imageAlt: "professional woman customer testimonial avatar"
|
||||
id: "4", name: "James R.", imageSrc: "http://img.b2bpic.net/free-photo/close-up-positive-businesswoman_1098-3531.jpg", imageAlt: "professional woman customer testimonial avatar"
|
||||
}
|
||||
]}
|
||||
cardTitle="⭐ 5.0 Stars · 36 Google Reviews"
|
||||
|
||||
@@ -1,51 +1,30 @@
|
||||
"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;
|
||||
}
|
||||
|
||||
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 = '' }) => {
|
||||
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}
|
||||
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%"
|
||||
dominantBaseline="middle"
|
||||
textAnchor="middle"
|
||||
fontSize="24"
|
||||
fontWeight="bold"
|
||||
fill="currentColor"
|
||||
>
|
||||
{logoText}
|
||||
{text}
|
||||
</text>
|
||||
</svg>
|
||||
);
|
||||
});
|
||||
|
||||
SvgTextLogo.displayName = "SvgTextLogo";
|
||||
};
|
||||
|
||||
export default SvgTextLogo;
|
||||
|
||||
Reference in New Issue
Block a user