|
1 | 1 | <template>
|
2 | 2 | <md-content md-tag="section" md-theme="default" class="home-ecosystem">
|
3 |
| - <h2 class="home-ecosystem-title md-display-1">{{ $t('pages.home.ecosystem') }}</h2> |
4 |
| - |
5 |
| - <div class="home-repo-list md-layout-column"> |
6 |
| - <div |
7 |
| - class="home-repo md-layout-row md-layout-column-xsmall" |
8 |
| - v-for="(item, index) in 2" |
9 |
| - :key="index" |
10 |
| - :class="{ reverse: (index + 1) % 2 === 0 }"> |
11 |
| - <div class="home-repo-content md-layout-column md-flex-55 md-flex-xsmall-100 md-align-start-start"> |
12 |
| - <h3 class="home-repo-title md-headline">Official Boilerplate</h3> |
13 |
| - <p>Lorem ipsum, dolor sit amet consectetur adipisicing elit. Magnam qui enim harum excepturi nemo itaque quidem dolore unde asperiores, recusandae reiciendis perferendis laboriosam cum obcaecati quos assumenda libero labore! Expedita.</p> |
14 |
| - <md-button class="md-primary md-raised md-button-spaced">{{ $t('pages.home.viewProject') }}</md-button> |
| 3 | + <h2 class="home-title md-headline"> |
| 4 | + <md-icon>settings</md-icon> |
| 5 | + {{ $t('pages.home.ecosystem') }} |
| 6 | + </h2> |
| 7 | + <div class="page-wrapper"> |
| 8 | + <div class="md-layout md-gutter"> |
| 9 | + <div class="md-layout-item"> |
| 10 | + <md-content class="md-elevation-2 full-height"> |
| 11 | + <div class="content"> |
| 12 | + <div class="md-title">Advanced Webpack SPA</div> |
| 13 | + <p>A full-featured Webpack + Vue Material setup with hot-reload, lint-on-save, unit testing & css extraction.</p> |
| 14 | + </div> |
| 15 | + <div class="image"> |
| 16 | + <img src="/assets/boilerplates/webpack-advanced.png" alt="webpack"> |
| 17 | + </div> |
| 18 | + </md-content> |
| 19 | + </div> |
| 20 | + <div class="md-layout-item"> |
| 21 | + <md-content class="md-elevation-2 full-height"> |
| 22 | + <div class="content"> |
| 23 | + <div class="md-title">NuxtJs Universal</div> |
| 24 | + <p>Nuxt.js is a framework for creating Universal Vue.js Applications. All the configuration needed to make your development of a Vue.js Application Server Rendered more enjoyable.</p> |
| 25 | + </div> |
| 26 | + <div class="image"> |
| 27 | + <img src="/assets/boilerplates/nuxt.png" alt="nuxtjs"> |
| 28 | + </div> |
| 29 | + </md-content> |
| 30 | + </div> |
| 31 | + <div class="md-layout-item md-size-35"> |
| 32 | + <md-content class="md-elevation-2 flying"> |
| 33 | + <div class="content"> |
| 34 | + <div class="md-title">Single HTML file</div> |
| 35 | + <p>The simplest possible Vue Material setup in a single HTML file. But without SCSS or ES7.</p> |
| 36 | + </div> |
| 37 | + <img src="/assets/boilerplates/html.png" alt=""> |
| 38 | + </md-content> |
| 39 | + <md-content class="md-elevation-2 flying"> |
| 40 | + <div class="content"> |
| 41 | + <div class="md-title">Codepen for prototyping</div> |
| 42 | + <p>For fast prototyping, examples or issues reports is best to use codepen.</p> |
| 43 | + </div> |
| 44 | + <img src="/assets/boilerplates/codepen.svg" alt=""> |
| 45 | + </md-content> |
15 | 46 | </div>
|
16 |
| - |
17 |
| - <img src="https://placeimg.com/656/300/tech/grayscale" class="md-flex-45"> |
18 | 47 | </div>
|
19 | 48 | </div>
|
20 | 49 | </md-content>
|
|
32 | 61 |
|
33 | 62 | .home-ecosystem {
|
34 | 63 | width: calc(100% + 32px);
|
35 |
| - padding: 56px 16px; |
36 |
| - margin: 0 -16px -16px; |
37 |
| - } |
38 |
| -
|
39 |
| - .home-repo, |
40 |
| - .home-ecosystem-title { |
41 |
| - max-width: 1312px; |
42 |
| - margin: 0 auto; |
43 |
| - } |
44 |
| -
|
45 |
| - .home-ecosystem-title { |
46 |
| - margin-bottom: 24px; |
47 |
| - color: rgba(#000, .87); |
48 |
| - } |
49 |
| -
|
50 |
| - .home-repo { |
51 |
| - margin-top: 48px; |
52 |
| -
|
53 |
| - @include md-layout-xsmall { |
54 |
| - flex-direction: column-reverse; |
55 |
| - } |
56 |
| -
|
57 |
| - &.reverse { |
58 |
| - flex-direction: row-reverse; |
59 |
| -
|
60 |
| - @include md-layout-xsmall { |
61 |
| - flex-direction: column-reverse; |
| 64 | + padding-bottom: 28px; |
| 65 | + margin: 0 -16px; |
| 66 | + background: #f5f5f5; |
| 67 | + .md-content { |
| 68 | + padding: 16px; |
| 69 | + display: flex; |
| 70 | + margin-bottom: 16px; |
| 71 | + flex-direction: column; |
| 72 | + position: relative; |
| 73 | + overflow: hidden; |
| 74 | + &.full-height { |
| 75 | + height: 100%; |
62 | 76 | }
|
63 |
| -
|
64 |
| - .home-repo-content { |
65 |
| - padding-right: 0; |
66 |
| - padding-left: 48px; |
67 |
| -
|
68 |
| - @include md-layout-xsmall { |
69 |
| - padding: 0; |
| 77 | + .content { |
| 78 | + z-index: 1; |
| 79 | + flex-grow: 1; |
| 80 | + } |
| 81 | + .image { |
| 82 | + padding: 16px; |
| 83 | + margin: 16px -16px -16px -16px; |
| 84 | + max-height: 200px; |
| 85 | + overflow: hidden; |
| 86 | + background: #f8f8f8; |
| 87 | + text-align: center; |
| 88 | + img { |
| 89 | + max-height: 180px; |
| 90 | + } |
| 91 | + } |
| 92 | + &.flying { |
| 93 | + img { |
| 94 | + position: absolute; |
| 95 | + bottom: -30px; |
| 96 | + right: -30px; |
| 97 | + max-height: 160px; |
| 98 | + z-index: 0; |
70 | 99 | }
|
71 | 100 | }
|
72 | 101 | }
|
73 | 102 | }
|
74 |
| -
|
75 |
| - .home-repo-content { |
76 |
| - padding-right: 48px; |
77 |
| -
|
78 |
| - @include md-layout-xsmall { |
79 |
| - padding: 0; |
80 |
| - } |
81 |
| - } |
82 |
| -
|
83 |
| - .home-repo-title { |
84 |
| - margin-top: 16px; |
85 |
| - } |
86 |
| -
|
87 |
| - .md-button { |
88 |
| - margin: 24px 0 0; |
89 |
| - } |
90 | 103 | </style>
|
0 commit comments