Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 1f5f265de2 | |||
| b6655bfd62 | |||
| 725e412a2b | |||
| 557a38962c |
@@ -257,6 +257,16 @@ export default function LandingPage() {
|
|||||||
inputPlaceholder="your@email.com"
|
inputPlaceholder="your@email.com"
|
||||||
buttonText="Start My Website"
|
buttonText="Start My Website"
|
||||||
termsText="We'll contact you within 24 hours to discuss your project. No spam, just premium web solutions."
|
termsText="We'll contact you within 24 hours to discuss your project. No spam, just premium web solutions."
|
||||||
|
onSubmit={(email: string) => {
|
||||||
|
// Send email to luxorasites.build@gmail.com
|
||||||
|
fetch('/api/contact', {
|
||||||
|
method: 'POST',
|
||||||
|
headers: {
|
||||||
|
'Content-Type': 'application/json',
|
||||||
|
},
|
||||||
|
body: JSON.stringify({ email }),
|
||||||
|
}).catch(err => console.error('Error submitting contact form:', err));
|
||||||
|
}}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user