Просмотр исходного кода

sidebar sort by links for exhibition and events

tags/0.9.0
Alej 4 лет назад
Родитель
Сommit
8ea3056084
1 измененных файлов: 11 добавлений и 3 удалений
  1. 11
    3
      vue-theme/src/components/sidebars/sidebar.vue

+ 11
- 3
vue-theme/src/components/sidebars/sidebar.vue Просмотреть файл

@@ -23,8 +23,11 @@ aside.sidebar
23 23
                         p {{ option }}
24 24
                 //- temporary reminder
25 25
                 p 
26
-                    router-link(:to="`/exhibition`")
26
+                    router-link(:to="`/exhibition/sorted/by-date`")
27 27
                         p by all
28
+                p 
29
+                    router-link(:to="`/exhibition/sorted/by-current-and-upcoming`")
30
+                        p by current and upcoming
28 31
 
29 32
         //- if not single layout Events sorting
30 33
         .shadow(v-if="type === 'event' && layout === 'list'")
@@ -35,8 +38,12 @@ aside.sidebar
35 38
                         p {{ option }}
36 39
                 //- temporary reminder
37 40
                 p 
38
-                    router-link(:to="`/event`")
41
+                    router-link(:to="`/event/sorted/by-date`")
39 42
                         p by all
43
+                p 
44
+                    router-link(:to="`/event/sorted/by-current-and-upcoming`")
45
+                        p by current and upcoming
46
+            
40 47
 
41 48
         //- p2p types and related posts
42 49
         .shadow(v-if="layout === 'single' && Object.keys(related).length" v-for="p2pPostType in Object.keys(related)")
@@ -138,7 +145,8 @@ export default {
138 145
 @import '../../sss/variables.sss'
139 146
 @import '../../sss/theme.sss'
140 147
 aside.sidebar
141
-    position: sticky
148
+    /* need to solve for mobile as the sticky creates scroll issues */
149
+    /* position: sticky */
142 150
     top: 40px
143 151
     width: 100%
144 152
     p, h3

Загрузка…
Отмена
Сохранить