File tree 3 files changed +38
-40
lines changed
3 files changed +38
-40
lines changed Original file line number Diff line number Diff line change
1
+ <script >
2
+ import feather from ' feather-icons' ;
3
+ import Button from ' ./reusable/Button.vue' ;
4
+ export default {
5
+ props: [' showModal' , ' modal' , ' categories' ],
6
+ components: { Button },
7
+ data () {
8
+ return {};
9
+ },
10
+ mounted () {
11
+ feather .replace ();
12
+ },
13
+ updated () {
14
+ feather .replace ();
15
+ },
16
+ methods: {},
17
+ };
18
+ </script >
19
+
1
20
<template >
2
- <!-- Hire me modal -->
3
21
<transition name =" fade" >
4
22
<div v-show =" modal" class =" font-general-regular fixed inset-0 z-30" >
5
23
<!-- Modal body background as backdrop -->
129
147
</transition >
130
148
</template >
131
149
132
- <script >
133
- import feather from ' feather-icons' ;
134
- import Button from ' ./reusable/Button.vue' ;
135
- export default {
136
- props: [' showModal' , ' modal' , ' categories' ],
137
- components: { Button },
138
- data () {
139
- return {};
140
- },
141
- mounted () {
142
- feather .replace ();
143
- },
144
- updated () {
145
- feather .replace ();
146
- },
147
- methods: {},
148
- };
149
- </script >
150
-
151
150
<style scoped>
152
151
.modal-body {
153
152
max-height : 500px ;
Original file line number Diff line number Diff line change 1
- <template >
2
- <!-- Theme switcher icons -->
3
- <a href =" #" @click.prevent =" toggleTheme" aria-label =" Theme Switcher" >
4
- <i
5
- v-if =" theme === 'light'"
6
- data-feather =" moon"
7
- class =" text-liText-ternary-dark hover:text-gray-400 dark:text-liText-ternary-light dark:hover:text-liBorder-primary-light w-5"
8
- ></i >
9
- <i
10
- v-else
11
- data-feather =" sun"
12
- class =" text-gray-200 hover:text-gray-50 w-5"
13
- ></i >
14
- </a >
15
- </template >
16
-
17
1
<script >
18
2
export default {
19
3
props: {
@@ -32,3 +16,18 @@ export default {
32
16
},
33
17
};
34
18
</script >
19
+
20
+ <template >
21
+ <a href =" #" @click.prevent =" toggleTheme" aria-label =" Theme Switcher" >
22
+ <i
23
+ v-if =" theme === 'light'"
24
+ data-feather =" moon"
25
+ class =" text-liText-ternary-dark hover:text-gray-400 dark:text-liText-ternary-light dark:hover:text-liBorder-primary-light w-5"
26
+ ></i >
27
+ <i
28
+ v-else
29
+ data-feather =" sun"
30
+ class =" text-gray-200 hover:text-gray-50 w-5"
31
+ ></i >
32
+ </a >
33
+ </template >
Original file line number Diff line number Diff line change 1
- <template >
2
- <button >{{ title }}</button >
3
- </template >
4
-
5
1
<script >
6
2
export default {
7
3
props: [' title' ],
@@ -13,4 +9,8 @@ export default {
13
9
};
14
10
</script >
15
11
12
+ <template >
13
+ <button >{{ title }}</button >
14
+ </template >
15
+
16
16
<style lang="scss" scoped></style >
You can’t perform that action at this time.
0 commit comments