diff --git a/app/assets/images/guage.svg b/app/assets/images/guage.svg index 7a224e9..331db7d 100644 --- a/app/assets/images/guage.svg +++ b/app/assets/images/guage.svg @@ -1,6 +1,6 @@ - diff --git a/app/assets/stylesheets/partials/_layout.scss b/app/assets/stylesheets/partials/_layout.scss index bcd7f16..1822629 100644 --- a/app/assets/stylesheets/partials/_layout.scss +++ b/app/assets/stylesheets/partials/_layout.scss @@ -1,8 +1,15 @@ .grid-container { display: grid; +} + +.grid-container-400 { grid-template-columns: repeat(auto-fit, minmax(min(400px, 100%), 1fr)); } +.grid-container-200 { + grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); +} + .grid-item { padding: 20px; grid-auto-flow: column; @@ -50,7 +57,3 @@ @extend .col-lg-7; @extend .col-xl-5; } - -.grid-container { - display: grid; -} diff --git a/app/views/home/index.html.erb b/app/views/home/index.html.erb index 6631781..ffd6fe8 100644 --- a/app/views/home/index.html.erb +++ b/app/views/home/index.html.erb @@ -18,24 +18,22 @@
-
-
- -
- <%= link_to sqm_index_path, class: "row text-white text-decoration-none" do %> - <%= image_tag "guage.svg", size: "100x100" %> -

School Quality Measures

-

Stakeholders identify what is most important to know about school quality. Multiple measures provide a robust picture of school strengths and areas for improvement.

- <% end %> +
+ <%= link_to sqm_index_path, class: "grid-item text-white text-decoration-none" do %> +
+ <%= image_tag "guage.svg", size: "100x100" %> +

School Quality Measures

+

Stakeholders identify what is most important to know about school quality. Multiple measures provide a robust picture of school strengths and areas for improvement.

-
- <%= link_to sqm_index_path, class: "row text-white text-decoration-none" do %> - <%= image_tag "portfolio.svg", size: "100x100" %> -

Performance Assessments

-

Teachers lead the design of curriculum-embedded performance assessments and the scoring of student work. Students demonstrate what they know and can do through real-world application.

- <% end %> + <% end %> + + <%= link_to sqm_index_path, class: "grid-item text-white text-decoration-none" do %> +
+ <%= image_tag "portfolio.svg", size: "100x100" %> +

Performance Assessments

+

Teachers lead the design of curriculum-embedded performance assessments and the scoring of student work. Students demonstrate what they know and can do through real-world application.

-
+ <% end %>