1
1
const AppHeader = ( ) => {
2
2
return (
3
3
< div >
4
- < nav id = "nav" class = "sm:container sm:mx-auto" >
4
+ < nav id = "nav" className = "sm:container sm:mx-auto" >
5
5
{ /* Header start */ }
6
- < div class = "z-10 max-w-screen-lg xl:max-w-screen-xl block sm:flex sm:justify-between sm:items-center my-6" >
6
+ < div className = "z-10 max-w-screen-lg xl:max-w-screen-xl block sm:flex sm:justify-between sm:items-center my-6" >
7
7
{ /* Header menu links and small screen hamburger menu start */ }
8
- < div class = "flex justify-between items-center px-4 sm:px-0" >
8
+ < div className = "flex justify-between items-center px-4 sm:px-0" >
9
9
< div >
10
10
< a href = "/" >
11
11
< img
12
12
src = "../images/logo-dark.svg"
13
- class = "w-36"
13
+ className = "w-36"
14
14
alt = "Dark Logo"
15
15
/>
16
16
</ a >
@@ -19,16 +19,16 @@ const AppHeader = () => {
19
19
{ /* Theme switcher small screen end */ }
20
20
21
21
{ /* Small screen hamburger menu start */ }
22
- < div class = "sm:hidden" >
22
+ < div className = "sm:hidden" >
23
23
< button
24
24
type = "button"
25
- class = "focus:outline-none"
25
+ className = "focus:outline-none"
26
26
aria-label = "Hamburger Menu"
27
27
>
28
28
< svg
29
29
xmlns = "http://www.w3.org/2000/svg"
30
30
viewBox = "0 0 24 24"
31
- class = "h-7 w-7 fill-current text-secondary-dark dark:text-ternary-light"
31
+ className = "h-7 w-7 fill-current text-secondary-dark dark:text-ternary-light"
32
32
>
33
33
< path
34
34
v-if = "isOpen"
@@ -49,31 +49,31 @@ const AppHeader = () => {
49
49
{ /* Header menu links and small screen hamburger menu end */ }
50
50
51
51
{ /* Header links start*/ }
52
- < div class = "m-0 sm:ml-4 mt-5 sm:mt-3 sm:flex p-5 sm:p-0 justify-center items-center shadow-lg sm:shadow-none" >
52
+ < div className = "m-0 sm:ml-4 mt-5 sm:mt-3 sm:flex p-5 sm:p-0 justify-center items-center shadow-lg sm:shadow-none" >
53
53
< a
54
54
href = "/projects"
55
- class = "block text-left text-lg font-medium text-primary-dark dark:text-ternary-light hover:text-secondary-dark dark:hover:text-secondary-light sm:mx-4 mb-2 sm:py-2"
55
+ className = "block text-left text-lg font-medium text-primary-dark dark:text-ternary-light hover:text-secondary-dark dark:hover:text-secondary-light sm:mx-4 mb-2 sm:py-2"
56
56
aria-label = "Projects"
57
57
>
58
58
Projects
59
59
</ a >
60
60
< a
61
61
href = "/about"
62
- class = "block text-left text-lg font-medium text-primary-dark dark:text-ternary-light hover:text-secondary-dark dark:hover:text-secondary-light sm:mx-4 mb-2 sm:py-2 border-t-2 pt-3 sm:pt-2 sm:border-t-0 border-primary-light dark:border-secondary-dark"
62
+ className = "block text-left text-lg font-medium text-primary-dark dark:text-ternary-light hover:text-secondary-dark dark:hover:text-secondary-light sm:mx-4 mb-2 sm:py-2 border-t-2 pt-3 sm:pt-2 sm:border-t-0 border-primary-light dark:border-secondary-dark"
63
63
aria-label = "About Me"
64
64
>
65
65
About Me
66
66
</ a >
67
67
< a
68
68
href = "/contact"
69
- class = "block text-left text-lg font-medium text-primary-dark dark:text-ternary-light hover:text-secondary-dark dark:hover:text-secondary-light sm:mx-4 mb-2 sm:py-2 border-t-2 pt-3 sm:pt-2 sm:border-t-0 border-primary-light dark:border-secondary-dark"
69
+ className = "block text-left text-lg font-medium text-primary-dark dark:text-ternary-light hover:text-secondary-dark dark:hover:text-secondary-light sm:mx-4 mb-2 sm:py-2 border-t-2 pt-3 sm:pt-2 sm:border-t-0 border-primary-light dark:border-secondary-dark"
70
70
aria-label = "Contact"
71
71
>
72
72
Contact
73
73
</ a >
74
- < div class = "border-t-2 pt-3 sm:pt-0 sm:border-t-0 border-primary-light dark:border-secondary-dark" >
74
+ < div className = "border-t-2 pt-3 sm:pt-0 sm:border-t-0 border-primary-light dark:border-secondary-dark" >
75
75
< button
76
- class = "sm:hidden block text-left text-md font-medium bg-indigo-500 hover:bg-indigo-600 text-white shadow-sm rounded-md px-4 py-2 mt-2"
76
+ className = "sm:hidden block text-left text-md font-medium bg-indigo-500 hover:bg-indigo-600 text-white shadow-sm rounded-md px-4 py-2 mt-2"
77
77
aria-label = "Hire Me Button"
78
78
>
79
79
Hire Me
@@ -83,11 +83,11 @@ const AppHeader = () => {
83
83
{ /* Header links end */ }
84
84
85
85
{ /* Header right section buttons start */ }
86
- < div class = "hidden sm:flex justify-between items-center flex-col md:flex-row" >
86
+ < div className = "hidden sm:flex justify-between items-center flex-col md:flex-row" >
87
87
{ /* Hire me button start */ }
88
88
< div >
89
89
< button
90
- class = "text-md font-medium bg-indigo-500 hover:bg-indigo-600 text-white shadow-sm rounded-lg px-5 py-2.5"
90
+ className = "text-md font-medium bg-indigo-500 hover:bg-indigo-600 text-white shadow-sm rounded-lg px-5 py-2.5"
91
91
aria-label = "Hire Me Button"
92
92
>
93
93
Hire Me
0 commit comments