-
-
Notifications
You must be signed in to change notification settings - Fork 192
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
123 additions
and
138 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,22 @@ | ||
.stripe.reverse | ||
.row | ||
- coaches.each do |coach| | ||
.col-sm-6.col-md-3.coach | ||
.row | ||
.col | ||
.text-center.mb-4 | ||
=link_to twitter_url_for(coach.twitter), class: 'border-0' do | ||
=image_tag(coach.avatar(50), class: 'rounded-circle', title: coach.full_name, alt: coach.full_name) | ||
.py-4.py-lg-5.bg-light | ||
.container | ||
.row | ||
- coaches.each do |coach| | ||
.col-sm-6.col-md-3.coach.mb-4 | ||
.text-center.mb-4 | ||
= link_to twitter_url_for(coach.twitter), class: 'border-0' do | ||
= image_tag(coach.avatar(50), class: 'rounded-circle', title: coach.full_name, alt: coach.full_name) | ||
|
||
=link_to twitter_url_for(coach.twitter) do | ||
= coach.full_name | ||
%p.small.mt-3.mb-3= coach.about_you | ||
- if coach.skills.any? | ||
%p | ||
skills: | ||
- coach.skills.each do |skill| | ||
= skill.name | ||
.row | ||
.col-6.float-left | ||
= page_entries_info(@coaches, model: 'coaches') | ||
.col-6.float-right | ||
= will_paginate(@coaches) | ||
= link_to twitter_url_for(coach.twitter) do | ||
= coach.full_name | ||
%p.small.mt-3= coach.about_you | ||
- if coach.skills.any? | ||
%p.small | ||
Skills: | ||
- coach.skills.each do |skill| | ||
= skill.name | ||
.row | ||
.col-6.float-left | ||
= page_entries_info(@coaches, model: 'coaches') | ||
.col-6.float-right | ||
= will_paginate(@coaches) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,19 @@ | ||
.stripe.reverse | ||
.container.py-4.py-lg-5 | ||
.row | ||
.col | ||
%h2 Coaches | ||
.col-md-10.col-lg-8 | ||
%h1 Coaches | ||
%p.lead | ||
Here you can find a list of the #{ @coaches_count } volunteers who have coached at codebar. | ||
%p.lead | ||
%p.lead.mb-4 | ||
If you’d like to start coaching at a workshop near you, read our #{ link_to "teaching guide", teaching_guide_path } and then #{ link_to "sign up", new_member_path } as a coach. It’s easier than you think! | ||
|
||
.row | ||
.col | ||
.col-12 | ||
.float-right | ||
%ul.inline-list | ||
%ul.list-inline | ||
- Time.zone.now.year.downto(2013).each do |year| | ||
%li | ||
%li.list-inline-item | ||
- if page_year?(year) | ||
.btn.btn-sm.btn-outline-success= year | ||
- else | ||
= link_to year, coaches_path(year: year), class: 'btn btn-sm btn-success' | ||
= render partial: '/coach/coach', locals: { coaches: @coaches } | ||
|
||
= render partial: '/coach/coach', locals: { coaches: @coaches } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,42 @@ | ||
%footer.main-footer | ||
.row.pt-5 | ||
.col-sm-12.col-lg-3 | ||
%p.mb-1 | ||
© #{Date.today.year} codebar | ||
%p | ||
= t("footer.email_us") | ||
-# encoded email address | ||
<a href="mailto:hello@codebar.io?Subject=Hello codebar">hello@codebar.io</a>. | ||
.container | ||
.row.pt-5 | ||
.col-sm-12.col-lg-3 | ||
%p.mb-1 | ||
© #{Date.today.year} codebar | ||
%p | ||
= t("footer.email_us") | ||
-# encoded email address | ||
<a href="mailto:hello@codebar.io?Subject=Hello codebar">hello@codebar.io</a>. | ||
|
||
.col-sm-12.col-md-6.col-lg-3 | ||
%ul.list-unstyled.ml-0 | ||
%li= link_to t("navigation.code_of_conduct"), code_of_conduct_path | ||
%li= link_to t("navigation.breach_code_of_conduct"), breach_code_of_conduct_path | ||
%li= link_to t("navigation.coach_guide"), teaching_guide_path | ||
%li= link_to t("navigation.student_guide"), student_guide_path | ||
%li= link_to t("navigation.tutorials"), "http://tutorials.codebar.io" | ||
%li= link_to t("navigation.becoming_sponsor"), "http://manual.codebar.io/becoming-a-sponsor" | ||
%li= link_to t("navigation.faq"), faq_path | ||
.col-sm-12.col-md-6.col-lg-3 | ||
%ul.list-unstyled.ml-0 | ||
%li= link_to t("navigation.code_of_conduct"), code_of_conduct_path | ||
%li= link_to t("navigation.breach_code_of_conduct"), breach_code_of_conduct_path | ||
%li= link_to t("navigation.coach_guide"), teaching_guide_path | ||
%li= link_to t("navigation.student_guide"), student_guide_path | ||
%li= link_to t("navigation.tutorials"), "http://tutorials.codebar.io" | ||
%li= link_to t("navigation.becoming_sponsor"), "http://manual.codebar.io/becoming-a-sponsor" | ||
%li= link_to t("navigation.faq"), faq_path | ||
|
||
.col-sm-12.col-md-6.col-lg-3 | ||
%ul.list-unstyled.ml-0 | ||
%li= link_to t("navigation.stats"), "http://stats.codebar.io/" | ||
%li= link_to t("navigation.blog"), "https://medium.com/the-codelog" | ||
%li= link_to t("navigation.codebar_stories"), "https://medium.com/codebar-stories" | ||
%li= link_to t("navigation.coaches"), coaches_path | ||
%li= link_to t("navigation.sponsors"), sponsors_path | ||
%li= link_to t("navigation.events"), events_path | ||
%li= link_to t("navigation.jobs"), jobs_path | ||
%li.active= link_to t("navigation.donate"), new_donation_path | ||
.col-sm-12.col-md-6.col-lg-3 | ||
%ul.list-unstyled.ml-0 | ||
%li= link_to t("navigation.stats"), "http://stats.codebar.io/" | ||
%li= link_to t("navigation.blog"), "https://medium.com/the-codelog" | ||
%li= link_to t("navigation.codebar_stories"), "https://medium.com/codebar-stories" | ||
%li= link_to t("navigation.coaches"), coaches_path | ||
%li= link_to t("navigation.sponsors"), sponsors_path | ||
%li= link_to t("navigation.events"), events_path | ||
%li= link_to t("navigation.jobs"), jobs_path | ||
%li.active= link_to t("navigation.donate"), new_donation_path | ||
|
||
.col-sm-12.col-md-6.col-lg-3 | ||
= render partial: 'shared/social_media' | ||
.col-sm-12.col-md-6.col-lg-3 | ||
= render partial: 'shared/social_media' | ||
|
||
.row.pb-4 | ||
.col | ||
%ul.list-inline.registration.m-0.p-0 | ||
%li.list-inline-item | ||
Registered UK and Wales charity no. 1187776 | ||
%li.list-inline-item= link_to t("navigation.cookie-policy"), cookie_policy_path | ||
%li.list-inline-item= link_to t("navigation.privacy-policy"), privacy_policy_path | ||
.row.pb-4 | ||
.col | ||
%ul.list-inline.registration.m-0.p-0 | ||
%li.list-inline-item | ||
Registered UK and Wales charity no. 1187776 | ||
%li.list-inline-item= link_to t("navigation.cookie-policy"), cookie_policy_path | ||
%li.list-inline-item= link_to t("navigation.privacy-policy"), privacy_policy_path |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
.row.d-flex.align-items-center.justify-content-center | ||
- sponsors.each do |sponsor| | ||
.col-4.col-md-3.col-lg-2.mt-4.d-flex.justify-content-center | ||
= link_to image_tag(sponsor.avatar, alt: sponsor.name, class: 'small-image'), sponsor.website, title: sponsor.name, class: 'border-0 mw-100' | ||
= link_to image_tag(sponsor.avatar, alt: sponsor.name, class: 'small-image mw-100'), sponsor.website, title: sponsor.name, class: 'border-0 mw-100' |
Oops, something went wrong.