diff --git a/src/app/page.tsx b/src/app/page.tsx index 4192085..ec3828f 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -9,8 +9,13 @@ import FeatureCardThree from "@/components/sections/feature/featureCardThree/Fea import ContactFaq from "@/components/sections/contact/ContactFaq"; import FooterLogoReveal from "@/components/sections/footer/FooterLogoReveal"; import { ArrowRight, CheckCircle, Sparkles, Phone, Mail } from "lucide-react"; +import { useState } from "react"; export default function LandingPage() { + const [submitted, setSubmitted] = useState(false); + const [formData, setFormData] = useState({ + fullName: "", businessName: "", email: "", phone: "", message: ""}); + const handlePhoneClick = () => { window.location.href = "tel:206-741-9017"; }; @@ -19,6 +24,21 @@ export default function LandingPage() { window.location.href = "mailto:CoreScale.co@gmail.com"; }; + const handleFormSubmit = (e: React.FormEvent) => { + e.preventDefault(); + setSubmitted(true); + setFormData({ + fullName: "", businessName: "", email: "", phone: "", message: ""}); + setTimeout(() => setSubmitted(false), 5000); + }; + + const handleInputChange = (e: React.ChangeEvent) => { + setFormData({ + ...formData, + [e.target.name]: e.target.value, + }); + }; + return (
- +
+
+ {/* Header */} +
+

+ Get Your Website Started +

+

+ Ready to grow your business online? Contact CoreScale today to get your professional website built quickly and affordably. +

+
+ + {/* Contact Information */} +
+
+ +
+

Phone

+ + 206-741-9017 + +
+
+ +
+ + {/* Contact Form */} + {!submitted ? ( +
+
+
+ + +
+
+ + +
+
+ +
+
+ + +
+
+ + +
+
+ +
+ +