Explorar el Código

update sidebar options for event & exhibition

tags/1.0.3
Alej hace 2 años
padre
commit
95a511e757
Se han modificado 1 ficheros con 14 adiciones y 12 borrados
  1. 14
    12
      vue-theme/src/components/sidebars/sidebar.vue

+ 14
- 12
vue-theme/src/components/sidebars/sidebar.vue Ver fichero

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

Loading…
Cancelar
Guardar