File tree 2 files changed +15
-14
lines changed
2 files changed +15
-14
lines changed Original file line number Diff line number Diff line change 1
1
import { motion } from 'framer-motion' ;
2
2
import { FiX } from 'react-icons/fi' ;
3
+ import Button from './reusable/Button' ;
3
4
4
5
const selectOptions = [
5
6
'Web Application' ,
@@ -96,8 +97,8 @@ const HireMeModal = ({ onClose, onRequest }) => {
96
97
</ div >
97
98
98
99
< div className = "mt-6 pb-4 sm:pb-1" >
99
- < button
100
- onClick = { onRequest }
100
+ < span
101
+ onClick = { onClose }
101
102
type = "submit"
102
103
className = "px-4
103
104
sm:px-6
@@ -112,16 +113,16 @@ const HireMeModal = ({ onClose, onRequest }) => {
112
113
focus:ring-1 focus:ring-indigo-900"
113
114
aria-label = "Submit Request"
114
115
>
115
- Send Request
116
- </ button >
116
+ < Button title = " Send Request" />
117
+ </ span >
117
118
</ div >
118
119
</ form >
119
120
</ div >
120
121
< div className = "modal-footer mt-2 sm:mt-0 py-5 px-8 border0-t text-right" >
121
- < button
122
+ < span
122
123
onClick = { onClose }
123
124
type = "button"
124
- className = " px-4
125
+ className = "px-4
125
126
sm:px-6
126
127
py-2
127
128
bg-indigo-400
@@ -133,8 +134,8 @@ const HireMeModal = ({ onClose, onRequest }) => {
133
134
focus:ring-1 focus:ring-indigo-900"
134
135
aria-label = "Close Modal"
135
136
>
136
- Close
137
- </ button >
137
+ < Button title = " Close" />
138
+ </ span >
138
139
</ div >
139
140
</ div >
140
141
</ div >
Original file line number Diff line number Diff line change
1
+ import Button from '../reusable/Button' ;
2
+
1
3
const ContactForm = ( ) => {
2
4
return (
3
5
< div className = "w-full lg:w-1/2" >
@@ -80,14 +82,12 @@ const ContactForm = () => {
80
82
> </ textarea >
81
83
</ div >
82
84
83
- < div className = "mt-6" >
84
- < button
85
- className = "px-4 py-2.5 text-white font-medium tracking-wider bg-indigo-500 hover:bg-indigo-600 focus:ring-1 focus:ring-indigo-900 rounded-md "
85
+ < div className = "font-general-medium w-40 px-4 py-2.5 text-white text-center font-medium tracking-wider bg-indigo-500 hover:bg-indigo-600 focus:ring-1 focus:ring-indigo-900 rounded-lg mt-6" >
86
+ < Button
87
+ title = "Send Message "
86
88
type = "submit"
87
89
aria-label = "Send Message"
88
- >
89
- Send Message
90
- </ button >
90
+ />
91
91
</ div >
92
92
</ form >
93
93
</ div >
You can’t perform that action at this time.
0 commit comments