Merge version_4 into main #3
@@ -13,6 +13,20 @@ import PricingCardEight from '@/components/sections/pricing/PricingCardEight';
|
||||
import TestimonialCardOne from '@/components/sections/testimonial/TestimonialCardOne';
|
||||
|
||||
export default function LandingPage() {
|
||||
const handleContactSubmit = async (data: Record<string, string>) => {
|
||||
try {
|
||||
console.log("Form data submitted:", data);
|
||||
alert("Thank you! We have received your inquiry and will contact you shortly.");
|
||||
} catch (error) {
|
||||
console.error("Form submission error:", error);
|
||||
alert("Something went wrong. Please try again later.");
|
||||
}
|
||||
};
|
||||
|
||||
const handleFooterPrivacy = () => {
|
||||
alert("Privacy Policy: We protect your data as strictly as we protect our training standards.");
|
||||
};
|
||||
|
||||
return (
|
||||
<ThemeProvider
|
||||
defaultButtonVariant="directional-hover"
|
||||
@@ -210,6 +224,7 @@ export default function LandingPage() {
|
||||
useInvertedBackground={false}
|
||||
title="CLAIM YOUR SPOT"
|
||||
description="Fill the form and we will reach out to get you started immediately."
|
||||
onSubmit={handleContactSubmit}
|
||||
inputs={[
|
||||
{
|
||||
name: "name", type: "text", placeholder: "Your Name", required: true,
|
||||
@@ -224,6 +239,7 @@ export default function LandingPage() {
|
||||
|
||||
<div id="footer" data-section="footer">
|
||||
<FooterBase
|
||||
onPrivacyClick={handleFooterPrivacy}
|
||||
columns={[
|
||||
{
|
||||
title: "Navigation", items: [
|
||||
|
||||
Reference in New Issue
Block a user