layout: move the landing footer to its own file

This commit is contained in:
Pierre de La Morinerie 2018-06-19 14:21:37 +00:00
parent 60475d0165
commit 755600acf4
3 changed files with 6 additions and 4 deletions

View file

@ -30,8 +30,8 @@
= render partial: "layouts/flash_messages"
= yield
- if content_for?(:display_footer)
= render partial: "layouts/new_footer"
- if content_for?(:footer)
= content_for(:footer)
= render partial: "layouts/mailjet_newsletter"
= javascript_include_tag "new_design/application", "data-turbolinks-eval": false

View file

@ -1,6 +1,7 @@
%footer
%footer.landing-footer
.container
%ul.footer-columns
%li.footer-column
%ul.footer-logos
%li.footer-text

View file

@ -1,4 +1,5 @@
- content_for(:display_footer, true)
- content_for :footer do
= render partial: "root/footer"
.landing
.landing-panel.hero-panel