Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 83216760b1 | |||
| f305f49ab2 | |||
| a8d9275930 | |||
| 9c53d01e2e | |||
| b8edf4c8db | |||
| b96f937231 |
@@ -4,7 +4,6 @@ import { Inter } from "next/font/google";
|
||||
import "./globals.css";
|
||||
import "@/lib/gsap-setup";
|
||||
import { ServiceWrapper } from "@/components/ServiceWrapper";
|
||||
import Tag from "@/tag/Tag";
|
||||
import { getVisualEditScript } from "@/utils/visual-edit-script";
|
||||
import { Roboto } from "next/font/google";
|
||||
|
||||
@@ -56,7 +55,7 @@ export default function RootLayout({
|
||||
<html lang="en" suppressHydrationWarning>
|
||||
<ServiceWrapper>
|
||||
<body className={`${roboto.variable} antialiased`}>
|
||||
<Tag />
|
||||
|
||||
{children}
|
||||
<script
|
||||
dangerouslySetInnerHTML={{
|
||||
|
||||
@@ -48,6 +48,7 @@ export default function LandingPage() {
|
||||
logoSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3EpLicFwrF5qAlo4BS5zWMKNijA/uploaded-1780872198017-tazpeeq6.jpg"
|
||||
logoAlt="LA Roofing Company Logo"
|
||||
brandName="LA Roofing Co."
|
||||
logoImageClassName="h-12 w-auto object-contain"
|
||||
/>
|
||||
</div>
|
||||
|
||||
@@ -246,6 +247,15 @@ export default function LandingPage() {
|
||||
inputPlaceholder="Enter your email"
|
||||
buttonText="Schedule Inspection"
|
||||
termsText="By submitting, you agree to receive communications from LA Roofing Co."
|
||||
onSubmit={(submittedEmail: string) => {
|
||||
// This is a client-side handler.
|
||||
// To send a notification email, this function needs to interact with a backend service.
|
||||
// The current frontend code cannot directly send emails.
|
||||
// A typical implementation would involve making an API call to a server-side endpoint,
|
||||
// which would then handle the email delivery to 'syedmohib223@icloud.com'.
|
||||
console.log(`Form submitted with email: ${submittedEmail}.`);
|
||||
console.log(`ACTION REQUIRED: Implement a backend API call here to send this email to syedmohib223@icloud.com.`);
|
||||
}}
|
||||
/>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user