diff --git a/app/assets/images/docs/psychological_toll_of_high_stakes_testing_2022.pdf b/app/assets/images/docs/psychological_toll_of_high_stakes_testing_2022.pdf new file mode 100644 index 0000000..a3d5281 Binary files /dev/null and b/app/assets/images/docs/psychological_toll_of_high_stakes_testing_2022.pdf differ diff --git a/app/assets/images/docs/test_anxiety_and_poor_sleep_2021.pdf b/app/assets/images/docs/test_anxiety_and_poor_sleep_2021.pdf new file mode 100644 index 0000000..ee6b5b4 Binary files /dev/null and b/app/assets/images/docs/test_anxiety_and_poor_sleep_2021.pdf differ diff --git a/app/assets/images/docs/testing_stress_and_performance.pdf b/app/assets/images/docs/testing_stress_and_performance.pdf new file mode 100644 index 0000000..a594f4e Binary files /dev/null and b/app/assets/images/docs/testing_stress_and_performance.pdf differ diff --git a/app/assets/images/research/psychological_toll_of_high_stakes_testing.png b/app/assets/images/research/psychological_toll_of_high_stakes_testing.png new file mode 100644 index 0000000..8a76e92 Binary files /dev/null and b/app/assets/images/research/psychological_toll_of_high_stakes_testing.png differ diff --git a/app/assets/images/research/test_anxiety_and_sleep.png b/app/assets/images/research/test_anxiety_and_sleep.png new file mode 100644 index 0000000..00be6f4 Binary files /dev/null and b/app/assets/images/research/test_anxiety_and_sleep.png differ diff --git a/app/assets/images/research/testing_stress.png b/app/assets/images/research/testing_stress.png new file mode 100644 index 0000000..62ee305 Binary files /dev/null and b/app/assets/images/research/testing_stress.png differ diff --git a/app/assets/stylesheets/application.bootstrap.scss b/app/assets/stylesheets/application.bootstrap.scss index 17749b5..8eb6bdc 100644 --- a/app/assets/stylesheets/application.bootstrap.scss +++ b/app/assets/stylesheets/application.bootstrap.scss @@ -4,3 +4,4 @@ @import 'partials/bootstrap-overrides'; @import 'partials/layout'; @import 'partials/links'; +@import 'partials/downloads'; diff --git a/app/assets/stylesheets/partials/_downloads.scss b/app/assets/stylesheets/partials/_downloads.scss new file mode 100644 index 0000000..2016ae5 --- /dev/null +++ b/app/assets/stylesheets/partials/_downloads.scss @@ -0,0 +1,20 @@ +.download-container { + position: relative; + + border: 1px solid #333; + margin: 2%; + overflow: hidden; + width: 300px; +} + +.download-container img { + width: 300px; + -moz-transition: all 0.3s; + -webkit-transition: all 0.3s; + transition: all 0.3s; +} +.download-container:hover img { + -moz-transform: scale(1.2); + -webkit-transform: scale(1.2); + transform: scale(1.2); +} diff --git a/app/controllers/research_controller.rb b/app/controllers/research_controller.rb new file mode 100644 index 0000000..78ee2ff --- /dev/null +++ b/app/controllers/research_controller.rb @@ -0,0 +1,5 @@ +class ResearchController < ApplicationController + def index + + end +end diff --git a/app/views/layouts/_nav.html.erb b/app/views/layouts/_nav.html.erb index fd25fd5..82ba2e0 100644 --- a/app/views/layouts/_nav.html.erb +++ b/app/views/layouts/_nav.html.erb @@ -21,7 +21,7 @@ diff --git a/app/views/research/index.html.erb b/app/views/research/index.html.erb new file mode 100644 index 0000000..f6e37ce --- /dev/null +++ b/app/views/research/index.html.erb @@ -0,0 +1,35 @@ + +
+
+
+
+
+

Research

+
+
+
+
+
+
+
+ + +
+
+
+ <%= link_to("Test Anxiety", download: asset_path("docs/test_anxiety_and_poor_sleep_2021.pdf"), target: "_blank") do %> + <%= image_tag "research/test_anxiety_and_sleep.png", class: "file-download" %> + <% end %> +
+
+ <%= link_to("Psychological toll of high statkes testing", download: asset_path("docs/psychological_toll_of_high_stakes_testing_2022.pdf"), target: "_blank") do %> + <%= image_tag "research/psychological_toll_of_high_stakes_testing.png", class: "file-download" %> + <% end %> +
+
+ <%= link_to("Test Anxiety", download: asset_path("docs/testing_stress_and_performance.pdf"), target: "_blank") do %> + <%= image_tag "research/testing_stress.png", class: "file-download" %> + <% end %> +
+
+
diff --git a/config/routes.rb b/config/routes.rb index 61f429b..cf461cc 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -5,6 +5,7 @@ Rails.application.routes.draw do resources :sqm, only: :index resources :qpa, only: :index resources :resource, only: :index + resources :research, only: :index resources :work_with_ecp, only: :index resources :construction, only: :index resources :district_leader, only: :index