|
|
@@ -12,18 +12,18 @@
|
|
12
|
12
|
li.shadow(v-for="sticky in allSticky")
|
|
13
|
13
|
card(:content="sticky" :type="`${sticky.type}s`")
|
|
14
|
14
|
|
|
15
|
|
- //- firstRow: ['episodes', 'exhibitions', 'events', 'artists', 'posts'],
|
|
|
15
|
+ //- firstRow: ['episodes', 'exhibitions', 'events', 'shorts', 'posts'], exceprt on episodes only.
|
|
16
|
16
|
section
|
|
17
|
17
|
ul
|
|
18
|
18
|
li.shadow(v-for="type in firstRow")
|
|
19
|
19
|
card(:content="firstPostOfType(type)" :type="type")
|
|
20
|
20
|
|
|
21
|
|
- //- secondRow: 'artists', // This is only ONE post
|
|
|
21
|
+ //- secondRow: 'artists', // This is only ONE post, excerpt on artist
|
|
22
|
22
|
section.max
|
|
23
|
23
|
ul.w-max
|
|
24
|
24
|
li.shadow(v-for="post in [randomPostOfType(secondRow)]")
|
|
25
|
25
|
card(v-if="post" :content="post" :type="`${post.type}s`" :wide="true")
|
|
26
|
|
- //- firstRow.flipped: ['episodes', 'exhibitions', 'events', 'artists', 'posts'],
|
|
|
26
|
+ //- (thirdRow) firstRow.flipped: ['guides', 'objects', 'techniques', 'talks', 'center'], exceprt on guides only
|
|
27
|
27
|
section
|
|
28
|
28
|
ul.flipped
|
|
29
|
29
|
li.shadow(v-for="type in thirdRow")
|
|
|
@@ -42,9 +42,11 @@ export default {
|
|
42
|
42
|
components: { card },
|
|
43
|
43
|
data() {
|
|
44
|
44
|
return {
|
|
|
45
|
+ // firstRow: ['episodes', 'exhibitions', 'events', 'shorts', 'posts'],
|
|
45
|
46
|
firstRow: ['episodes', 'exhibitions', 'events', 'artists', 'posts'],
|
|
46
|
47
|
secondRow: 'artists', // This is only ONE post
|
|
47
|
|
- thirdRow: ['episodes', 'exhibitions', 'events', 'artists', 'artists']
|
|
|
48
|
+ // thirdRow: ['guides', 'objects', 'techniques', 'talks', 'center']
|
|
|
49
|
+ thirdRow: ['episodes', 'exhibitions', 'events', 'artists', 'posts']
|
|
48
|
50
|
}
|
|
49
|
51
|
},
|
|
50
|
52
|
created() {
|
|
|
@@ -87,8 +89,7 @@ export default {
|
|
87
|
89
|
@import '../sss/theme.sss'
|
|
88
|
90
|
.page--index
|
|
89
|
91
|
> header
|
|
90
|
|
- /* padding: $ms-0 $ms-2 $ms-1 $ms-2 */
|
|
91
|
|
- padding: $ms-0 $ms-2
|
|
|
92
|
+ padding: $ms-0
|
|
92
|
93
|
> article
|
|
93
|
94
|
display: flex
|
|
94
|
95
|
justify-content: space-around
|
|
|
@@ -106,6 +107,7 @@ export default {
|
|
106
|
107
|
auto
|
|
107
|
108
|
grid-template-rows:
|
|
108
|
109
|
auto
|
|
|
110
|
+/* min-width 768px */
|
|
109
|
111
|
@media (min-width: $medium)
|
|
110
|
112
|
.page--index > article > section
|
|
111
|
113
|
&.stickies
|