NavMenuComponent

Moving on to the NavMenuComponent, here's the updated part of the navmenu.component.html template file:

[...]<div class='navbar-header'>    <button type='button' class='navbar-toggle'         data-toggle='collapse' data-target='.navbar-collapse'>        <span class='sr-only'>Toggle navigation</span>        <span class='icon-bar'></span>        <span class='icon-bar'></span>        <span class='icon-bar'></span>    </button>    <quiz-search class="search-navmenu" placeholder="Type here..."></quiz-search></div>[...]

Note how we just changed a single line, replacing the previous <a> link to the Home view with another instance of that still non-existent QuizSearchComponent.

As for the navmenu.component.less style sheet file, here's the updated content:

.main-nav { position: ...

Get ASP.NET Core 2 and Angular 5 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.