15 Commits

Author SHA1 Message Date
0a21bc8426 Update src/app/page.tsx 2026-03-20 14:14:45 +00:00
75a4fcaf51 Add src/app/assessment/page.tsx 2026-03-20 14:14:45 +00:00
9eceea60ef Merge version_6 into main
Merge version_6 into main
2026-03-20 14:12:04 +00:00
081b7c73ba Update src/app/page.tsx 2026-03-20 14:12:00 +00:00
683e98ab18 Merge version_5 into main
Merge version_5 into main
2026-03-20 14:07:08 +00:00
655485f668 Update src/app/page.tsx 2026-03-20 14:06:58 +00:00
863ecaa262 Merge version_4 into main
Merge version_4 into main
2026-03-20 14:03:18 +00:00
c1e8273f9e Update src/app/page.tsx 2026-03-20 14:03:13 +00:00
50e17f8f33 Merge version_3 into main
Merge version_3 into main
2026-03-20 14:01:15 +00:00
75c6a28584 Update src/app/page.tsx 2026-03-20 14:01:11 +00:00
b65f507763 Merge version_2 into main
Merge version_2 into main
2026-03-19 19:40:41 +00:00
86b211eec5 Merge version_2 into main
Merge version_2 into main
2026-03-19 19:34:21 +00:00
3db9a9100f Merge version_2 into main
Merge version_2 into main
2026-03-19 19:30:32 +00:00
e46a66e206 Merge version_2 into main
Merge version_2 into main
2026-03-19 19:28:44 +00:00
7126bab992 Merge version_2 into main
Merge version_2 into main
2026-03-19 19:25:03 +00:00
2 changed files with 230 additions and 83 deletions

217
src/app/assessment/page.tsx Normal file
View File

