Skip to content
This repository was archived by the owner on Feb 5, 2022. It is now read-only.

Commit 3bf62e0

Browse files
committed
fix: set stencil-route-link url matching
1 parent f829ef6 commit 3bf62e0

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

src/components/app-nav-header/app-nav-header.tsx

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,18 @@ export class AppNavHeader {
9494
</div>
9595
</li>
9696
<li class="nav-item dropdown" data-target="#navbarSupportedContent">
97-
<a href="" class="nav-link dropdown-toggle" id="navbarDropdown1" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
97+
<stencil-route-link
98+
urlMatch={['/about', '/process', '/partners']}
99+
activeClass="active"
100+
anchorClass="nav-link dropdown-toggle"
101+
id="navbarDropdown1"
102+
role="button"
103+
data-toggle="dropdown"
104+
aria-haspopup="true"
105+
aria-expanded="false"
106+
>
98107
{translate('nav.links.about')}
99-
</a>
108+
</stencil-route-link>
100109
<div class="dropdown-menu" aria-labelledby="navbarDropdown1">
101110
<stencil-route-link url="/about" anchorClass="nav-link dropdown-item" activeClass="active">
102111
Meet the Team

0 commit comments

Comments
 (0)