|
|
@@ -5,22 +5,25 @@
|
|
5
|
5
|
.page-content(v-html="allPages.welcome.content")
|
|
6
|
6
|
|
|
7
|
7
|
article.w-max
|
|
|
8
|
+ //- sticky section
|
|
8
|
9
|
section(v-if="allSticky && Object.keys(allSticky).length").stickies
|
|
9
|
10
|
ul.flipped(:class="[`sticky-${Object.keys(allSticky).length}`]")
|
|
10
|
11
|
//- if sticky
|
|
11
|
12
|
li.shadow(v-for="sticky in allSticky")
|
|
12
|
13
|
card(:content="sticky" :type="`${sticky.type}s`")
|
|
13
|
|
-
|
|
|
14
|
+
|
|
|
15
|
+ //- firstRow: ['episodes', 'exhibitions', 'events', 'artists', 'posts'],
|
|
14
|
16
|
section
|
|
15
|
17
|
ul
|
|
16
|
18
|
li.shadow(v-for="type in firstRow")
|
|
17
|
19
|
card(:content="firstPostOfType(type)" :type="type")
|
|
18
|
|
-
|
|
|
20
|
+
|
|
|
21
|
+ //- secondRow: 'artists', // This is only ONE post
|
|
19
|
22
|
section.max
|
|
20
|
23
|
ul.w-max
|
|
21
|
24
|
li.shadow(v-for="post in [randomPostOfType(secondRow)]")
|
|
22
|
25
|
card(v-if="post" :content="post" :type="`${post.type}s`" :wide="true")
|
|
23
|
|
-
|
|
|
26
|
+ //- firstRow.flipped: ['episodes', 'exhibitions', 'events', 'artists', 'posts'],
|
|
24
|
27
|
section
|
|
25
|
28
|
ul.flipped
|
|
26
|
29
|
li.shadow(v-for="type in thirdRow")
|
|
|
@@ -118,7 +121,8 @@ export default {
|
|
118
|
121
|
li
|
|
119
|
122
|
margin: 0
|
|
120
|
123
|
min-height: 10em
|
|
121
|
|
- background-color: purple
|
|
|
124
|
+ /* background-color: purple */
|
|
|
125
|
+ background-color: white
|
|
122
|
126
|
&:nth-of-type(1)
|
|
123
|
127
|
grid-column-start: 1
|
|
124
|
128
|
grid-row-start: 1
|