From 2f3da765b74d602ec341cb16082015c9560bed27 Mon Sep 17 00:00:00 2001 From: Kimberley Cook Date: Thu, 17 Nov 2022 18:33:39 +0000 Subject: [PATCH] change layout --- app/views/members/new.html.haml | 43 ++++++++++++++++++--------------- 1 file changed, 23 insertions(+), 20 deletions(-) diff --git a/app/views/members/new.html.haml b/app/views/members/new.html.haml index f3b38146b..2640ab717 100644 --- a/app/views/members/new.html.haml +++ b/app/views/members/new.html.haml @@ -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")