I made a menu using Angle Material Design's SideNav like this:
<mat-sidenav-container class="sidenav-container">
<mat-sidenav #drawer class="sidenav" fixedInViewport="true" [attr.role]="(isHandset$ | async) ? 'dialog' : 'navigation'" [mode]="(isHandset$ | async) ? 'over' : 'side'" [opened]="!(isHandset$ | async)">
<mat-toolbar>Menu</mat-toolbar>
<mat-nav-list>
<a mat-list-item href="#">Clubes</a>
<a mat-list-item href="#">Gestores de Clubes</a>
<a mat-list-item href="#">Agentes</a>
<a mat-list-item href="#">Jogadores</a>
</mat-nav-list>
</mat-sidenav>
<mat-sidenav-content>
<mat-toolbar color="primary">
<button type="button" aria-label="Toggle sidenav" mat-icon-button (click)="drawer.toggle()" *ngIf="isHandset$ | async">
<mat-icon aria-label="Side nav toggle icon">menu</mat-icon>
</button>
<span>Painel Administrativo</span>
</mat-toolbar>
<ng-content></ng-content>
</mat-sidenav-content>
</mat-sidenav-container>
Looking like this:
I wanted to make a menu, using NavBar with Sub-Items and Separation. I've been researching and found nothing. Can you make or give another suggestion?
Thank you.