Skip to content

Commit

Permalink
Merge pull request #1764 from codebar/update-grid-container-on-static…
Browse files Browse the repository at this point in the history
…-pages

Replace .container-fluid class with .container on static pages
  • Loading branch information
matyikriszta committed Jun 7, 2022
2 parents 151d7ce + 8b362cb commit 7924337
Show file tree
Hide file tree
Showing 8 changed files with 379 additions and 372 deletions.
53 changes: 27 additions & 26 deletions app/views/dashboard/attendance_policy.html.haml
Original file line number Diff line number Diff line change
@@ -1,31 +1,32 @@
.container-fluid.stripe.reverse
.container.py-4.py-lg-5
.row.justify-content-md-center
.col-md-10.col-lg-8
%h1 Attendance Policy

.container-fluid.stripe.reverse
.row.justify-content-md-center
.col-md-10.col-lg-8
%p
= t('dashboard.policy.intro')
%ul
%li= t('dashboard.policy.rule1')
%li= t('dashboard.policy.rule2')
%li= t('dashboard.policy.rule3')
%li= t('dashboard.policy.rule4')
%li= t('dashboard.policy.rule5')
.py-4.py-lg-5.bg-light
.container
.row.justify-content-md-center
.col-md-10.col-lg-8
%p
= t('dashboard.policy.intro')
%ul
%li= t('dashboard.policy.rule1')
%li= t('dashboard.policy.rule2')
%li= t('dashboard.policy.rule3')
%li= t('dashboard.policy.rule4')
%li= t('dashboard.policy.rule5')

%h3
= t('dashboard.policy.what_happens')
%p
= t('dashboard.policy.strikes_system')
%p
= t('dashboard.policy.removing')
%p
= t('dashboard.policy.rsvping')
%h3
= t('dashboard.policy.eligibility_note')
%p
= t('dashboard.policy.abuse')
%p
= t('dashboard.policy.reminder')
%h3
= t('dashboard.policy.what_happens')
%p
= t('dashboard.policy.strikes_system')
%p
= t('dashboard.policy.removing')
%p
= t('dashboard.policy.rsvping')
%h3
= t('dashboard.policy.eligibility_note')
%p
= t('dashboard.policy.abuse')
%p
= t('dashboard.policy.reminder')
51 changes: 26 additions & 25 deletions app/views/dashboard/code.html.haml
Original file line number Diff line number Diff line change
@@ -1,38 +1,39 @@
.container-fluid.stripe.reverse#code-of-conduct
.container.py-4.py-lg-5#code-of-conduct
.row.justify-content-md-center
.col-md-10.col-lg-8
%h1= t('code_of_conduct.title')

.container-fluid.stripe.reverse
.row.justify-content-md-center
.col-md-10.col-lg-8
%h3
= t('code_of_conduct.summary.title')
.py-4.py-lg-5.bg-light
.container
.row.justify-content-md-center
.col-md-10.col-lg-8
%h3
= t('code_of_conduct.summary.title')

%p.lead
= t('code_of_conduct.summary.intro')
%p.lead
= t('code_of_conduct.summary.intro')

%h3
= t('code_of_conduct.content.title')
%h3
= t('code_of_conduct.content.title')

%p
= t('code_of_conduct.content.harassment')
%p
= t('code_of_conduct.content.harassment')

%p
= t('code_of_conduct.content.comply')
%p
= t('code_of_conduct.content.comply')

%p
= t('code_of_conduct.content.sponsors')
%p
= t('code_of_conduct.content.sponsors')

%p
= t('code_of_conduct.content.sanctions')
%p
= t('code_of_conduct.content.sanctions')

%p
= t('code_of_conduct.content.concerns')
%p
= t('code_of_conduct.content.concerns')

%p
= raw t('code_of_conduct.content.applies_to')
%p
= raw t('code_of_conduct.content.applies_to')

%p
= t('code_of_conduct.content.questions')
= mail_to 'hello@codebar.io', t('code_of_conduct.content.contact'), subject: t('code_of_conduct.content.email_subject')
%p
= t('code_of_conduct.content.questions')
= mail_to 'hello@codebar.io', t('code_of_conduct.content.contact'), subject: t('code_of_conduct.content.email_subject')
67 changes: 34 additions & 33 deletions app/views/dashboard/effective-teacher-guide.html.haml
Original file line number Diff line number Diff line change
@@ -1,39 +1,40 @@
.container-fluid.stripe.reverse
.container.py-4.py-lg-5
.row.justify-content-md-center
.col-md-10.col-lg-8
%h1 Coach Guide
%p.lead
This is a brief guide we've put together for our coaches. If you have any suggestions to make open a #{link_to "pull request", "https://github.com/codebar/planner"} or #{link_to "create an issue", "https://github.com/codebar/planner/issues/new"}.

