Skip to content

Commit 26fadfa

Browse files
committed
Updating contact styles
1 parent 9fc8e34 commit 26fadfa

File tree

1 file changed

+40
-38
lines changed

1 file changed

+40
-38
lines changed

src/components/Contact.js

Lines changed: 40 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -2,44 +2,46 @@ import React from 'react';
22

33
const Contact = () => {
44
return (
5-
<section className="flex flex-col items-center justify-center p-8">
6-
<h2 className="text-2xl font-bold mb-4">Contact Me</h2>
7-
<p className="mb-4">Feel free to reach out via email or connect with me on LinkedIn!</p>
8-
<form className="w-full max-w-md">
9-
<div className="mb-4">
10-
<label className="block text-sm font-medium mb-2" htmlFor="name">Name</label>
11-
<input
12-
className="border border-gray-300 rounded p-2 w-full"
13-
type="text"
14-
id="name"
15-
required
16-
/>
17-
</div>
18-
<div className="mb-4">
19-
<label className="block text-sm font-medium mb-2" htmlFor="email">Email</label>
20-
<input
21-
className="border border-gray-300 rounded p-2 w-full"
22-
type="email"
23-
id="email"
24-
required
25-
/>
26-
</div>
27-
<div className="mb-4">
28-
<label className="block text-sm font-medium mb-2" htmlFor="message">Message</label>
29-
<textarea
30-
className="border border-gray-300 rounded p-2 w-full"
31-
id="message"
32-
rows="4"
33-
required
34-
></textarea>
35-
</div>
36-
<button
37-
className="bg-blue-500 text-white rounded px-4 py-2 hover:bg-blue-600"
38-
type="submit"
39-
>
40-
Send Message
41-
</button>
42-
</form>
5+
<section className="flex flex-col items-center justify-center p-8" style={{ border: "8px solid #FFFFFF" }}>
6+
<div className="bg-white shadow-2xl rounded-lg m-10 p-10">
7+
<h2 className="chicle-regular text-2xl font-bold mb-4">Contact Me</h2>
8+
<p className="chicle-regular mb-4 text-lg">Feel free to reach out via email or connect with me on LinkedIn!</p>
9+
<form className="w-full max-w-md">
10+
<div className="mb-4">
11+
<label className="chicle-regular block text-md font-medium mb-2" htmlFor="name">Name</label>
12+
<input
13+
className="border border-lightgreen p-2 w-full rounded-lg focus:outline-none focus:ring-2 focus:ring-lightgreen"
14+
type="text"
15+
id="name"
16+
required
17+
/>
18+
</div>
19+
<div className="mb-4">
20+
<label className="chicle-regular block text-md font-medium mb-2" htmlFor="email">Email</label>
21+
<input
22+
className="border border-lightgreen p-2 w-full rounded-lg focus:outline-none focus:ring-2 focus:ring-lightgreen"
23+
type="email"
24+
id="email"
25+
required
26+
/>
27+
</div>
28+
<div className="mb-4">
29+
<label className="chicle-regular block text-md font-medium mb-2" htmlFor="message">Message</label>
30+
<textarea
31+
className="border border-lightgreen p-2 w-full rounded-lg focus:outline-none focus:ring-2 focus:ring-lightgreen"
32+
id="message"
33+
rows="4"
34+
required
35+
></textarea>
36+
</div>
37+
<button
38+
className="chicle-regular bg-lightgreen text-white rounded px-4 py-2 hover:bg-green"
39+
type="submit"
40+
>
41+
Send Message
42+
</button>
43+
</form>
44+
</div>
4345
</section>
4446
);
4547
};

0 commit comments

Comments
 (0)