mirror of
https://github.com/edcommonwealth/ecp.org.git
synced 2026-03-13 09:20:28 -07:00
Add in the news page
This commit is contained in:
parent
aff7b04ed4
commit
7ba18bb171
18 changed files with 72 additions and 1 deletions
47
app/views/in_the_news/index.html.erb
Normal file
47
app/views/in_the_news/index.html.erb
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
<%= render partial: "layouts/header", locals: {heading: "In The News"} %>
|
||||
|
||||
<div class="container px-5 my-5">
|
||||
<div class="row gx-5 justify-content-center">
|
||||
<div class="grid-container download-container">
|
||||
<%= link_to(in_the_news_download_pdf_path(path: "changes_possible_in_state_education_policy")) do %>
|
||||
<%= image_tag "in_the_news/changes_possible_in_state_education_policy.png", class: "file-download" %>
|
||||
<% end %>
|
||||
</div>
|
||||
|
||||
<div class="grid-container download-container">
|
||||
<%= link_to(in_the_news_download_pdf_path(path: "how_six_mass_communities_are_imagining_life_beyond_mcas")) do %>
|
||||
<%= image_tag "in_the_news/how_six_mass_communities_are_imagining_life_beyond_mcas.png", class: "file-download" %>
|
||||
<% end %>
|
||||
</div>
|
||||
|
||||
<div class="grid-container download-container">
|
||||
<%= link_to(in_the_news_download_pdf_path(path: "state_receivership_wrong_for_boston_schools")) do %>
|
||||
<%= image_tag "in_the_news/state_receivership_wrong_for_boston_schools.webp", class: "file-download" %>
|
||||
<% end %>
|
||||
</div>
|
||||
|
||||
<div class="grid-container download-container">
|
||||
<%= link_to(in_the_news_download_pdf_path(path: "tipping_point_for_school_accountability")) do %>
|
||||
<%= image_tag "in_the_news/tipping_point_for_school_accountability.png", class: "file-download" %>
|
||||
<% end %>
|
||||
</div>
|
||||
|
||||
<div class="grid-container download-container">
|
||||
<%= link_to(in_the_news_download_pdf_path(path: "vocational_and_exam_school_admission_changes")) do %>
|
||||
<%= image_tag "in_the_news/vocational_and_exam_school_admission_changes.webp", class: "file-download" %>
|
||||
<% end %>
|
||||
</div>
|
||||
|
||||
<div class="grid-container download-container">
|
||||
<%= link_to(in_the_news_download_pdf_path(path: "want_to_buy_a_home")) do %>
|
||||
<%= image_tag "in_the_news/want_to_buy_a_home.jpeg", class: "file-download" %>
|
||||
<% end %>
|
||||
</div>
|
||||
|
||||
<div class="grid-container download-container">
|
||||
<%= link_to("https://podcasts.apple.com/us/podcast/should-you-panic-over-americas-test-scores/id1438906889?i=1000584143940") do %>
|
||||
<%= image_tag "in_the_news/should_you_panic_over_americas_test_scores.png" %>
|
||||
<% end %>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
13
app/views/layouts/_header.html.erb
Normal file
13
app/views/layouts/_header.html.erb
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
<header class="bg-dark py-5">
|
||||
<div class="container px-5">
|
||||
<div class="row gx-5 justify-content-center">
|
||||
<div class="col-lg-6">
|
||||
<div class="text-center my-5">
|
||||
<h1 class="display-5 fw-bolder text-white mb-2"><%= heading %></h1>
|
||||
<div class="d-grid gap-3 d-sm-flex justify-content-sm-center">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
|
|
@ -20,7 +20,7 @@
|
|||
Research & Resources
|
||||
</a>
|
||||
<ul class="dropdown-menu" aria-labelledby="navbarDropdown">
|
||||
<li class="nav-item"><%= link_to "ECP in the News", construction_index_path, class: "dropdown-item" %></li>
|
||||
<li class="nav-item"><%= link_to "ECP in the News", in_the_news_index_path, class: "dropdown-item" %></li>
|
||||
<li class="nav-item"><%= link_to "Research", research_index_path, class: "dropdown-item" %></li>
|
||||
<li class="nav-item"><%= link_to "Resources", resource_index_path, class: "dropdown-item" %></li>
|
||||
</ul>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue