Merge version_1 into main #2
@@ -10,7 +10,7 @@ import TestimonialCardSixteen from '@/components/sections/testimonial/Testimonia
|
||||
import ContactCenter from '@/components/sections/contact/ContactCenter';
|
||||
import FaqDouble from '@/components/sections/faq/FaqDouble';
|
||||
import FooterBaseCard from '@/components/sections/footer/FooterBaseCard';
|
||||
import { Calendar, Leaf, Home, Palette, Scissors, Zap, Phone, Search, Smile, ImageCompare } from 'lucide-react';
|
||||
import { Calendar, Leaf, Home, Palette, Scissors, Zap, Phone, Search, Smile } from 'lucide-react';
|
||||
|
||||
export default function LandingPage() {
|
||||
return (
|
||||
@@ -50,13 +50,13 @@ export default function LandingPage() {
|
||||
background={{ variant: "radial-gradient" }}
|
||||
mediaItems={[
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/fountain-park-pedralbes-royal-palace_1398-4394.jpg?_wi=1", imageAlt: "Beautiful maintained lawn"
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/fountain-park-pedralbes-royal-palace_1398-4394.jpg", imageAlt: "Beautiful maintained lawn"
|
||||
},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/man-working-eco-friendly-wind-power-project-with-layout_23-2148847779.jpg?_wi=1", imageAlt: "Professional landscape design"
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/man-working-eco-friendly-wind-power-project-with-layout_23-2148847779.jpg", imageAlt: "Professional landscape design"
|
||||
},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/view-robot-tending-maintaining-gardens_23-2151803948.jpg?_wi=1", imageAlt: "Transformed landscape"
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/view-robot-tending-maintaining-gardens_23-2151803948.jpg", imageAlt: "Transformed landscape"
|
||||
}
|
||||
]}
|
||||
buttons={[
|
||||
@@ -77,10 +77,10 @@ export default function LandingPage() {
|
||||
title: "Lawn Mowing & Maintenance", description: "Weekly, bi-weekly, or monthly lawn mowing services with precision equipment and attention to detail.", icon: Zap,
|
||||
mediaItems: [
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/hard-working-man-casual-outfit-removing-dry-leaves-from-sidewalk-with-hand-blower-sunny-day_7502-10151.jpg?_wi=1", imageAlt: "Professional lawn mowing"
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/hard-working-man-casual-outfit-removing-dry-leaves-from-sidewalk-with-hand-blower-sunny-day_7502-10151.jpg", imageAlt: "Professional lawn mowing"
|
||||
},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/fountain-park-pedralbes-royal-palace_1398-4394.jpg?_wi=2", imageAlt: "Manicured lawn result"
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/fountain-park-pedralbes-royal-palace_1398-4394.jpg", imageAlt: "Manicured lawn result"
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -88,10 +88,10 @@ export default function LandingPage() {
|
||||
title: "Landscape Design", description: "Custom landscape design and installation to enhance your property's curb appeal and value.", icon: Palette,
|
||||
mediaItems: [
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/man-working-eco-friendly-wind-power-project-with-layout_23-2148847779.jpg?_wi=2", imageAlt: "Landscape design"
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/man-working-eco-friendly-wind-power-project-with-layout_23-2148847779.jpg", imageAlt: "Landscape design"
|
||||
},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/beautiful-stone-path-walk-run-garden_74190-8974.jpg?_wi=1", imageAlt: "Design result"
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/beautiful-stone-path-walk-run-garden_74190-8974.jpg", imageAlt: "Design result"
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -102,7 +102,7 @@ export default function LandingPage() {
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/close-up-hand-holding-gardening-tool_23-2149128101.jpg", imageAlt: "Mulch installation"
|
||||
},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/man-working-eco-friendly-wind-power-project-with-layout_23-2148847779.jpg?_wi=3", imageAlt: "Flower bed design"
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/man-working-eco-friendly-wind-power-project-with-layout_23-2148847779.jpg", imageAlt: "Flower bed design"
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -124,7 +124,7 @@ export default function LandingPage() {
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/two-female-friends-walk-forest-friends-walking-through-forest-people-nature_169016-67628.jpg", imageAlt: "Seasonal cleanup"
|
||||
},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/fountain-park-pedralbes-royal-palace_1398-4394.jpg?_wi=3", imageAlt: "Clean yard"
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/fountain-park-pedralbes-royal-palace_1398-4394.jpg", imageAlt: "Clean yard"
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -132,10 +132,10 @@ export default function LandingPage() {
|
||||
title: "Property Maintenance", description: "Comprehensive property maintenance for residential and commercial clients in the Lexington area.", icon: Calendar,
|
||||
mediaItems: [
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/people-helping-neighbors-with-grass-lawn_23-2149139732.jpg?_wi=1", imageAlt: "Property maintenance"
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/people-helping-neighbors-with-grass-lawn_23-2149139732.jpg", imageAlt: "Property maintenance"
|
||||
},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/view-robot-tending-maintaining-gardens_23-2151803948.jpg?_wi=2", imageAlt: "Maintained property"
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/view-robot-tending-maintaining-gardens_23-2151803948.jpg", imageAlt: "Maintained property"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -152,9 +152,8 @@ export default function LandingPage() {
|
||||
title="Before & After: See Our Impact"
|
||||
description="Professional landscaping transformations"
|
||||
subdescription="Imperial Lawn & Landscape"
|
||||
icon={ImageCompare}
|
||||
imageSrc="http://img.b2bpic.net/free-photo/view-robot-tending-maintaining-gardens_23-2151803948.jpg?_wi=3"
|
||||
imageAlt="Beautiful transformed landscape"
|
||||
icon={Smile}
|
||||
videoSrc="/placeholders/placeholder1.webp"
|
||||
useInvertedBackground={true}
|
||||
/>
|
||||
</div>
|
||||
@@ -225,10 +224,10 @@ export default function LandingPage() {
|
||||
title: "Request a Free Quote", description: "Contact us online or by phone for a no-obligation estimate. We'll discuss your specific needs and vision.", icon: Phone,
|
||||
mediaItems: [
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/fountain-park-pedralbes-royal-palace_1398-4394.jpg?_wi=4", imageAlt: "Free consultation"
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/fountain-park-pedralbes-royal-palace_1398-4394.jpg", imageAlt: "Free consultation"
|
||||
},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/man-working-eco-friendly-wind-power-project-with-layout_23-2148847779.jpg?_wi=4", imageAlt: "Planning phase"
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/man-working-eco-friendly-wind-power-project-with-layout_23-2148847779.jpg", imageAlt: "Planning phase"
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -236,7 +235,7 @@ export default function LandingPage() {
|
||||
title: "Property Evaluation", description: "Our team visits your property to assess landscaping needs, soil conditions, and design opportunities.", icon: Search,
|
||||
mediaItems: [
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/people-helping-neighbors-with-grass-lawn_23-2149139732.jpg?_wi=2", imageAlt: "Property assessment"
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/people-helping-neighbors-with-grass-lawn_23-2149139732.jpg", imageAlt: "Property assessment"
|
||||
},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/young-man-kicking-leaves-train-tracks_23-2148232358.jpg", imageAlt: "Initial inspection"
|
||||
@@ -247,10 +246,10 @@ export default function LandingPage() {
|
||||
title: "Service Scheduling", description: "We create a customized service plan and schedule your maintenance at times that work best for you.", icon: Calendar,
|
||||
mediaItems: [
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/hard-working-man-casual-outfit-removing-dry-leaves-from-sidewalk-with-hand-blower-sunny-day_7502-10151.jpg?_wi=2", imageAlt: "Service scheduling"
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/hard-working-man-casual-outfit-removing-dry-leaves-from-sidewalk-with-hand-blower-sunny-day_7502-10151.jpg", imageAlt: "Service scheduling"
|
||||
},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/fountain-park-pedralbes-royal-palace_1398-4394.jpg?_wi=5", imageAlt: "Scheduled service"
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/fountain-park-pedralbes-royal-palace_1398-4394.jpg", imageAlt: "Scheduled service"
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -258,10 +257,10 @@ export default function LandingPage() {
|
||||
title: "Enjoy Your Beautiful Lawn", description: "Relax and enjoy your transformed outdoor space. We handle all the maintenance and seasonal updates.", icon: Smile,
|
||||
mediaItems: [
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/view-robot-tending-maintaining-gardens_23-2151803948.jpg?_wi=4", imageAlt: "Beautiful lawn"
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/view-robot-tending-maintaining-gardens_23-2151803948.jpg", imageAlt: "Beautiful lawn"
|
||||
},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/beautiful-stone-path-walk-run-garden_74190-8974.jpg?_wi=2", imageAlt: "Satisfied client"
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/beautiful-stone-path-walk-run-garden_74190-8974.jpg", imageAlt: "Satisfied client"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -272,7 +271,7 @@ export default function LandingPage() {
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="contact" data-section="contact">
|
||||
<div id="cta" data-section="cta">
|
||||
<ContactCenter
|
||||
tag="Ready to Transform Your Yard?"
|
||||
title="Get Your Free Estimate Today"
|
||||
@@ -346,7 +345,7 @@ export default function LandingPage() {
|
||||
title: "Company", items: [
|
||||
{ label: "About Us", href: "#why-us" },
|
||||
{ label: "Testimonials", href: "#testimonials" },
|
||||
{ label: "Contact", href: "#contact" },
|
||||
{ label: "Contact", href: "#cta" },
|
||||
{ label: "FAQ", href: "#faq" }
|
||||
]
|
||||
},
|
||||
|
||||
@@ -1,51 +1,38 @@
|
||||
"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;
|
||||
fontFamily?: string;
|
||||
fill?: 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,
|
||||
fontFamily = 'Arial, sans-serif',
|
||||
fill = 'currentColor',
|
||||
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 ${text.length * fontSize * 0.6} ${fontSize * 1.5}`}
|
||||
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"
|
||||
}}
|
||||
y={fontSize}
|
||||
fontSize={fontSize}
|
||||
fontFamily={fontFamily}
|
||||
fill={fill}
|
||||
dominantBaseline="middle"
|
||||
>
|
||||
{logoText}
|
||||
{text}
|
||||
</text>
|
||||
</svg>
|
||||
);
|
||||
});
|
||||
|
||||
SvgTextLogo.displayName = "SvgTextLogo";
|
||||
};
|
||||
|
||||
export default SvgTextLogo;
|
||||
|
||||
Reference in New Issue
Block a user