@@ -6,6 +6,7 @@ import HireMeModal from '../HireMeModal';
6
6
import logoLight from '../../images/logo-light.svg' ;
7
7
import logoDark from '../../images/logo-dark.svg' ;
8
8
import { motion } from 'framer-motion' ;
9
+ import Button from '../reusable/Button' ;
9
10
10
11
const AppHeader = ( ) => {
11
12
const [ showMenu , setShowMenu ] = useState ( false ) ;
@@ -128,12 +129,13 @@ const AppHeader = () => {
128
129
Contact
129
130
</ Link >
130
131
< div className = "border-t-2 pt-3 sm:pt-0 sm:border-t-0 border-primary-light dark:border-secondary-dark" >
131
- < button
132
+ < span
132
133
onClick = { showHireMeModal }
133
- className = "font-general-medium sm:hidden block text-left text-md bg-indigo-500 hover:bg-indigo-600 text-white shadow-sm rounded-sm px-4 py-2 mt-2 duration-300"
134
+ className = "font-general-medium sm:hidden block text-left text-md bg-indigo-500 hover:bg-indigo-600 text-white shadow-sm rounded-sm px-4 py-2 mt-2 duration-300 w-24"
135
+ aria-label = "Hire Me Button"
134
136
>
135
- Hire Me
136
- </ button >
137
+ < Button title = " Hire Me" />
138
+ </ span >
137
139
</ div >
138
140
</ div >
139
141
@@ -164,15 +166,14 @@ const AppHeader = () => {
164
166
165
167
{ /* Header right section buttons */ }
166
168
< div className = "hidden sm:flex justify-between items-center flex-col md:flex-row" >
167
- { /* Hire me button */ }
168
169
< div className = "hidden md:flex" >
169
- < button
170
+ < span
170
171
onClick = { showHireMeModal }
171
172
className = "text-md font-general-medium bg-indigo-500 hover:bg-indigo-600 text-white shadow-sm rounded-md px-5 py-2.5 duration-300"
172
173
aria-label = "Hire Me Button"
173
174
>
174
- Hire Me
175
- </ button >
175
+ < Button title = " Hire Me" />
176
+ </ span >
176
177
</ div >
177
178
178
179
{ /* Theme switcher large screen */ }
0 commit comments