mirror of
https://github.com/edcommonwealth/sqm-dashboards.git
synced 2026-03-08 23:18:18 -07:00
Add footer to all pages. Finishes #179844107
This commit is contained in:
parent
4278021c2d
commit
9e9663a1dd
7 changed files with 29 additions and 2 deletions
10
app/assets/stylesheets/footer.scss
Normal file
10
app/assets/stylesheets/footer.scss
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
@import "colors";
|
||||
|
||||
.footer-item {
|
||||
margin: 40px 12px;
|
||||
color: $gray-1;
|
||||
}
|
||||
.footer-link {
|
||||
@extend .font-cabin;
|
||||
color: #01788E;
|
||||
}
|
||||
|
|
@ -9,6 +9,7 @@
|
|||
@import "buttons";
|
||||
@import "scss/fontawesome.scss";
|
||||
@import "scss/solid.scss";
|
||||
@import "footer.scss";
|
||||
|
||||
.height-56 {
|
||||
height: 56px;
|
||||
|
|
|
|||
|
|
@ -4,6 +4,7 @@
|
|||
@import "colors";
|
||||
@import "fonts";
|
||||
@import "borders";
|
||||
@import "footer";
|
||||
|
||||
.hero-image {
|
||||
background-image: url("hero.png");
|
||||
|
|
|
|||
|
|
@ -66,7 +66,7 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<footer class="bg-color-blue text-center py-11 mt-12px">
|
||||
<footer class="bg-color-blue text-center py-11 mt-12">
|
||||
<div class="footer-content">
|
||||
<h2 class="mb-4">About MCIEA</h2>
|
||||
<p>The Massachusetts Consortium for Innovative Education Assessment (MCIEA) is a partnership of Massachusetts public
|
||||
|
|
|
|||
|
|
@ -20,6 +20,11 @@
|
|||
</header>
|
||||
|
||||
<%= yield %>
|
||||
|
||||
<div>
|
||||
<%= render partial: 'layouts/sqm/footer' %>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
window.schools = <%= @schools.map{ |school| school_mapper(school) }.to_json.html_safe %>;
|
||||
</script>
|
||||
|
|
|
|||
5
app/views/layouts/sqm/_footer.html.erb
Normal file
5
app/views/layouts/sqm/_footer.html.erb
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
<footer class="d-flex justify-content-center">
|
||||
<p class="footer-item">Copyright © 2021</p>
|
||||
<%= link_to "MCIEA.org" , "https://www.mciea.org/" , class: "footer-item footer-link", target: "_blank" %>
|
||||
<%= link_to "Contact Us" , "https://www.mciea.org/contact.html", class: "footer-item footer-link", target: "_blank"%>
|
||||
</footer>
|
||||
|
|
@ -30,7 +30,7 @@
|
|||
<%= render partial: 'layouts/sqm/header' %>
|
||||
</div>
|
||||
|
||||
<div class="bg-color-light-blue pb-7">
|
||||
<div class="bg-color-light-blue">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col mt-7">
|
||||
|
|
@ -39,5 +39,10 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<%= render partial: 'layouts/sqm/footer' %>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue