|
1 | | -<!-- eslint-disable no-trailing-spaces --> |
2 | 1 | <template> |
3 | | - <div> |
4 | | - <h2 class="title is-2 vocab-h2">Confused? Need Help?</h2> |
5 | | - <p class="help__instructions desktop-hide mobile-show">{{ $t('help.instructions.mobile') }}</p> |
6 | | - <p class="help__instructions mobile-hide desktop-show">{{ $t('help.instructions.desktop') }}</p> |
7 | | - |
8 | | - <div class="columns" id="modal-buttons"> |
9 | | - <div class="column top-bottom-paddingless"> |
10 | | - <button id="cc_license_btn" class="button is-light is-large is-fullwidth help-button" |
11 | | - @click="clickHandler(1)"> |
12 | | - <p> |
13 | | - {{ $t('help.what_are_cc_licenses.heading') }} |
14 | | - </p> |
15 | | - </button> |
16 | | - <button id="license_work_btn" class="button is-light is-large is-fullwidth help-button" |
17 | | - @click="clickHandler(2)"> |
18 | | - <p> |
19 | | - {{ $t('help.how_licenses_work.heading') }} |
20 | | - </p> |
21 | | - </button> |
22 | | - <button id="icons_meaning_btn" class="button is-light is-large is-fullwidth help-button" |
23 | | - @click="clickHandler(3)"> |
24 | | - <p> |
25 | | - {{ $t('help.what_icons_mean.heading') }} |
26 | | - </p> |
27 | | - </button> |
28 | | - <button id="license_communication_btn" class="button is-light is-large is-fullwidth help-button" |
29 | | - @click="clickHandler(7)"> |
30 | | - <p> |
31 | | - {{ $t('help.how_licenses_communicated.heading') }} |
32 | | - </p> |
33 | | - </button> |
34 | | - </div> |
35 | | - <div class="column top-bottom-paddingless"> |
36 | | - <button id="consideration_btn" class="button is-light is-large is-fullwidth help-button" |
37 | | - @click="clickHandler(4)"> |
38 | | - <p> |
39 | | - {{ $t('help.considerations_before_licensing.heading') }} |
40 | | - </p> |
41 | | - </button> |
42 | | - <button id="formal_license_btn" class="button is-light is-large is-fullwidth help-button" |
43 | | - @click="clickHandler(5)"> |
44 | | - <p> |
45 | | - {{ $t('help.how_formally_license.heading') }} |
46 | | - </p> |
47 | | - </button> |
48 | | - <button id="license_description_btn" class="button is-light is-large is-fullwidth help-button" |
49 | | - @click="clickHandler(6)"> |
50 | | - <p> |
51 | | - {{ $t('help.six_cc_licenses.heading') }} |
52 | | - </p> |
53 | | - </button> |
54 | | - </div> |
55 | | - </div> |
| 2 | + <div class="column top-bottom-paddingless"> |
| 3 | + <h3 class="vocab-h3">{{$t('help.heading')}}</h3> |
| 4 | + <ul class="help-links"> |
| 5 | + <li class="help-link" |
| 6 | + v-for="(modal, idx) in this.modals" |
| 7 | + :key="idx"> |
| 8 | + <b-icon |
| 9 | + icon-pack="fas" |
| 10 | + icon="angle-right" /> |
| 11 | + <a class="vocab-body-big vocab-tomato" |
| 12 | + @click="clickHandler(idx)">{{$t(`help.${modal.title}.heading`)}}</a> |
| 13 | + </li> |
| 14 | + </ul> |
56 | 15 |
|
57 | 16 | <b-modal :active.sync="modals[1].status"> |
58 | 17 | <header class="modal-card-head"> |
@@ -289,7 +248,17 @@ export default { |
289 | 248 | } |
290 | 249 | </script> |
291 | 250 | <style scoped> |
292 | | -
|
| 251 | + .help-links { |
| 252 | + list-style-position: inside; |
| 253 | + } |
| 254 | + .help-link { |
| 255 | + padding-bottom: 8px; |
| 256 | + } |
| 257 | + .help-link .icon { |
| 258 | + vertical-align: text-bottom; |
| 259 | + margin-left: -3px; |
| 260 | + margin-right: 8px; |
| 261 | + } |
293 | 262 | table svg { |
294 | 263 | width: 28px !important; |
295 | 264 | height: 28px !important; |
@@ -348,11 +317,6 @@ export default { |
348 | 317 | .help-h5 { |
349 | 318 | font-weight: bold; |
350 | 319 | } |
351 | | - .vocab-h2 { |
352 | | - font-size: 50px; |
353 | | - text-align: center; |
354 | | - margin-bottom: 1%; |
355 | | - } |
356 | 320 | .edu-icons-section { |
357 | 321 | margin-top: 1.5%; |
358 | 322 | } |
|
0 commit comments