Compare commits
9 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 12b6cdd340 | |||
| 83216760b1 | |||
| f305f49ab2 | |||
| a8d9275930 | |||
| 9c53d01e2e | |||
| b8edf4c8db | |||
| b96f937231 | |||
| 92daf32d6c | |||
| d0bb67c9d7 |
@@ -4,7 +4,6 @@ import { Inter } from "next/font/google";
|
|||||||
import "./globals.css";
|
import "./globals.css";
|
||||||
import "@/lib/gsap-setup";
|
import "@/lib/gsap-setup";
|
||||||
import { ServiceWrapper } from "@/components/ServiceWrapper";
|
import { ServiceWrapper } from "@/components/ServiceWrapper";
|
||||||
import Tag from "@/tag/Tag";
|
|
||||||
import { getVisualEditScript } from "@/utils/visual-edit-script";
|
import { getVisualEditScript } from "@/utils/visual-edit-script";
|
||||||
import { Roboto } from "next/font/google";
|
import { Roboto } from "next/font/google";
|
||||||
|
|
||||||
@@ -56,7 +55,7 @@ export default function RootLayout({
|
|||||||
<html lang="en" suppressHydrationWarning>
|
<html lang="en" suppressHydrationWarning>
|
||||||
<ServiceWrapper>
|
<ServiceWrapper>
|
||||||
<body className={`${roboto.variable} antialiased`}>
|
<body className={`${roboto.variable} antialiased`}>
|
||||||
<Tag />
|
|
||||||
{children}
|
{children}
|
||||||
<script
|
<script
|
||||||
dangerouslySetInnerHTML={{
|
dangerouslySetInnerHTML={{
|
||||||
|
|||||||
@@ -45,9 +45,10 @@ export default function LandingPage() {
|
|||||||
{
|
{
|
||||||
name: "Contact", id: "#contact"},
|
name: "Contact", id: "#contact"},
|
||||||
]}
|
]}
|
||||||
logoSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=okkzgc"
|
logoSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3EpLicFwrF5qAlo4BS5zWMKNijA/uploaded-1780872198017-tazpeeq6.jpg"
|
||||||
logoAlt="LA Roofing Company Logo"
|
logoAlt="LA Roofing Company Logo"
|
||||||
brandName="LA Roofing Co."
|
brandName="LA Roofing Co."
|
||||||
|
logoImageClassName="h-12 w-auto object-contain"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -246,6 +247,15 @@ export default function LandingPage() {
|
|||||||
inputPlaceholder="Enter your email"
|
inputPlaceholder="Enter your email"
|
||||||
buttonText="Schedule Inspection"
|
buttonText="Schedule Inspection"
|
||||||
termsText="By submitting, you agree to receive communications from LA Roofing Co."
|
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>
|
</div>
|
||||||
|
|
||||||
@@ -289,7 +299,7 @@ export default function LandingPage() {
|
|||||||
],
|
],
|
||||||
},
|
},
|
||||||
]}
|
]}
|
||||||
logoSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=okkzgc"
|
logoSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3EpLicFwrF5qAlo4BS5zWMKNijA/uploaded-1780872198017-tazpeeq6.jpg"
|
||||||
logoAlt="LA Roofing Company Logo"
|
logoAlt="LA Roofing Company Logo"
|
||||||
logoText="LA Roofing Co."
|
logoText="LA Roofing Co."
|
||||||
copyrightText="© 2024 LA Roofing Co. All rights reserved."
|
copyrightText="© 2024 LA Roofing Co. All rights reserved."
|
||||||
@@ -298,4 +308,4 @@ export default function LandingPage() {
|
|||||||
</ReactLenis>
|
</ReactLenis>
|
||||||
</ThemeProvider>
|
</ThemeProvider>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user