1
1
const ContactForm = ( ) => {
2
2
return (
3
3
< div className = "w-full lg:w-1/2" >
4
- < div className = "font-general-regular leading-loose" >
4
+ < div className = "leading-loose" >
5
5
< form
6
6
onSubmit = { ( e ) => {
7
7
e . preventDefault ( ) ;
8
8
} }
9
- className = "max-w-xl m-4 p-6 sm:p-10 bg-secondary-light dark:bg-secondary-dark rounded-lg shadow-xl text-left"
9
+ className = "max-w-xl m-4 p-6 sm:p-10 bg-secondary-light dark:bg-secondary-dark rounded-xl shadow-xl text-left"
10
10
>
11
- < p className = "text-primary-dark dark:text-primary-light text-2xl font-semibold mb-8" >
11
+ < p className = "font-general-medium text-primary-dark dark:text-primary-light text-2xl mb-8" >
12
12
Contact Form
13
13
</ p >
14
- < div className = "" >
14
+ < div className = "font-general-regular " >
15
15
< label
16
16
className = "block text-lg text-primary-dark dark:text-primary-light mb-2"
17
17
htmlFor = "name"
18
18
>
19
19
Full Name
20
20
</ label >
21
21
< input
22
- className = "w-full px-5 py-2 border dark:border-secondary -dark text-primary-dark dark:text-secondary-light bg-ternary-light dark:bg-ternary-dark rounded-md shadow-sm text-md dark:font-medium"
22
+ className = "w-full px-5 py-2 border border-gray-300 dark:border-primary -dark border-opacity-50 text-primary-dark dark:text-secondary-light bg-ternary-light dark:bg-ternary-dark rounded-md shadow-sm text-md dark:font-medium"
23
23
id = "name"
24
24
name = "name"
25
25
type = "text"
@@ -36,7 +36,7 @@ const ContactForm = () => {
36
36
Email
37
37
</ label >
38
38
< input
39
- className = "w-full px-5 py-2 border dark:border-secondary -dark text-primary-dark dark:text-secondary-light bg-ternary-light dark:bg-ternary-dark rounded-md shadow-sm text-md dark:font-medium"
39
+ className = "w-full px-5 py-2 border border-gray-300 dark:border-primary -dark border-opacity-50 text-primary-dark dark:text-secondary-light bg-ternary-light dark:bg-ternary-dark rounded-md shadow-sm text-md dark:font-medium"
40
40
id = "email"
41
41
name = "email"
42
42
type = "text"
@@ -53,7 +53,7 @@ const ContactForm = () => {
53
53
Subject
54
54
</ label >
55
55
< input
56
- className = "w-full px-5 py-2 border dark:border-secondary -dark text-primary-dark dark:text-secondary-light bg-ternary-light dark:bg-ternary-dark rounded-md shadow-sm text-md dark:font-medium"
56
+ className = "w-full px-5 py-2 border border-gray-300 dark:border-primary -dark border-opacity-50 text-primary-dark dark:text-secondary-light bg-ternary-light dark:bg-ternary-dark rounded-md shadow-sm text-md dark:font-medium"
57
57
id = "subject"
58
58
name = "subject"
59
59
type = "text"
@@ -71,7 +71,7 @@ const ContactForm = () => {
71
71
Message
72
72
</ label >
73
73
< textarea
74
- className = "w-full px-5 py-2 border dark:border-secondary -dark text-primary-dark dark:text-secondary-light bg-ternary-light dark:bg-ternary-dark rounded-md shadow-sm text-md dark:font-medium"
74
+ className = "w-full px-5 py-2 border border-gray-300 dark:border-primary -dark border-opacity-50 text-primary-dark dark:text-secondary-light bg-ternary-light dark:bg-ternary-dark rounded-md shadow-sm text-md dark:font-medium"
75
75
id = "message"
76
76
name = "message"
77
77
cols = "14"
0 commit comments