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