@@ -0,0 +1,217 @@
"use client";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
import { useState } from 'react';
import { useRouter } from 'next/navigation';
export default function AssessmentPage() {
const router = useRouter();
const [formData, setFormData] = useState({
name: '',
email: '',
phone: '',
address: '',
yardSize: '',
description: ''
});
const [submitted, setSubmitted] = useState(false);
const [loading, setLoading] = useState(false);
const handleChange = (e: React.ChangeEvent<HTMLInputElement | HTMLTextAreaElement | HTMLSelectElement>) => {
const { name, value } = e.target;
setFormData(prev => ({
...prev,
[name]: value
}));
};
const handleSubmit = async (e: React.FormEvent<HTMLFormElement>) => {
e.preventDefault();
setLoading(true);
try {
// Here you would typically send the form data to your backend
// For now, we'll simulate the submission
await new Promise(resolve => setTimeout(resolve, 1000));
// Log the form data (replace with actual API call)
console.log('Assessment Form Submitted:', formData);
setSubmitted(true);
// Reset form after 3 seconds and redirect
setTimeout(() => {
router.push('/');
}, 3000);
} catch (error) {
console.error('Error submitting form:', error);
} finally {
setLoading(false);
}
};
return (
<ThemeProvider
defaultButtonVariant="hover-bubble"
defaultTextAnimation="entrance-slide"
borderRadius="pill"
contentWidth="mediumSmall"
sizing="largeSmall"
background="noise"
cardStyle="inset"
primaryButtonStyle="flat"
secondaryButtonStyle="radial-glow"
headingFontWeight="bold"
>
<div id="nav" data-section="nav">
<NavbarStyleCentered
brandName="Land Care 4 U"
navItems={[
{ name: "Home", id: "home" },
{ name: "Our Work", id: "showcase" },
{ name: "About", id: "about" },
{ name: "Reviews", id: "testimonials" }
]}
button={{ text: "Back to Home", href: "/" }}
/>
</div>
<div className="min-h-screen bg-gradient-to-b from-background to-card py-12 px-4 md:px-8">
<div className="max-w-2xl mx-auto">
{submitted ? (
<div className="text-center py-12">
<h2 className="text-3xl md:text-4xl font-bold text-foreground mb-4">Thank You!</h2>
<p className="text-lg text-foreground/70 mb-4">
We've received your yard assessment request. Our team will contact you shortly at {formData.phone}.
</p>
<p className="text-sm text-foreground/50">Redirecting to home...</p>
</div>
) : (
<div className="bg-card rounded-lg p-8 md:p-12 shadow-lg">
<h1 className="text-3xl md:text-4xl font-bold text-foreground mb-2">Free Yard Assessment</h1>
<p className="text-foreground/70 mb-8">
Tell us about your yard and we'll contact you to schedule your free assessment.
</p>
<form onSubmit={handleSubmit} className="space-y-6">
<div className="grid grid-cols-1 md:grid-cols-2 gap-6">
<div>
<label htmlFor="name" className="block text-sm font-medium text-foreground mb-2">
Full Name *
</label>
<input
type="text"
id="name"
name="name"
value={formData.name}
onChange={handleChange}
required
className="w-full px-4 py-3 rounded-lg border border-accent bg-background text-foreground focus:outline-none focus:ring-2 focus:ring-primary-cta"
placeholder="John Doe"
/>
</div>
<div>
<label htmlFor="email" className="block text-sm font-medium text-foreground mb-2">
Email Address *
</label>
<input
type="email"
id="email"
name="email"
value={formData.email}
onChange={handleChange}
required
className="w-full px-4 py-3 rounded-lg border border-accent bg-background text-foreground focus:outline-none focus:ring-2 focus:ring-primary-cta"
placeholder="john@example.com"
/>
</div>
</div>
<div className="grid grid-cols-1 md:grid-cols-2 gap-6">
<div>
<label htmlFor="phone" className="block text-sm font-medium text-foreground mb-2">
Phone Number *
</label>
<input
type="tel"
id="phone"
name="phone"
value={formData.phone}
onChange={handleChange}
required
className="w-full px-4 py-3 rounded-lg border border-accent bg-background text-foreground focus:outline-none focus:ring-2 focus:ring-primary-cta"
placeholder="(555) 123-4567"
/>
</div>
<div>
<label htmlFor="address" className="block text-sm font-medium text-foreground mb-2">
Address *
</label>
<input
type="text"
id="address"
name="address"
value={formData.address}
onChange={handleChange}
required
className="w-full px-4 py-3 rounded-lg border border-accent bg-background text-foreground focus:outline-none focus:ring-2 focus:ring-primary-cta"
placeholder="123 Main St, City, State"
/>
</div>
</div>
<div>
<label htmlFor="yardSize" className="block text-sm font-medium text-foreground mb-2">
Approximate Yard Size
</label>
<select
id="yardSize"
name="yardSize"
value={formData.yardSize}
onChange={handleChange}
className="w-full px-4 py-3 rounded-lg border border-accent bg-background text-foreground focus:outline-none focus:ring-2 focus:ring-primary-cta"
>
<option value="">Select yard size...</option>
<option value="small">Small (Under 1/4 acre)</option>
<option value="medium">Medium (1/4 - 1/2 acre)</option>
<option value="large">Large (1/2 - 1 acre)</option>
<option value="xlarge">Extra Large (Over 1 acre)</option>
</select>
</div>
<div>
<label htmlFor="description" className="block text-sm font-medium text-foreground mb-2">
Tell us about your yard and what you'd like to improve *
</label>
<textarea
id="description"
name="description"
value={formData.description}
onChange={handleChange}
required
rows={5}
className="w-full px-4 py-3 rounded-lg border border-accent bg-background text-foreground focus:outline-none focus:ring-2 focus:ring-primary-cta"
placeholder="Describe any issues, your vision for your yard, budget concerns, timeline, etc."
/>
</div>
<button
type="submit"
disabled={loading}
className="w-full px-6 py-3 bg-primary-cta text-primary-cta-text font-semibold rounded-lg hover:opacity-90 transition-opacity disabled:opacity-50 disabled:cursor-not-allowed"
>
{loading ? 'Submitting...' : 'Request Free Assessment'}
</button>
<p className="text-xs text-foreground/50 text-center">
We'll call you within 24 hours to schedule your free yard assessment.
</p>
</form>
</div>
)}
</div>
</div>
</ThemeProvider>
);
}

View File

