Merge version_2 into main
Merge version_2 into main
This commit was merged in pull request #1.
This commit is contained in:
@@ -13,6 +13,13 @@ import FooterBase from '@/components/sections/footer/FooterBase';
|
||||
import { Award, Sparkles, Star, CheckCircle, Zap } from 'lucide-react';
|
||||
|
||||
export default function LandingPage() {
|
||||
const handleContactSubmit = (email: string) => {
|
||||
// Send quote request to Bestpricetrashhauling@gmail.com
|
||||
const subject = encodeURIComponent("Quote Request from Best Price Trash Hauling Website");
|
||||
const body = encodeURIComponent(`Contact Email: ${email}\n\nPlease provide a quote for our junk removal services.`);
|
||||
window.location.href = `mailto:Bestpricetrashhauling@gmail.com?subject=${subject}&body=${body}`;
|
||||
};
|
||||
|
||||
return (
|
||||
<ThemeProvider
|
||||
defaultButtonVariant="shift-hover"
|
||||
@@ -214,6 +221,7 @@ export default function LandingPage() {
|
||||
inputPlaceholder="Enter your email"
|
||||
buttonText="Get a Free Quote"
|
||||
termsText="By clicking Get a Free Quote, you're confirming that you agree with our Terms and Conditions."
|
||||
onSubmit={handleContactSubmit}
|
||||
ariaLabel="Contact Best Price Trash Hauling"
|
||||
/>
|
||||
</div>
|
||||
@@ -244,7 +252,7 @@ export default function LandingPage() {
|
||||
{
|
||||
title: "Contact", items: [
|
||||
{ label: "📞 Call Now", href: "tel:+1-800-TRASH-01" },
|
||||
{ label: "📧 Email Us", href: "mailto:info@bestpricetrashauling.com" },
|
||||
{ label: "📧 Email Us", href: "mailto:Bestpricetrashhauling@gmail.com" },
|
||||
{ label: "🗺️ Service Area", href: "#" },
|
||||
{ label: "📋 Get a Quote", href: "#contact" }
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user