File tree Expand file tree Collapse file tree 2 files changed +47
-34
lines changed Expand file tree Collapse file tree 2 files changed +47
-34
lines changed Original file line number Diff line number Diff line change 65
65
<!-- Header menu links and small screen hamburger menu end -->
66
66
67
67
<!-- Header links start -->
68
- <div
69
- :class =" isOpen ? 'block' : 'hidden'"
70
- 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"
71
- >
72
- <router-link
73
- to =" /projects"
74
- 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"
75
- aria-label =" Projects"
76
- >Projects</router-link
77
- >
78
- <router-link
79
- to =" /about"
80
- 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"
81
- aria-label =" About Me"
82
- >About Me</router-link
83
- >
84
- <router-link
85
- to =" /contact"
86
- 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"
87
- aria-label =" Contact"
88
- >Contact</router-link
89
- >
90
- <div
91
- class =" border-t-2 pt-3 sm:pt-0 sm:border-t-0 border-primary-light dark:border-secondary-dark"
92
- >
93
- <button
94
- class =" sm:hidden block text-left text-md font-medium bg-indigo-500 hover:bg-indigo-600 text-white shadow-sm rounded-sm px-4 py-2 mt-2"
95
- @click =" showModal()"
96
- aria-label =" Hire Me Button"
97
- >
98
- Hire Me
99
- </button >
100
- </div >
101
- </div >
68
+ <AppHeaderLinks :showModal =" showModal" :isOpen =" isOpen" />
102
69
<!-- Header links end -->
103
70
104
71
<!-- Header right section buttons start -->
144
111
import ThemeSwitcher from ' ./ThemeSwitcher' ;
145
112
import HireMeModal from ' ./HireMeModal.vue' ;
146
113
import feather from ' feather-icons' ;
114
+ import AppHeaderLinks from ' ./AppHeaderLinks.vue' ;
147
115
148
116
export default {
149
117
components: {
150
118
ThemeSwitcher,
151
119
HireMeModal,
120
+ AppHeaderLinks,
152
121
},
153
122
data () {
154
123
return {
Original file line number Diff line number Diff line change
1
+ <template >
2
+ <div
3
+ :class =" isOpen ? 'block' : 'hidden'"
4
+ 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"
5
+ >
6
+ <router-link
7
+ to =" /projects"
8
+ 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"
9
+ aria-label =" Projects"
10
+ >Projects</router-link
11
+ >
12
+ <router-link
13
+ to =" /about"
14
+ 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"
15
+ aria-label =" About Me"
16
+ >About Me</router-link
17
+ >
18
+ <router-link
19
+ to =" /contact"
20
+ 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"
21
+ aria-label =" Contact"
22
+ >Contact</router-link
23
+ >
24
+ <div
25
+ class =" border-t-2 pt-3 sm:pt-0 sm:border-t-0 border-primary-light dark:border-secondary-dark"
26
+ >
27
+ <button
28
+ class =" sm:hidden block text-left text-md font-medium bg-indigo-500 hover:bg-indigo-600 text-white shadow-sm rounded-sm px-4 py-2 mt-2"
29
+ @click =" showModal()"
30
+ aria-label =" Hire Me Button"
31
+ >
32
+ Hire Me
33
+ </button >
34
+ </div >
35
+ </div >
36
+ </template >
37
+
38
+ <script >
39
+ export default {
40
+ props: [' showModal' , ' isOpen' ],
41
+ };
42
+ </script >
43
+
44
+ <style lang="scss" scoped></style >
You can’t perform that action at this time.
0 commit comments