File tree Expand file tree Collapse file tree 3 files changed +33
-33
lines changed Expand file tree Collapse file tree 3 files changed +33
-33
lines changed Original file line number Diff line number Diff line change 5
5
:name =" select"
6
6
:id =" select"
7
7
class ="
8
- px-4
9
- sm:px-6
10
- py-2
11
- border-1 border-gray-200
12
- dark:border-secondary-dark
13
- rounded-lg
14
- text-sm
15
- sm:text-md
16
- dark:font-medium
17
- bg-secondary-light
18
- dark:bg-ternary-dark
19
- text-primary-dark
20
- dark:text-ternary-light
21
- "
8
+ px-4
9
+ sm:px-6
10
+ py-2
11
+ border-1 border-gray-200
12
+ dark:border-secondary-dark
13
+ rounded-lg
14
+ text-sm
15
+ sm:text-md
16
+ dark:font-medium
17
+ bg-secondary-light
18
+ dark:bg-ternary-dark
19
+ text-primary-dark
20
+ dark:text-ternary-light
21
+ "
22
22
>
23
23
<option value class =" text-sm sm:text-md" >All Projects</option >
24
24
<option
@@ -46,7 +46,7 @@ export default {
46
46
' Web Application' ,
47
47
' Mobile Application' ,
48
48
' UI/UX Design' ,
49
- ' Branding' ,
49
+ ' Branding & Animations ' ,
50
50
],
51
51
},
52
52
},
Original file line number Diff line number Diff line change 59
59
<input
60
60
v-model =" searchProject"
61
61
class ="
62
- pl-3
63
- pr-1
64
- sm:px-4
65
- py-2
66
- border-1 border-gray-200
67
- dark:border-secondary-dark
68
- rounded-lg
69
- text-sm
70
- sm:text-md
71
- bg-secondary-light
72
- dark:bg-ternary-dark
73
- text-primary-dark
74
- dark:text-ternary-light
75
- "
62
+ pl-3
63
+ pr-1
64
+ sm:px-4
65
+ py-2
66
+ border-1 border-gray-200
67
+ dark:border-secondary-dark
68
+ rounded-lg
69
+ text-sm
70
+ sm:text-md
71
+ bg-secondary-light
72
+ dark:bg-ternary-dark
73
+ text-primary-dark
74
+ dark:text-ternary-light
75
+ "
76
76
id =" name"
77
77
name =" name"
78
78
type =" search"
@@ -122,7 +122,7 @@ export default {
122
122
},
123
123
{
124
124
id: 2 ,
125
- title: ' Pheonix Digital Agenncy ' ,
125
+ title: ' Phoenix Digital Agency ' ,
126
126
category: ' Mobile Application' ,
127
127
img: require (' @/assets/images/mobile-project-2.jpg' ),
128
128
},
@@ -167,10 +167,10 @@ export default {
167
167
methods: {
168
168
filterProjectsByCategory () {
169
169
return this .projects .filter ((item ) => {
170
- let category =
170
+ let filterProject =
171
171
item .category .charAt (0 ).toUpperCase () +
172
172
item .category .slice (1 );
173
- return category .includes (this .selectedProject );
173
+ return filterProject .includes (this .selectedProject );
174
174
});
175
175
},
176
176
filterProjectsBySearch () {
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ export default {
26
26
const newTheme = this .theme === ' light' ? ' dark' : ' light' ;
27
27
localStorage .setItem (' theme' , newTheme);
28
28
this .$emit (' themeChanged' , newTheme);
29
- // this.$router.go();
29
+ this .$router .go ();
30
30
},
31
31
},
32
32
};
You can’t perform that action at this time.
0 commit comments