Refactor header nav to include Contact CTA within nav-links with active state
This commit is contained in:
parent
1ba80c47e0
commit
e4014b3c5d
1 changed files with 1 additions and 1 deletions
|
|
@ -23,8 +23,8 @@
|
||||||
%>
|
%>
|
||||||
<a href="<%= item.href %>" class="<%= active ? 'active' : '' %>" <%= active ? 'aria-current="page"' : '' %>><%= item.label %></a>
|
<a href="<%= item.href %>" class="<%= active ? 'active' : '' %>" <%= active ? 'aria-current="page"' : '' %>><%= item.label %></a>
|
||||||
<% }) %>
|
<% }) %>
|
||||||
|
<a href="/contact" class="nav-cta nav-cta-link <%= pageName === 'contact' ? 'active' : '' %>" aria-label="Contact AutoTQ" <%= pageName === 'contact' ? 'aria-current="page"' : '' %>>Contact</a>
|
||||||
</div>
|
</div>
|
||||||
<a href="/contact" class="nav-cta" aria-label="Contact AutoTQ">Contact</a>
|
|
||||||
</nav>
|
</nav>
|
||||||
</div>
|
</div>
|
||||||
</header>
|
</header>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue