diff --git a/src/components/ContactUs.jsx b/src/components/ContactUs.jsx
index 024efca..3f8adfa 100644
--- a/src/components/ContactUs.jsx
+++ b/src/components/ContactUs.jsx
@@ -1,78 +1,85 @@
-// components/ContactUs.jsx
-import React, {useState} from 'react';
-import aboutImage from '../assets/cartoon.png';
-import {FontAwesomeIcon} from "@fortawesome/react-fontawesome";
-import {faEnvelope, faFemale, faMobilePhone} from "@fortawesome/free-solid-svg-icons";
-
-
-const ContactUs = () => {
-
- const [email, setEmail] = useState("")
- const [message, setMessage] = useState("")
- const [name, setName] = useState("")
-
- const handleSubmit = (e) => {
- e.preventDefault()
- if(!name.trim() || !message.trim() || !email.trim()){
- alert("Fill all the fields")
- }
- alert("Message sent successfully")
- }
-
-
- return (
-
-
-
-
-
-
-
-
-
-
Follow us
-
-
-
-
Email
-
info@timewarp.com
-
-
-
Phone
-
+1 (555) 123-4567
-
-
-
-
-
-
-
-
Contact Us
-
Contact us for a quote
-
-
-
-
-
-
-
-
- );
-}
-
-export default ContactUs;
+// components/ContactUs.jsx
+import React, {useState} from 'react';
+import aboutImage from '../assets/cartoon.png';
+import {FontAwesomeIcon} from "@fortawesome/react-fontawesome";
+import {faEnvelope, faFemale, faMobilePhone} from "@fortawesome/free-solid-svg-icons";
+
+
+const ContactUs = () => {
+
+ const [email, setEmail] = useState("")
+ const [message, setMessage] = useState("")
+ const [name, setName] = useState("")
+
+ const handleSubmit = (e) => {
+ e.preventDefault()
+ if(!name.trim() || !message.trim() || !email.trim()){
+ alert("Fill all the fields")
+ return
+ }
+
+ if(!name.match(/^[a-z]/i)){
+ alert("Only alphabets are allowed in name")
+ return
+ }
+
+ alert("Message sent successfully")
+ }
+
+
+ return (
+
+
+
+
+
+
+
+
+
+
Follow us
+
+
+
+
Email
+
info@timewarp.com
+
+
+
Phone
+
+1 (555) 123-4567
+
+
+
+
+
+
+
+
Contact Us
+
Contact us for a quote
+
+
Get a quote
+
+
+
+
+
+
+
+
+
+ );
+}
+
+export default ContactUs;