Merge version_2 into main #2
@@ -15,6 +15,16 @@ import TestimonialCardSixteen from '@/components/sections/testimonial/Testimonia
|
||||
import { BookOpen, CheckCircle, Grid, Lightbulb, LineChart, Repeat, Timer, Trophy, User } from "lucide-react";
|
||||
|
||||
export default function LandingPage() {
|
||||
const handleContactSubmission = (email: string) => {
|
||||
if (!email || !email.includes('@')) {
|
||||
alert('Please enter a valid email address.');
|
||||
return;
|
||||
}
|
||||
// Simulate submission to a backend
|
||||
console.log('Contact form submitted with email:', email);
|
||||
alert(`Thank you for your message! We'll get back to you at ${email}.`);
|
||||
};
|
||||
|
||||
return (
|
||||
<ThemeProvider
|
||||
defaultButtonVariant="shift-hover"
|
||||
@@ -258,6 +268,7 @@ export default function LandingPage() {
|
||||
inputPlaceholder="Enter your email for early access"
|
||||
buttonText="Sign Up Now"
|
||||
termsText="By clicking Sign Up Now you're confirming that you agree with our Terms and Conditions and Privacy Policy."
|
||||
onSubmit={handleContactSubmission}
|
||||
/>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user