Add in the news page

This commit is contained in:
rebuilt 2022-11-22 16:27:58 -08:00
parent aff7b04ed4
commit 7ba18bb171
18 changed files with 72 additions and 1 deletions

View 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>

View file

@ -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>