Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 4681e0237c | |||
| da18b745a4 | |||
| 665b02253f | |||
| ee307b8a02 |
@@ -13,6 +13,15 @@ import FooterSimple from '@/components/sections/footer/FooterSimple';
|
||||
import { Shield, Award, Hammer, Users, CheckCircle, Star, MessageCircle, HelpCircle, Phone } from 'lucide-react';
|
||||
|
||||
export default function LandingPage() {
|
||||
const handleScheduleInspection = () => {
|
||||
const formData = new FormData();
|
||||
formData.append('action', 'schedule_inspection');
|
||||
fetch('/api/contact', {
|
||||
method: 'POST',
|
||||
body: formData,
|
||||
}).catch(() => {});
|
||||
};
|
||||
|
||||
return (
|
||||
<ThemeProvider
|
||||
defaultButtonVariant="elastic-effect"
|
||||
@@ -116,6 +125,10 @@ export default function LandingPage() {
|
||||
{
|
||||
id: "4", icon: Star,
|
||||
title: "Average Rating", value: "4.9/5"
|
||||
},
|
||||
{
|
||||
id: "5", icon: Shield,
|
||||
title: "Licensed & Insured", value: "100%"
|
||||
}
|
||||
]}
|
||||
/>
|
||||
@@ -190,7 +203,7 @@ export default function LandingPage() {
|
||||
useInvertedBackground={false}
|
||||
buttons={[
|
||||
{ text: "Call Now", href: "tel:+15615551234" },
|
||||
{ text: "Request Quote", href: "mailto:info@steadfastroofing.com" }
|
||||
{ text: "Schedule Free Inspection", onClick: handleScheduleInspection }
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user