|
|
@@ -2,33 +2,37 @@
|
|
2
|
2
|
<template lang="pug">
|
|
3
|
3
|
.page--index.f-row.between
|
|
4
|
4
|
article.f-grow
|
|
5
|
|
- section(v-if="allEpisodesLoaded").shadow
|
|
6
|
|
- router-link(:to="`./episodes`")
|
|
7
|
|
- h4 Episodes
|
|
8
|
|
- router-link(:to="`./episodes/${Object.values(allEpisodes)[0].slug}`")
|
|
9
|
|
- p {{ Object.values(allEpisodes)[0].title }}
|
|
10
|
|
- section(v-if="allArtistsLoaded").shadow
|
|
11
|
|
- router-link(:to="`./artists`")
|
|
12
|
|
- h4 artists
|
|
13
|
|
- router-link(:to="`./artists/${Object.values(allArtists)[0].slug}`")
|
|
14
|
|
- p {{ Object.values(allArtists)[0].title }}
|
|
15
|
|
- section(v-if="allPagesLoaded").shadow
|
|
16
|
|
- h4 pages
|
|
17
|
|
- router-link(:to="`./pages/${Object.values(allPages)[0].slug}`")
|
|
18
|
|
- p {{ Object.values(allPages)[0].title }}
|
|
19
|
|
- section(v-if="allPostsLoaded").shadow
|
|
20
|
|
- router-link(:to="`./posts`")
|
|
21
|
|
- h4 posts
|
|
22
|
|
- router-link(:to="`./posts/${Object.values(allPosts)[0].slug}`")
|
|
23
|
|
- p {{ Object.values(allPosts)[0].title }}
|
|
24
|
|
- section
|
|
25
|
|
- //- COMPONENT: Looping component
|
|
26
|
|
- .post(v-for="post in allPosts")
|
|
27
|
|
- h4.post--title {{ post.slug }}
|
|
28
|
|
- ul.post--content
|
|
29
|
|
- li.post--content--block(v-for="block in post.blocks" v-html="block")
|
|
30
|
|
- footer.f-row
|
|
31
|
|
- p icon
|
|
|
5
|
+ .f-row
|
|
|
6
|
+ section(v-if="allEpisodesLoaded").shadow
|
|
|
7
|
+ router-link(:to="`./episodes`")
|
|
|
8
|
+ h4 Episodes
|
|
|
9
|
+ router-link(:to="`./episodes/${Object.values(allEpisodes)[0].slug}`")
|
|
|
10
|
+ p {{ Object.values(allEpisodes)[0].title }}
|
|
|
11
|
+ section(v-if="allArtistsLoaded").shadow
|
|
|
12
|
+ router-link(:to="`./artists`")
|
|
|
13
|
+ h4 artists
|
|
|
14
|
+ router-link(:to="`./artists/${Object.values(allArtists)[0].slug}`")
|
|
|
15
|
+ p {{ Object.values(allArtists)[0].title }}
|
|
|
16
|
+ section(v-if="allPagesLoaded").shadow
|
|
|
17
|
+ h4 pages
|
|
|
18
|
+ router-link(:to="`./pages/${Object.values(allPages)[0].slug}`")
|
|
|
19
|
+ p {{ Object.values(allPages)[0].title }}
|
|
|
20
|
+ .f-row
|
|
|
21
|
+ section(v-if="allPostsLoaded").shadow
|
|
|
22
|
+ router-link(:to="`./posts`")
|
|
|
23
|
+ h4 posts
|
|
|
24
|
+ router-link(:to="`./posts/${Object.values(allPosts)[0].slug}`")
|
|
|
25
|
+ p {{ Object.values(allPosts)[0].title }}
|
|
|
26
|
+ .f-row
|
|
|
27
|
+ section
|
|
|
28
|
+ //- COMPONENT: Looping component
|
|
|
29
|
+ .post(v-for="post in allPosts")
|
|
|
30
|
+ h4.post--title {{ post.slug }}
|
|
|
31
|
+ ul.post--content
|
|
|
32
|
+ li.post--content--block(v-for="block in post.blocks" v-html="block")
|
|
|
33
|
+ .f-row
|
|
|
34
|
+ footer.f-row
|
|
|
35
|
+ p icon
|
|
32
|
36
|
</template>
|
|
33
|
37
|
|
|
34
|
38
|
<script>
|
|
|
@@ -75,14 +79,17 @@ export default {
|
|
75
|
79
|
|
|
76
|
80
|
.page--index
|
|
77
|
81
|
article
|
|
|
82
|
+ .f-row
|
|
|
83
|
+ &:nth-of-type(2)
|
|
|
84
|
+ margin: $ms 0
|
|
78
|
85
|
section
|
|
79
|
|
- float: left
|
|
80
|
|
- width: 25%
|
|
|
86
|
+ flex-grow: 1
|
|
81
|
87
|
&:nth-of-type(1)
|
|
82
|
|
- width: 49.7%
|
|
|
88
|
+ flex-grow: 3
|
|
83
|
89
|
&:nth-of-type(2), &:nth-of-type(3)
|
|
|
90
|
+ flex-grow: 1
|
|
84
|
91
|
margin: 0 0 0 $ms
|
|
85
|
|
- width: 24%
|
|
86
|
92
|
&:nth-of-type(4), &:nth-of-type(5)
|
|
87
|
|
- width: 100%
|
|
|
93
|
+ flex-grow: 4
|
|
|
94
|
+
|
|
88
|
95
|
</style>
|