|
1 | 1 | <template>
|
2 |
| - <div> |
3 |
| - <nav-mobile /> |
4 |
| - <banner /> |
5 |
| - <navbar class="nav-desktop" /> |
6 |
| - <news-banner |
7 |
| - v-if="$te('newsBanner')" |
8 |
| - class="mb-small mt-small" /> |
9 |
| - <div |
10 |
| - v-else |
11 |
| - class="mb-large" /> |
12 |
| - <div class="container mb-xlarge"> |
13 |
| - <!-- introduction --> |
14 |
| - <page-section-twitter |
15 |
| - id="introduction" |
16 |
| - :title="$t('introduction.title')" |
17 |
| - :body="$t('introduction.body')"> |
18 |
| - <div class="mt-small mb-small"> |
19 |
| - <company-carousel /> |
20 |
| - </div> |
21 |
| - </page-section-twitter> |
22 |
| - <!-- getting started --> |
23 |
| - <page-section |
24 |
| - id="getting-started" |
25 |
| - :title="$t('gettingStarted.title')" |
26 |
| - :body="$t('gettingStarted.body')"> |
27 |
| - <tab-box |
28 |
| - class="col-sm-12 col-md-9 col-md-offset-3" |
29 |
| - :tabs="$tm('gettingStarted.tabs')"> |
30 |
| - <!-- list of learning resouces on 3rd tab --> |
31 |
| - <template v-slot:tab-3> |
32 |
| - <div v-for="item in $tm('resourcesList.learning')" :key="item.name" class="mt-small mb-small"> |
33 |
| - <a :href="item.href"> |
34 |
| - {{ item.name }} |
35 |
| - </a> |
36 |
| - <div class="type-small" v-html="item.description" /> |
37 |
| - </div> |
38 |
| - </template> |
39 |
| - </tab-box> |
40 |
| - </page-section> |
41 |
| - <!-- community --> |
42 |
| - <page-section |
43 |
| - id="community" |
44 |
| - :title="$t('community.title')" |
45 |
| - :body="$t('community.body')"> |
46 |
| - <div class="col-sm-12 col-md-9 col-md-offset-3 row"> |
47 |
| - <community-items /> |
48 |
| - <button class="theme mt-medium" :class="$store.state.isMobile ? 'ml-xsmall' : ''"> |
49 |
| - <router-link :to="{ name: 'CoC' }" class="type-no-underline"> |
50 |
| - Code of Conduct |
51 |
| - </router-link> |
52 |
| - </button> |
53 |
| - </div> |
54 |
| - </page-section> |
55 |
| - <!-- resources --> |
56 |
| - <page-section |
57 |
| - id="resources" |
58 |
| - :title="$t('resources.title')" |
59 |
| - :body="$t('resources.body')"> |
60 |
| - <resource-box class="col-sm-12 col-md-9 col-md-offset-3" /> |
61 |
| - </page-section> |
62 |
| - </div> |
63 |
| - <page-footer /> |
| 2 | + <nav-mobile /> |
| 3 | + <banner /> |
| 4 | + <navbar class="nav-desktop" /> |
| 5 | + <news-banner |
| 6 | + v-if="$te('newsBanner')" |
| 7 | + class="mb-small mt-small" /> |
| 8 | + <div |
| 9 | + v-else |
| 10 | + class="mb-large" /> |
| 11 | + <div class="container mb-xlarge"> |
| 12 | + <!-- introduction --> |
| 13 | + <page-section-twitter |
| 14 | + id="introduction" |
| 15 | + :title="$t('introduction.title')" |
| 16 | + :body="$t('introduction.body')"> |
| 17 | + <div class="mt-small mb-small"> |
| 18 | + <company-carousel /> |
| 19 | + </div> |
| 20 | + </page-section-twitter> |
| 21 | + <!-- getting started --> |
| 22 | + <page-section |
| 23 | + id="getting-started" |
| 24 | + :title="$t('gettingStarted.title')" |
| 25 | + :body="$t('gettingStarted.body')"> |
| 26 | + <tab-box |
| 27 | + class="col-sm-12 col-md-9 col-md-offset-3" |
| 28 | + :tabs="$tm('gettingStarted.tabs')"> |
| 29 | + <!-- list of learning resouces on 3rd tab --> |
| 30 | + <template v-slot:tab-3> |
| 31 | + <div v-for="item in $tm('resourcesList.learning')" :key="item.name" class="mt-small mb-small"> |
| 32 | + <a :href="item.href"> |
| 33 | + {{ item.name }} |
| 34 | + </a> |
| 35 | + <div class="type-small" v-html="item.description" /> |
| 36 | + </div> |
| 37 | + </template> |
| 38 | + </tab-box> |
| 39 | + </page-section> |
| 40 | + <!-- community --> |
| 41 | + <page-section |
| 42 | + id="community" |
| 43 | + :title="$t('community.title')" |
| 44 | + :body="$t('community.body')"> |
| 45 | + <div class="col-sm-12 col-md-9 col-md-offset-3 row"> |
| 46 | + <community-items /> |
| 47 | + <button class="theme mt-medium" :class="$store.state.isMobile ? 'ml-xsmall' : ''"> |
| 48 | + <router-link :to="{ name: 'CoC' }" class="type-no-underline"> |
| 49 | + Code of Conduct |
| 50 | + </router-link> |
| 51 | + </button> |
| 52 | + </div> |
| 53 | + </page-section> |
| 54 | + <!-- resources --> |
| 55 | + <page-section |
| 56 | + id="resources" |
| 57 | + :title="$t('resources.title')" |
| 58 | + :body="$t('resources.body')"> |
| 59 | + <resource-box class="col-sm-12 col-md-9 col-md-offset-3" /> |
| 60 | + </page-section> |
64 | 61 | </div>
|
| 62 | + <page-footer /> |
65 | 63 | </template>
|
66 | 64 |
|
67 | 65 | <script>
|
|
0 commit comments