Skip to content

Commit

Permalink
Merge pull request #12 from samara6855/patch-1
Browse files Browse the repository at this point in the history
Updated "Get In Touch" section in Contact.jsx for issue #10
  • Loading branch information
Nishitbaria authored Oct 23, 2023
2 parents 3e8e595 + 6274b02 commit 29414cc
Showing 1 changed file with 60 additions and 63 deletions.
123 changes: 60 additions & 63 deletions Technodes/src/Pages/Contact.jsx
Original file line number Diff line number Diff line change
@@ -1,72 +1,69 @@

const Contact = () => {
return (
<div className="p-10 pt-20 bg-primary">
<p className='text-3xl font-bold text-center'>Contact Us</p>
<div className="container mx-auto p-4 mt-10">
<div className="grid grid-cols-1 md:grid-cols-2 gap-8">
<div className="bg-secondary shadow-md rounded-md p-4">
<h2 className="text-xl font-bold mb-2">Get in Touch</h2>
<p className="text-textcolor mb-4">
If you have any questions or feedback, feel free to get in touch with us using the contact form or the
contact information below.
</p>
<ul className="text-textcolor mb-4">
<li>Email: [email protected]</li>
<li>Phone: +1 (123) 456-7890</li>
<li>Address: 123 Community Street, City, Country</li>
</ul>
</div>
<div>
<h2 className="text-xl font-bold mb-2">Contact Form</h2>
<form className="text-black">
<div className="mb-4 text-black">
<label htmlFor="name" className="block text-textcolor mb-1">
Name
</label>
<input
type="text"
id="name"
name="name"
placeholder="Your Name"
className="w-full px-4 py-2 rounded-lg border border-gray-300 focus:outline-none focus:ring-2 focus:ring-blue-600"
/>
</div>
<div className="mb-4">
<label htmlFor="email" className="block text-textcolor mb-1">
Email
</label>
<input
type="email"
id="email"
name="email"
placeholder="Your Email"
className="w-full px-4 py-2 rounded-lg border border-gray-300 focus:outline-none focus:ring-2 focus:ring-blue-600"
/>
</div>
<div className="mb-4">
<label htmlFor="message" className="block text-textcolor mb-1">
Message
</label>
<textarea
id="message"
name="message"
rows="4"
placeholder="Your Message"
className="w-full px-4 py-2 rounded-lg border border-gray-300 focus:outline-none focus:ring-2 focus:ring-blue-600"
></textarea>
</div>
<button
type="submit"
className="bg-blue-600 text-white px-6 py-2 rounded-lg hover:bg-blue-700 focus:outline-none focus:ring-2 focus:ring-blue-600"
>
Send Message
</button>
</form>
<p className='text-3xl font-bold text-center'>Contact Us</p>
<div className="container mx-auto p-4 mt-10">
<div className="grid grid-cols-1 md:grid-cols-2 gap-8">
<div className="bg-secondary shadow-md rounded-md p-4">
<h2 className="text-xl font-bold mb-2">Get in Touch</h2>
<p className="text-textcolor mb-4">
If you have any questions or feedback, feel free to get in touch with us using the contact form or the contact information below.
</p>
<ul className="text-textcolor mb-4">
<li>Email: [email protected]</li>
<li>Phone: +1 (123) 456-7890</li>
</ul>
</div>
<div>
<h2 className="text-xl font-bold mb-2">Contact Form</h2>
<form>
<div className="mb-4">
<label htmlFor="name" className="block mb-1 text-textcolor">
Name
</label>
<input
type="text"
id="name"
name="name"
placeholder="Your Name"
className="w-full px-4 py-2 rounded-lg border border-gray-300 focus:outline-none focus:ring-2 focus:ring-blue-600"
/>
</div>
<div className="mb-4">
<label htmlFor="email" className="block mb-1 text-textcolor">
Email
</label>
<input
type="email"
id="email"
name="email"
placeholder="Your Email"
className="w-full px-4 py-2 rounded-lg border border-gray-300 focus:outline-none focus:ring-2 focus:ring-blue-600"
/>
</div>
<div className="mb-4">
<label htmlFor="message" className="block mb-1 text-textcolor">
Message
</label>
<textarea
id="message"
name="message"
rows="4"
placeholder="Your Message"
className="w-full px-4 py-2 rounded-lg border border-gray-300 focus:outline-none focus:ring-2 focus:ring-blue-600"
></textarea>
</div>
<button
type="submit"
className="bg-blue-600 text-white px-6 py-2 rounded-lg hover:bg-blue-700 focus:outline-none focus:ring-2 focus:ring-blue-600"
>
Send Message
</button>
</form>
</div>
</div>
</div>
</div>
</div>
);
};

Expand Down

0 comments on commit 29414cc

Please sign in to comment.