Преглед на файлове

styling - header padding adjust, commenting

tags/0.9.0
Alej преди 4 години
родител
ревизия
a53decbdb5
променени са 1 файла, в които са добавени 8 реда и са изтрити 6 реда
  1. 8
    6
      vue-theme/src/pages/index.vue

+ 8
- 6
vue-theme/src/pages/index.vue Целия файл

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

Loading…
Отказ
Запис