@@ -3,15 +3,21 @@
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
import HeroCarouselLogo from '@/components/sections/hero/heroCarouselLogo/HeroCarouselLogo';
import FeatureCardOne from '@/components/sections/feature/FeatureCardOne';
import ProductCardThree from '@/components/sections/product/ProductCardThree';
import MetricCardEleven from '@/components/sections/metrics/MetricCardEleven';
import TestimonialCardOne from '@/components/sections/testimonial/TestimonialCardOne';
import TestimonialAboutCard from '@/components/sections/about/TestimonialAboutCard';
import FeatureCardOne from '@/components/sections/feature/FeatureCardOne';
import FooterCard from '@/components/sections/footer/FooterCard';
import { Sparkles, Leaf, ImageIcon, Star, Heart, CheckCircle, Facebook, Instagram, Phone, Users } from 'lucide-react';
import { Sparkles, Star, Heart, CheckCircle, Instagram, Phone, Users, ImageIcon } from 'lucide-react';
import { useRouter } from 'next/navigation';
export default function LandingPage() {
const router = useRouter();
const handleGetAssessment = () => {
router.push('/assessment');
};
return (
<ThemeProvider
defaultButtonVariant="hover-bubble"
@@ -29,12 +35,11 @@ export default function LandingPage() {
<NavbarStyleCentered
brandName="Land Care 4 U"
navItems={[
{ name: "Services", id: "services" },
{ name: "Our Work", id: "showcase" },
{ name: "About", id: "about" },
{ name: "Reviews", id: "testimonials" }
]}
button={{ text: "Get Free Quote", href: "#contact" }}
button={{ text: "Get Free Quote", onClick: handleGetAssessment }}
/>
</div>
@@ -43,7 +48,7 @@ export default function LandingPage() {
logoText="Land Care 4 U & Landscaping"
description="Transform Your Yard Into a Beautiful, Stress-Free Outdoor Space. Reliable. Professional. Affordable landscaping trusted by homeowners who want it done right the first time."
buttons={[
{ text: "Get a Free Quote", href: "#contact" },
{ text: "Get Your Free Yard Assessment", onClick: handleGetAssessment },
{ text: "View Our Work", href: "#showcase" }
]}
slides={[
@@ -57,80 +62,6 @@ export default function LandingPage() {
/>
</div>
<div id="why-choose-us" data-section="why-choose-us">
<FeatureCardOne
tag="Why Choose Us"
tagIcon={Sparkles}
tagAnimation="slide-up"
title="Landscaping Done With Care, Precision, and Pride"
description="We transform outdoor spaces with expertise, honesty, and genuine care. Every project reflects our commitment to excellence and customer satisfaction."
features={[
{
title: "Complete Transformations", description: "From dirt and weeds to lush, healthy lawns. We handle projects of any size with professionalism and attention to detail.", imageSrc: "http://img.b2bpic.net/free-vector/landscape-gardens-design-infographics-report_1284-5947.jpg?_wi=1", imageAlt: "Beautiful professional garden landscape design"
},
{
title: "Fast & Reliable Service", description: "Next-day or same-week availability. We respect your time and deliver results when we promise them.", imageSrc: "http://img.b2bpic.net/free-photo/close-up-strong-man-gloves-cutting-leaves-his-garden-farmer-spending-summer-morning-working-garden-near-countryside-house_176420-19902.jpg?id=9696898", imageAlt: "Professional landscaper maintaining green lawn"
},
{
title: "Honest & Transparent", description: "We walk you through everything before we start. No surprises, no hidden costs—just straightforward, quality work.", imageSrc: "http://img.b2bpic.net/free-photo/view-water-tank-storage_23-2151748218.jpg?_wi=1", imageAlt: "Professional irrigation system installation"
},
{
title: "Above & Beyond Care", description: "We don't just finish the job—we make sure it lasts. Your satisfaction is our priority.", imageSrc: "http://img.b2bpic.net/free-photo/high-angle-shot-empty-park-with-blooming-green-trees-walls_181624-19632.jpg?_wi=1", imageAlt: "Professional hardscape and patio installation"
},
{
title: "Affordable, Fair Pricing", description: "Premium results without overpriced quotes. We believe great landscaping should be accessible.", imageSrc: "http://img.b2bpic.net/premium-photo/price-symbol-price-concept-price-wording-increasing-wooden-block-coins-stacking_184421-3960.jpg?id=388981837", imageAlt: "Professional landscaping service"
},
{
title: "Versatile Services", description: "From lawn care to gutters, roses, and hardscaping. Your trusted partner for all outdoor needs.", imageSrc: "http://img.b2bpic.net/free-vector/landscape-gardens-design-infographics-report_1284-5947.jpg?_wi=2", imageAlt: "Comprehensive landscaping services"
}
]}
gridVariant="three-columns-all-equal-width"
animationType="slide-up"
textboxLayout="default"
useInvertedBackground={false}
buttons={[{ text: "Request Your Custom Plan", href: "#contact" }]}
buttonAnimation="slide-up"
ariaLabel="Why choose us feature section"
/>
</div>
<div id="services" data-section="services">
<ProductCardThree
title="Everything Your Yard Needs — Done Right"
description="Complete landscaping solutions tailored to your property and lifestyle. From routine maintenance to complete transformations."
tag="Our Services"
tagIcon={Leaf}
tagAnimation="slide-up"
gridVariant="three-columns-all-equal-width"
animationType="slide-up"
textboxLayout="default"
useInvertedBackground={false}
products={[
{
id: "lawn-care", name: "Lawn & Yard Services", price: "Weekly or Bi-Weekly", imageSrc: "http://img.b2bpic.net/free-photo/male-hands-cutting-bushes-with-big-scissors_651396-1549.jpg?id=26767874", imageAlt: "Professional lawn maintenance service"
},
{
id: "irrigation", name: "Irrigation & Lawn Health", price: "Custom Quotes", imageSrc: "http://img.b2bpic.net/free-photo/view-water-tank-storage_23-2151748218.jpg?_wi=2", imageAlt: "Professional irrigation system installation"
},
{
id: "landscaping", name: "Landscaping & Design", price: "Project-Based", imageSrc: "http://img.b2bpic.net/free-photo/high-angle-shot-empty-park-with-blooming-green-trees-walls_181624-19632.jpg?_wi=2", imageAlt: "Professional hardscape and garden design"
},
{
id: "specialty", name: "Specialty Services", price: "On Request", imageSrc: "http://img.b2bpic.net/free-photo/worker-is-cutting-grass-with-hose_7502-9835.jpg?id=66860580", imageAlt: "Specialty landscaping services"
},
{
id: "maintenance", name: "Ongoing Maintenance", price: "Seasonal Plans", imageSrc: "http://img.b2bpic.net/free-photo/close-up-picture-hand-holding-wooden-tray-which-full-pots-plants_1150-26606.jpg?id=10401277", imageAlt: "Ongoing yard maintenance service"
},
{
id: "consultation", name: "Consultation & Planning", price: "Free Assessment", imageSrc: "http://img.b2bpic.net/free-photo/quality-control-inspector-worker-talking-while-going-through-list-plants-greenhouse_637285-1670.jpg?id=25624237", imageAlt: "Free landscaping consultation and planning"
}
]}
buttons={[{ text: "Request Your Custom Plan", href: "#contact" }]}
buttonAnimation="slide-up"
ariaLabel="Services and products section"
/>
</div>
<div id="showcase" data-section="showcase">
<MetricCardEleven
title="Real Transformations. Real Results."
@@ -245,9 +176,8 @@ export default function LandingPage() {
logoText="Land Care 4 U & Landscaping"
copyrightText="© 2025 Land Care 4 U & Landscaping. All rights reserved."
socialLinks={[
{ icon: Facebook, href: "https://facebook.com", ariaLabel: "Facebook" },
{ icon: Instagram, href: "https://instagram.com", ariaLabel: "Instagram" },
{ icon: Phone, href: "tel:+1234567890", ariaLabel: "Call us" }
{ icon: Instagram, href: "https://www.instagram.com/lawncare4ulandscaping", ariaLabel: "Instagram" },
{ icon: Phone, href: "tel:+19515484002", ariaLabel: "Call us" }
]}
ariaLabel="Site footer"
/>