Selaa lähdekoodia

add "/page" link to display for menu item "about"

tags/1.0.3
Alej 3 vuotta sitten
vanhempi
commit
1998b199b2
1 muutettua tiedostoa jossa 6 lisäystä ja 7 poistoa
  1. 6
    7
      vue-theme/src/components/navigation/navigation.vue

+ 6
- 7
vue-theme/src/components/navigation/navigation.vue Näytä tiedosto

@@ -129,7 +129,9 @@ nav.main.w-max
129 129
 
130 130
         ul.drop-down.w-max
131 131
             li(v-for="item in menuItems")
132
-                router-link(@click="uncheck" :to="`/${item}`")
132
+                router-link(@click="uncheck" v-if="item == 'about'" :to="`/page/${item}`")
133
+                    h5.t-up {{ item }}
134
+                router-link(@click="uncheck" v-else= "" :to="`/${item}`")
133 135
                     h5.t-up {{ item }}
134 136
 </template>
135 137
 
@@ -157,7 +159,6 @@ export default {
157 159
             searchTerms.value = ''
158 160
             toggleSearch()
159 161
         }
160
-        
161 162
 
162 163
         /**
163 164
          * Navigation items
@@ -169,10 +170,8 @@ export default {
169 170
         const menuItems = computed(() => {
170 171
             const extras = [
171 172
                 'blog',
172
-                // 'education',
173
-                // 'resources',
174
-                // 'support',
175
-                'page/about',
173
+                // 'artist-resources',
174
+                'about',
176 175
                 '🔍'
177 176
             ]
178 177
             const ignore = [
@@ -279,7 +278,7 @@ nav.main
279 278
                     transition: $transition
280 279
 
281 280
                 > li 
282
-                    line-height: 1.5
281
+                    line-height: 1.4
283 282
                     width: max-content
284 283
                     background-color: $lighter
285 284
                     //- list hover

Loading…
Peruuta
Tallenna