mirror of
https://github.com/edcommonwealth/ecp.org.git
synced 2026-03-16 10:45:54 -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
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