Refactor header nav to include Contact CTA within nav-links with active state

This commit is contained in:
gator 2026-03-11 01:03:17 +00:00
parent 1ba80c47e0
commit e4014b3c5d

View file

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