Kaynağa Gözat

update sidebar options for event & exhibition

tags/1.0.3
Alej 2 yıl önce
ebeveyn
işleme
95a511e757
1 değiştirilmiş dosya ile 14 ekleme ve 12 silme
  1. 14
    12
      vue-theme/src/components/sidebars/sidebar.vue

+ 14
- 12
vue-theme/src/components/sidebars/sidebar.vue Dosyayı Görüntüle

@@ -25,6 +25,13 @@ aside.sidebar
25 25
                     //- event?type=talks //
26 26
                     router-link(v-if="type === 'event' " :to="`/${type}?type=talks`")
27 27
                         p talks 
28
+                //- li 
29
+                //-     //- event?type=recorded-talks-and-interviews //
30
+                //-     router-link(v-if="type === 'event' " :to="`/${type}?type=recorded-talks-and-interviews`")
31
+                //-         p Recorded Talks + Interviews 
32
+                //- li 
33
+                //-     router-link(v-if="type === 'event' " :to="`/page/recorded-talks-and-interviews`")
34
+                //-         p Recorded Talks + Interviews 
28 35
                 li 
29 36
                     //- event?type=workshops //
30 37
                     router-link(v-if="type === 'event' " :to="`/${type}?type=workshops`")
@@ -38,8 +45,8 @@ aside.sidebar
38 45
                     router-link(v-if="shouldShowDateSort.includes(type) " :to="`/${type}/sorted/by-current-and-upcoming`")
39 46
                         p by current and upcoming
40 47
                 //- li
41
-                //-     router-link(v-if="type === ('event', 'exhibition') " :to="`/${type}/sorted/by-past`")
42
-                //-         p by past 
48
+                //-     router-link(v-if="type === ('event' || 'exhibition') " :to="`/${type}/`")
49
+                //-         p by all 
43 50
 
44 51
         //- if artist has sorted by-alpha show alpha sets           
45 52
         .shadow(v-if="['artist'].includes(type) && layout !== 'single'")
@@ -158,8 +165,8 @@ export default {
158 165
                 'technique', 'guide', 'object', 'publication', 'post'
159 166
             ],
160 167
             shouldShowMaterialSort: [
161
-                'artist', 'exhibition', 'short', 'technique', 
162
-                'guide', 'object', 'publication'
168
+                'artist', 'short', 'technique', 
169
+                'guide', 'object', 'publication',
163 170
             ],
164 171
             shouldShowEpisodeSort: [
165 172
                 'artist', 'short', 'technique', 'guide'
@@ -191,24 +198,19 @@ export default {
191 198
                     break
192 199
                 case 'exhibition':
193 200
                     opts = [
194
-                        // Object.keys(this.sortTypes)[4],
195
-                        Object.keys(this.sortTypes)[1],
201
+
196 202
                         Object.keys(this.sortTypes)[5],
197 203
                     ]
198 204
                     break
199 205
                 case 'event':
200 206
                     opts = [
201
-                        // Object.keys(this.sortTypes)[4],
202
-                        // Object.keys(this.sortTypes)[1],
207
+
203 208
                         Object.keys(this.sortTypes)[5],
204 209
                     ]
205 210
                     break
206 211
                 case 'post':
207 212
                     opts = [
208 213
                         Object.keys(this.sortTypes)[4],
209
-                        // `by ${this.type} type`,
210
-                        // Object.keys(this.sortTypes)[5],
211
-                        // `by articles`
212 214
                     ]
213 215
                     break
214 216
                 case 'short':
@@ -252,7 +254,7 @@ export default {
252 254
 @import '../../sss/theme.sss'
253 255
 aside.sidebar
254 256
     /* need to solve for mobile as the sticky creates scroll issues */
255
-    position: sticky
257
+    /* position: sticky */
256 258
     top: 40px
257 259
     width: 100%
258 260
     font-size: x-small

Loading…
İptal
Kaydet