Skip to content

Commit 318c8a2

Browse files
Merge pull request #1 from sanjeetkumaritoutlook/stencil-web-app
used a tag instead of redundant route-link
2 parents 5630984 + 33a4e43 commit 318c8a2

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

src/components/header-navigation/header-navigation.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ export class HeaderNavigation {
1010
return (
1111
<header>
1212
<nav>
13-
<router-link href="/profile/stencil" class="nav-link" activeClass="active">Profile</router-link>
14-
<router-link href="/about" class="nav-link" activeClass="active">StencilJS components</router-link>
15-
<router-link href="/posts-dashboard" class="nav-link" activeClass="active">Posts Dashboard</router-link>
13+
<a href="/profile/stencil" class="nav-link" >Profile</a>
14+
<a href="/web-components" class="nav-link" >StencilJS components</a>
15+
<a href="/posts-dashboard" class="nav-link">Posts Dashboard</a>
1616
</nav>
1717
</header>
1818
);

src/index.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,5 @@
1919
</head>
2020
<body>
2121
<app-root></app-root>
22-
2322
</body>
2423
</html>

0 commit comments

Comments
 (0)