File tree Expand file tree Collapse file tree 2 files changed +307
-60
lines changed Expand file tree Collapse file tree 2 files changed +307
-60
lines changed Original file line number Diff line number Diff line change 16
16
class =" mt-1"
17
17
style =" width : 34px ;height : 34px ;cursor : pointer "
18
18
src =" /LinkedIn_icon.svg"
19
+ @click =" redirectHome"
19
20
/>
20
21
<v-text-field
21
22
prepend-inner-icon =" mdi-magnify"
32
33
<span >
33
34
<v-tabs
34
35
v-model =" tab"
36
+ hide-slider
35
37
icons-and-text
36
38
color =" black"
37
39
height =" 52"
38
40
>
39
- <v-tabs-slider />
41
+ <v-tab
42
+ class =" text-capitalize bar-text "
43
+ @click =" redirectHome"
44
+ >
45
+ <div class =" d-flex flex-column" >
46
+ <v-icon size =" 25" class =" ml-1 mt-2" >mdi-home</v-icon >
47
+ <span >Ana Sayfa</span >
48
+ </div >
49
+ </v-tab >
40
50
<v-tab
41
51
v-for =" (item,i) in tabs"
42
52
:key =" i"
43
53
class =" text-capitalize bar-text"
44
54
:disabled =" item.disableButton"
45
55
>
46
- {{ item.text }}
47
- <v-icon
48
- size =" 25"
49
- class =" mt-1"
50
- >
51
- {{ item.icon }}
52
- </v-icon >
56
+ <div class =" d-flex flex-column" >
57
+ <v-icon size =" 25" class =" ml-1 mt-2" >{{ item.icon }}</v-icon >
58
+ <span >{{ item.text }}</span >
59
+ </div >
53
60
</v-tab >
54
- <v-btn >
61
+ <v-btn
62
+ @click =" redirectProfile"
63
+ >
55
64
Ben
56
65
<v-avatar
57
66
class =" mt-2"
@@ -77,11 +86,6 @@ export default {
77
86
tab: null ,
78
87
users: {},
79
88
tabs: [
80
- {
81
- text: ' Ana Sayfa' ,
82
- icon: ' mdi-home' ,
83
- disableButton: false
84
- },
85
89
{
86
90
text: ' Ağım' ,
87
91
icon: ' mdi-account-supervisor' ,
@@ -104,6 +108,14 @@ export default {
104
108
}
105
109
]
106
110
}
111
+ },
112
+ methods: {
113
+ redirectHome () {
114
+ this .$router .push (' /' )
115
+ },
116
+ redirectProfile () {
117
+ this .$router .push (' /profile' )
118
+ }
107
119
}
108
120
}
109
121
</script >
@@ -123,4 +135,5 @@ export default {
123
135
font-weight : 400 ;
124
136
line-height : normal ;
125
137
}
138
+
126
139
</style >
You can’t perform that action at this time.
0 commit comments