Przeglądaj źródła

index - added technique to thirdRow

tags/0.9.0
Alej 4 lat temu
rodzic
commit
1d4854b8b0
1 zmienionych plików z 5 dodań i 5 usunięć
  1. 5
    5
      vue-theme/src/pages/index.vue

+ 5
- 5
vue-theme/src/pages/index.vue Wyświetl plik

12
                 li.post.shadow(v-for="sticky in allSticky")
12
                 li.post.shadow(v-for="sticky in allSticky")
13
                     card(:content="sticky" :type="`${sticky.type}`")
13
                     card(:content="sticky" :type="`${sticky.type}`")
14
         
14
         
15
-        //- firstRow: ['episodes', 'exhibitions', 'events', 'shorts', 'posts'], exceprt on episodes only.
15
+        //- firstRow: ['episode', 'exhibition', 'event', 'short', 'post'], exceprt on episode only.
16
         section
16
         section
17
             ul
17
             ul
18
                 li.post.shadow(v-for="type in firstRow")
18
                 li.post.shadow(v-for="type in firstRow")
19
                     card(:content="firstPostOfType(type)" :type="type")
19
                     card(:content="firstPostOfType(type)" :type="type")
20
         
20
         
21
-        //- secondRow: 'artists', // This is only ONE post, excerpt on artist
21
+        //- secondRow: 'artist', // This is only ONE post, excerpt on artist
22
         section.max
22
         section.max
23
             ul.w-max
23
             ul.w-max
24
                 li.post.shadow(v-for="post in randomPosts.filter(p => p.type == secondRow)")
24
                 li.post.shadow(v-for="post in randomPosts.filter(p => p.type == secondRow)")
25
                     card(v-if="post" :content="post" :type="`${post.type}`" :wide="true")
25
                     card(v-if="post" :content="post" :type="`${post.type}`" :wide="true")
26
         
26
         
27
-        //- (thirdRow) firstRow.flipped: ['guides', 'objects', 'techniques', 'talks', 'center'], exceprt on guides only
27
+        //- (thirdRow) firstRow.flipped: ['object', 'technique', 'publication', 'center', 'guide'], exceprt on guide only
28
         section
28
         section
29
             ul.flipped
29
             ul.flipped
30
                 li.post.shadow(v-for="type in thirdRow")
30
                 li.post.shadow(v-for="type in thirdRow")
45
         return {
45
         return {
46
             firstRow: ['episode', 'exhibition', 'event', 'short', 'post'],
46
             firstRow: ['episode', 'exhibition', 'event', 'short', 'post'],
47
             secondRow: 'artist', // This is only ONE post
47
             secondRow: 'artist', // This is only ONE post
48
-            thirdRow: ['object', 'short', 'publication', 'post', 'guide'],
48
+            thirdRow: ['object', 'technique', 'publication', 'center', 'guide'],
49
         }
49
         }
50
     },
50
     },
51
     async created() {
51
     async created() {
83
             await this.$store.dispatch('getAllPages', { sortType: null, params: null })
83
             await this.$store.dispatch('getAllPages', { sortType: null, params: null })
84
         }
84
         }
85
         await this.checkAndSetHero('welcome')
85
         await this.checkAndSetHero('welcome')
86
-        await this.$store.dispatch('getRandomPosts', ['artist', 'guide', 'object', 'short', 'publication', 'post'])
86
+        await this.$store.dispatch('getRandomPosts', ['artist', 'guide', 'object', 'technique', 'publication', 'post'])
87
     },
87
     },
88
     methods: {
88
     methods: {
89
         firstPostOfType(type) {
89
         firstPostOfType(type) {

Ładowanie…
Anuluj
Zapisz