|
58 | 58 | </v-container> |
59 | 59 | </section> |
60 | 60 |
|
61 | | - <section id="features" class="grey lighten-3 py-12"> |
| 61 | + <section id="features" class="py-12" :style="{background: config.vuetify.theme.themes[theme].surface}"> |
62 | 62 | <v-container class="text-center"> |
63 | 63 | <h2 class="display-2 font-weight-bold mb-3 pb-8">{{ featuresTitle }}</h2> |
64 | 64 | <v-row> |
65 | 65 | <v-col v-for="({ icon, title, text }, i) in features" :key="i" cols="12" md="4"> |
66 | | - <v-card class="py-12 px-4" color="grey lighten-5" :flat="config.vuetify.theme.flat"> |
| 66 | + <v-card class="py-12 px-4" :flat="config.vuetify.theme.flat"> |
67 | 67 | <v-theme-provider dark> |
68 | 68 | <div> |
69 | 69 | <v-avatar color="primary" size="88"> |
|
82 | 82 | <section id="stats" class="black"> |
83 | 83 | <v-parallax |
84 | 84 | :height="$vuetify.breakpoint.smAndDown ? 700 : 500" |
85 | | - src="https://images.unsplash.com/photo-1510915228340-29c85a43dcfe?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1950&q=80" |
| 85 | + :src="stats.background" |
86 | 86 | > |
87 | 87 | <v-container fill-height> |
88 | 88 | <v-row class="mx-auto"> |
89 | | - <v-col v-for="[value, title] of stats" :key="title" cols="12" md="3"> |
| 89 | + <v-col v-for="[value, title] of stats.data" :key="title" cols="12" md="3"> |
90 | 90 | <div class="text-center"> |
91 | 91 | <div class="display-3 font-weight-black mb-4" v-text="value"></div> |
92 | 92 | <div class="title font-weight-regular text-uppercase" v-text="title"></div> |
|
97 | 97 | </v-parallax> |
98 | 98 | </section> |
99 | 99 |
|
100 | | - <section id="blog" class="py-12"> |
| 100 | + <section id="blog" class="py-12" :style="{background: config.vuetify.theme.themes[theme].surface}"> |
101 | 101 | <v-container> |
102 | 102 | <h2 |
103 | 103 | class="display-2 font-weight-bold mb-3 text-uppercase text-center py-8" |
|
114 | 114 | </v-container> |
115 | 115 | </section> |
116 | 116 |
|
117 | | - <v-sheet |
118 | | - id="contact" |
119 | | - dark |
120 | | - tag="section" |
121 | | - class="py-12" |
122 | | - tile |
123 | | - > |
| 117 | + <section id="contact" class="py-12"> |
124 | 118 | <v-container> |
125 | 119 | <h2 |
126 | 120 | class="display-2 font-weight-bold mb-3 text-uppercase text-center py-8" |
|
145 | 139 | </v-row> |
146 | 140 | </v-theme-provider> |
147 | 141 | </v-container> |
148 | | - </v-sheet> |
| 142 | + </section> |
149 | 143 | </div> |
150 | 144 | </template> |
151 | 145 |
|
@@ -218,12 +212,15 @@ export default { |
218 | 212 | }, |
219 | 213 | ], |
220 | 214 | contactTitle: 'Contact Us', |
221 | | - stats: [ |
222 | | - ['24k', 'Github Stars'], |
223 | | - ['330+', 'Releases'], |
224 | | - ['1m', 'Downloads/mo'], |
225 | | - ['5m', 'Total Downloads'], |
226 | | - ], |
| 215 | + stats: { |
| 216 | + background: 'https://images.unsplash.com/photo-1510915228340-29c85a43dcfe?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1950&q=80', |
| 217 | + data: [ |
| 218 | + ['24k', 'Github Stars'], |
| 219 | + ['330+', 'Releases'], |
| 220 | + ['1m', 'Downloads/mo'], |
| 221 | + ['5m', 'Total Downloads'], |
| 222 | + ], |
| 223 | + }, |
227 | 224 | }; |
228 | 225 | }, |
229 | 226 | computed: { |
|
0 commit comments