.container-fluid.stripe.reverse
.row.justify-content-md-center
.col-md-10.col-lg-8
%ul
%li
%p.mb-2= t('dashboard.teacher_guide.laptop')
%li
%p.mb-2= t('dashboard.teacher_guide.keyboard')
%li
%p.mb-2= t('dashboard.teacher_guide.typing')
%li
%p.mb-2= t('dashboard.teacher_guide.questions')
%li
%p.mb-2= t('dashboard.teacher_guide.mistakes')
%li
%p.mb-2= t('dashboard.teacher_guide.introduction')
%li
%p.mb-2= t('dashboard.teacher_guide.backgrounds')
%li
%p.mb-2= t('dashboard.teacher_guide.limits')
%li
%p.mb-2= t('dashboard.teacher_guide.collaboration')
%li
%p.mb-2= t('dashboard.teacher_guide.discussion')
%li
%p.mb-2= t('dashboard.teacher_guide.talk_slow')
%li
%p.mb-2= t('dashboard.teacher_guide.mild_approach')
%li
%p.mb-2= t('dashboard.teacher_guide.paper')
%li
%p.mb-2= t('dashboard.teacher_guide.stubling')
.py-4.py-lg-5.bg-light
.container
.row.justify-content-md-center
.col-md-10.col-lg-8
%ul.pl-3
%li
%p.mb-2= t('dashboard.teacher_guide.laptop')
%li
%p.mb-2= t('dashboard.teacher_guide.keyboard')
%li
%p.mb-2= t('dashboard.teacher_guide.typing')
%li
%p.mb-2= t('dashboard.teacher_guide.questions')
%li
%p.mb-2= t('dashboard.teacher_guide.mistakes')
%li
%p.mb-2= t('dashboard.teacher_guide.introduction')
%li
%p.mb-2= t('dashboard.teacher_guide.backgrounds')
%li
%p.mb-2= t('dashboard.teacher_guide.limits')
%li
%p.mb-2= t('dashboard.teacher_guide.collaboration')
%li
%p.mb-2= t('dashboard.teacher_guide.discussion')
%li
%p.mb-2= t('dashboard.teacher_guide.talk_slow')
%li
%p.mb-2= t('dashboard.teacher_guide.mild_approach')
%li
%p.mb-2= t('dashboard.teacher_guide.paper')
%li
%p.mb-2= t('dashboard.teacher_guide.stubling')
103 changes: 52 additions & 51 deletions app/views/dashboard/faq.html.haml
Original file line number Diff line number Diff line change
@@ -1,55 +1,56 @@
.container-fluid.stripe.reverse
.container.py-4.py-lg-5
.row.justify-content-md-center
.col-md-10.col-lg-8
%h1 Frequently Asked Questions

.container-fluid.stripe.reverse
.row.justify-content-md-center
.col-md-10.col-lg-8
%dl
%dt= t('faq.payment.q')
%dd
= t('faq.payment.a_p1')
= link_to t('faq.payment.awesome_coaches'), coaches_path
= t('faq.payment.a_p2')

%dt= t('faq.technologies.q')
%dd= raw t('faq.technologies.a')

%dt#attendance-eligibility= t('faq.eligibility.q')
%dd= raw t('faq.eligibility.a')

%dt= t('faq.career.q')
%dd= t('faq.career.a')

%dt= t('faq.format.q')
%dd= t('faq.format.a')

%dt= t('faq.laptop.q')
%dd= raw t('faq.laptop.a')

%dt= t('faq.online_resources.q')
%dd= t('faq.online_resources.a')

%dt= t('faq.preperations.q')
%dd
= t('faq.preperations.a_p1')
= link_to t('faq.preperations.coaching_guide_tutorials'), teaching_guide_path
= t('faq.preperations.a_p2')
= raw t('faq.preperations.a_p3')
= t('faq.preperations.a_p4')

%dt= t('faq.location.q')
%dd= t('faq.location.a')

%dt= t('faq.disabled_access.q')
%dd= raw t('faq.disabled_access.a')

%dt= t('faq.bring_codebar_to_my_city.q')
%dd= raw t('faq.bring_codebar_to_my_city.a')

%dt= t('faq.our_coaches.q')
%dd
= t('faq.our_coaches.a_p1')
= link_to "coaches page", coaches_path
= t('faq.our_coaches.a_p2')
.py-4.py-lg-5.bg-light
.container
.row.justify-content-md-center
.col-md-10.col-lg-8
%dl
%dt= t('faq.payment.q')
%dd.mb-4
= t('faq.payment.a_p1')
= link_to t('faq.payment.awesome_coaches'), coaches_path
= t('faq.payment.a_p2')

%dt= t('faq.technologies.q')
%dd.mb-4= raw t('faq.technologies.a')

%dt#attendance-eligibility= t('faq.eligibility.q')
%dd.mb-4= raw t('faq.eligibility.a')

%dt= t('faq.career.q')
%dd.mb-4= t('faq.career.a')

%dt= t('faq.format.q')
%dd.mb-4= t('faq.format.a')

%dt= t('faq.laptop.q')
%dd.mb-4= raw t('faq.laptop.a')

%dt= t('faq.online_resources.q')
%dd.mb-4= t('faq.online_resources.a')

%dt= t('faq.preperations.q')
%dd.mb-4
= t('faq.preperations.a_p1')
= link_to t('faq.preperations.coaching_guide_tutorials'), teaching_guide_path
= t('faq.preperations.a_p2')
= raw t('faq.preperations.a_p3')
= t('faq.preperations.a_p4')

%dt= t('faq.location.q')
%dd.mb-4= t('faq.location.a')

%dt= t('faq.disabled_access.q')
%dd.mb-4= raw t('faq.disabled_access.a')

%dt= t('faq.bring_codebar_to_my_city.q')
%dd.mb-4= raw t('faq.bring_codebar_to_my_city.a')

%dt= t('faq.our_coaches.q')
%dd
= t('faq.our_coaches.a_p1')
= link_to "coaches page", coaches_path
= t('faq.our_coaches.a_p2')
Loading

0 comments on commit 7924337

Please sign in to comment.