Skip to content

Commit

Permalink
Merge pull request #17 from jainam-panchal/main
Browse files Browse the repository at this point in the history
UI and Link Fix on Contact Us Page
  • Loading branch information
Nishitbaria authored Oct 24, 2023
2 parents 29414cc + ebf45e0 commit 173a81b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
9 changes: 4 additions & 5 deletions Technodes/src/Pages/Contact.jsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const Contact = () => {
return (
<div className="p-10 pt-20 bg-primary">
<p className='text-3xl font-bold text-center'>Contact Us</p>
<p className='text-4xl mt-8 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">
Expand All @@ -15,7 +15,6 @@ const Contact = () => {
</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">
Expand All @@ -26,7 +25,7 @@ const Contact = () => {
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"
className="w-full px-4 py-2 rounded-lg border border-gray-300 focus:outline-none focus:ring-2 focus:ring-blue-600 text-gray-600"
/>
</div>
<div className="mb-4">
Expand All @@ -38,7 +37,7 @@ const Contact = () => {
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"
className="w-full px-4 py-2 rounded-lg border border-gray-300 focus:outline-none focus:ring-2 focus:ring-blue-600 text-gray-600 invalid:text-red-500"
/>
</div>
<div className="mb-4">
Expand All @@ -50,7 +49,7 @@ const Contact = () => {
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"
className="w-full px-4 py-2 rounded-lg border border-gray-300 focus:outline-none focus:ring-2 focus:ring-blue-600 text-gray-600"
></textarea>
</div>
<button
Expand Down
5 changes: 2 additions & 3 deletions Technodes/src/components/Footer.jsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import React from "react";
import { Link } from "react-router-dom"

export default function Footer() {
return (
Expand Down Expand Up @@ -54,9 +55,7 @@ export default function Footer() {
</a>
</li>
<li class="mb-4">
<a href="#" class="hover:underline">
Contact Us
</a>
<Link to="/Contact">Contact Us</Link>
</li>
</ul>
</div>
Expand Down

0 comments on commit 173a81b

Please sign in to comment.