|
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('pages.how_to_support_us.fundraise.title'), '#fundraise', class: 'btn btn-light' |
| 14 | + %li.list-inline-item |
| 15 | + = link_to t('donation_platforms.title'), '#donate', class: 'btn btn-light' |
| 16 | + .col-12.col-md-6 |
| 17 | + = image_tag 'how-to-support-us/codebar-festival-2023.jpg', alt: '', class: 'mw-100 rounded' |
5 | 18 |
|
6 | | -.py-4.py-lg-5 |
| 19 | +.py-4.py-lg-5#volunteer-with-us |
7 | 20 | .container |
8 | 21 | .row.mb-3 |
9 | 22 | .col |
10 | | - %h2.h1.text-center Volunteer with us |
| 23 | + %h2.h1.text-center= t('pages.how_to_support_us.volunteer.title') |
11 | 24 | .row.justify-content-center |
12 | 25 | .col-12.col-lg-9 |
13 | 26 | .card.mb-3 |
|
16 | 29 | = image_tag 'how-to-support-us/become-an-organiser.jpg', class: 'rounded-start mw-100' |
17 | 30 | .col-md-7 |
18 | 31 | .card-body |
19 | | - %h3.card-title= t('pages.how_to_support_us.become_an_organiser.title') |
| 32 | + %h3.card-title= t('pages.how_to_support_us.volunteer.become_an_organiser.title') |
20 | 33 | %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' |
| 34 | + = t('pages.how_to_support_us.volunteer.become_an_organiser.description') |
| 35 | + = 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 | 36 | .col-12.col-lg-9 |
24 | 37 | .card.mb-3 |
25 | 38 | .row.g-0 |
26 | 39 | .col-md-5 |
27 | 40 | = image_tag 'how-to-support-us/become-a-coach.jpg', class: 'rounded-start mw-100' |
28 | 41 | .col-md-7 |
29 | 42 | .card-body |
30 | | - %h3.card-title= t('pages.how_to_support_us.become_a_coach.title') |
| 43 | + %h3.card-title= t('pages.how_to_support_us.volunteer.become_a_coach.title') |
31 | 44 | %p.card-text |
32 | | - = t('pages.how_to_support_us.become_a_coach.description') |
| 45 | + = t('pages.how_to_support_us.volunteer.become_a_coach.description') |
33 | 46 | = link_to registration_path(member_type: 'coach'), class: 'btn btn-primary btn-sm text-decoration-none' do |
34 | 47 | = t('members.sign_up_as_coach') |
35 | 48 | %i.fab.fa-github |
|
40 | 53 | = image_tag 'how-to-support-us/volunteer.jpg', class: 'rounded-start mw-100' |
41 | 54 | .col-md-7 |
42 | 55 | .card-body |
43 | | - %h3.card-title= t('pages.how_to_support_us.volunteer.title') |
| 56 | + %h3.card-title= t('pages.how_to_support_us.volunteer.volunteer.title') |
44 | 57 | %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' |
| 58 | + = t('pages.how_to_support_us.volunteer.volunteer.description') |
| 59 | + = 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' |
| 60 | + |
| 61 | +.py-4.py-lg-5.bg-light#fundraise |
| 62 | + .container |
| 63 | + .row.d-flex.align-items-center.mb-5 |
| 64 | + .col-12.col-md-6 |
| 65 | + %h2.h1= t('pages.how_to_support_us.fundraise.title') |
| 66 | + %p= t('pages.how_to_support_us.fundraise.description_html') |
| 67 | + .col-12.col-md-6 |
| 68 | + = image_tag 'how-to-support-us/hackney-half.jpeg', alt: t('pages.how_to_support_us.fundraise.image_alt'), class: 'mw-100 rounded' |
| 69 | + .row |
| 70 | + .col-12.col-lg-4 |
| 71 | + .ratio.shadow{style: '--bs-aspect-ratio: 150%;'} |
| 72 | + %iframe{title: 'Great South Run', src: '//runforcharity.com/codebar/great-south-run/493220'} |
| 73 | + .col-12.col-lg-4 |
| 74 | + .ratio.shadow{style: '--bs-aspect-ratio: 150%;'} |
| 75 | + %iframe{title: 'Run Alton Towers Half', src: '//runforcharity.com/codebar/run-alton-towers-half/register'} |
| 76 | + .col-12.col-lg-4 |
| 77 | + .ratio.shadow{style: '--bs-aspect-ratio: 150%;'} |
| 78 | + %iframe{title: 'Hackney Half', src: '//runforcharity.com/codebar/hackney-half/register'} |
47 | 79 |
|
48 | | -.py-4.py-lg-5.bg-light |
| 80 | +.py-4.py-lg-5#donate |
49 | 81 | .container |
50 | 82 | = render partial: 'shared/donation_platforms' |
0 commit comments