|
1 | | -.container.py-4.py-lg-5 |
2 | | - .row |
3 | | - .col |
4 | | - %h1.display-2.text-center How to support us |
| 1 | +.py-4.py-lg-5.bg-primary |
| 2 | + .container |
| 3 | + .row.align-items-center |
| 4 | + .col-12.col-md-6 |
| 5 | + %h1.display-2.text-white.lh-1.mb-4 |
| 6 | + How to support |
| 7 | + %br |
| 8 | + our mission |
| 9 | + %ul.list-inline |
| 10 | + %li.list-inline-item |
| 11 | + = link_to t('pages.how_to_support_us.volunteer.title'), '#volunteer-with-us', class: 'btn btn-light' |
| 12 | + %li.list-inline-item |
| 13 | + = link_to t('donation_platforms.title'), '#donate', class: 'btn btn-light' |
| 14 | + .col-12.col-md-6 |
| 15 | + = image_tag 'how-to-support-us/codebar-festival-2023.jpg', alt: '', class: 'mw-100 rounded' |
5 | 16 |
|
6 | | -.py-4.py-lg-5 |
| 17 | +.py-4.py-lg-5#volunteer-with-us |
7 | 18 | .container |
8 | 19 | .row.mb-3 |
9 | 20 | .col |
10 | | - %h2.h1.text-center Volunteer with us |
| 21 | + %h2.h1.text-center= t('pages.how_to_support_us.volunteer.title') |
11 | 22 | .row.justify-content-center |
12 | 23 | .col-12.col-lg-9 |
13 | 24 | .card.mb-3 |
|
16 | 27 | = image_tag 'how-to-support-us/become-an-organiser.jpg', class: 'rounded-start mw-100' |
17 | 28 | .col-md-7 |
18 | 29 | .card-body |
19 | | - %h3.card-title= t('pages.how_to_support_us.become_an_organiser.title') |
| 30 | + %h3.card-title= t('pages.how_to_support_us.volunteer.become_an_organiser.title') |
20 | 31 | %p.card-text |
21 | | - = t('pages.how_to_support_us.become_an_organiser.description') |
22 | | - = mail_to 'hello@codebar.io', t('pages.how_to_support_us.become_an_organiser.link'), subjetc: "I'd like to become a codebar organiser for [city] chapter", class: 'btn btn-primary btn-sm text-decoration-none' |
| 32 | + = t('pages.how_to_support_us.volunteer.become_an_organiser.description') |
| 33 | + = mail_to 'hello@codebar.io', t('pages.how_to_support_us.volunteer.become_an_organiser.link'), subjetc: "I'd like to become a codebar organiser for [city] chapter", class: 'btn btn-primary btn-sm text-decoration-none' |
23 | 34 | .col-12.col-lg-9 |
24 | 35 | .card.mb-3 |
25 | 36 | .row.g-0 |
26 | 37 | .col-md-5 |
27 | 38 | = image_tag 'how-to-support-us/become-a-coach.jpg', class: 'rounded-start mw-100' |
28 | 39 | .col-md-7 |
29 | 40 | .card-body |
30 | | - %h3.card-title= t('pages.how_to_support_us.become_a_coach.title') |
| 41 | + %h3.card-title= t('pages.how_to_support_us.volunteer.become_a_coach.title') |
31 | 42 | %p.card-text |
32 | | - = t('pages.how_to_support_us.become_a_coach.description') |
| 43 | + = t('pages.how_to_support_us.volunteer.become_a_coach.description') |
33 | 44 | = link_to registration_path(member_type: 'coach'), class: 'btn btn-primary btn-sm text-decoration-none' do |
34 | 45 | = t('members.sign_up_as_coach') |
35 | 46 | %i.fab.fa-github |
|
40 | 51 | = image_tag 'how-to-support-us/volunteer.jpg', class: 'rounded-start mw-100' |
41 | 52 | .col-md-7 |
42 | 53 | .card-body |
43 | | - %h3.card-title= t('pages.how_to_support_us.volunteer.title') |
| 54 | + %h3.card-title= t('pages.how_to_support_us.volunteer.volunteer.title') |
44 | 55 | %p.card-text |
45 | | - = t('pages.how_to_support_us.volunteer.description') |
46 | | - = mail_to 'hello@codebar.io', t('pages.how_to_support_us.volunteer.link'), subjetc: "I'd like to volunteer with codebar", class: 'btn btn-primary btn-sm text-decoration-none' |
| 56 | + = t('pages.how_to_support_us.volunteer.volunteer.description') |
| 57 | + = mail_to 'hello@codebar.io', t('pages.how_to_support_us.volunteer.volunteer.link'), subjetc: "I'd like to volunteer with codebar", class: 'btn btn-primary btn-sm text-decoration-none' |
47 | 58 |
|
48 | | -.py-4.py-lg-5.bg-light |
| 59 | +.py-4.py-lg-5.bg-light#donate |
49 | 60 | .container |
50 | 61 | = render partial: 'shared/donation_platforms' |
0 commit comments