Skip to content

Commit

Permalink
change layout
Browse files Browse the repository at this point in the history
  • Loading branch information
KimberleyCook committed Nov 17, 2022
1 parent d9f9654 commit 2f3da76
Showing 1 changed file with 23 additions and 20 deletions.
43 changes: 23 additions & 20 deletions app/views/members/new.html.haml
Original file line number Diff line number Diff line change
@@ -1,27 +1,30 @@
.container.py-4.py-lg-5
.row.justify-content-md-center
.col-md-10.col-lg-8
.col
%h1= @page_title

.py-4.py-lg-5.bg-light
.container
.row.justify-content-md-center
.col-md-10.col-lg-8
%p.lead
= t('members.new.intro')
= link_to t('members.code_of_conduct'), code_of_conduct_path
\.
%p.lead
= t('members.new.students.intro')
= link_to t('members.new.students.criteria_link'), 'http://codebar.io/student-guide#eligibility'
= t('members.new.students.criteria_brief')
%p.lead
= t('members.new.students.github')
= image_tag("nyc-workshop.jpg", alt: "a photo from a codebar NYC workshop", class: "mw-100 pb-4")
.d-flex.flex-column.align-items-start
= link_to registration_path(member_type: 'student'), class: 'btn-lg btn-primary mb-4 text-decoration-none' do
= t('members.sign_up_as_student')
%i.fab.fa-github
= link_to registration_path(member_type: 'coach'), class: 'btn-lg btn-primary text-decoration-none' do
= t('members.sign_up_as_coach')
%i.fab.fa-github
.col
.row
.col-12.col-lg-6
%p.lead
= t('members.new.intro')
= link_to t('members.code_of_conduct'), code_of_conduct_path
\.
%p.lead
= t('members.new.students.intro')
= link_to t('members.new.students.criteria_link'), 'http://codebar.io/student-guide#eligibility'
= t('members.new.students.criteria_brief')
%p.lead
= t('members.new.students.github')
.d-flex.flex-column.align-items-start
= link_to registration_path(member_type: 'student'), class: 'btn-lg btn-primary mb-4 text-decoration-none' do
= t('members.sign_up_as_student')
%i.fab.fa-github
= link_to registration_path(member_type: 'coach'), class: 'btn-lg btn-primary text-decoration-none' do
= t('members.sign_up_as_coach')
%i.fab.fa-github
.col-12.col-lg-6.mt-4.mt-lg-0
= image_tag("nyc-workshop.jpg", alt: "a photo of three people sat with their laptops, taken at a codebar NYC workshop", class: "mw-100 pb-4")

0 comments on commit 2f3da76

Please sign in to comment.