Files
smartguide/webapp/src/app/shared/ui/app-menu/app-menu.component.html
T

61 lines
1.6 KiB
HTML

<aside class="sidebar">
<a class="brand" routerLink="/dashboard" aria-label="Smartguide Startseite">
<span class="brand-mark">
<span></span>
<span></span>
<span></span>
<span></span>
<span></span>
<span></span>
</span>
<span class="brand-text">
<strong>AIIS</strong>
<small>AI Innovation<br />Intelligence System</small>
</span>
</a>
<mat-nav-list class="nav-list">
@for (item of navItems; track item.label) {
<a
mat-list-item
[routerLink]="item.disabled ? null : item.route"
[queryParams]="item.queryParams || null"
routerLinkActive="active"
[class.disabled]="item.disabled">
<mat-icon matListItemIcon>{{ item.icon }}</mat-icon>
<span matListItemTitle>{{ item.label }}</span>
</a>
}
</mat-nav-list>
<div class="sidebar-spacer"></div>
<div class="loading-indicator">
@if (isNavigating()) {
<mat-progress-bar mode="indeterminate"></mat-progress-bar>
}
</div>
<div class="account-card">
<div class="avatar">{{ (credentialService.login | async)?.charAt(0) }}</div>
<div>
<strong>{{
(credentialService.login | async) || 'Max Mustermann'
}}</strong>
<strong>{{ credentialService.organizationName | async }}</strong>
<span>Startup Coach</span>
</div>
<mat-icon>expand_more</mat-icon>
</div>
<div class="sidebar-actions">
<button
class="utility-link"
type="button"
(click)="onLogout()">
<mat-icon>logout</mat-icon>
<span>Abmelden</span>
</button>
</div>
</aside>