feat(frontend): add link on logo text

This commit is contained in:
Maxence Lecanu 2022-01-23 15:04:00 +01:00
commit d02d62f83a
2 changed files with 10 additions and 1 deletions

View file

@ -3,7 +3,7 @@
[attr.role]="(isHandset$ | async) ? 'dialog' : 'navigation'" [mode]="(isHandset$ | async) ? 'over' : 'side'" [attr.role]="(isHandset$ | async) ? 'dialog' : 'navigation'" [mode]="(isHandset$ | async) ? 'over' : 'side'"
[opened]="!(isHandset$ | async)"> [opened]="!(isHandset$ | async)">
<mat-toolbar class="application-name" id="nav-applicationName">{{applicationName}}</mat-toolbar> <mat-toolbar class="application-name" id="nav-applicationName"><a class="application-name-link" [href]="applicationUrl">{{applicationName}}</a></mat-toolbar>
<mat-nav-list> <mat-nav-list>
<span mat-list-item *ngFor="let nav of navItems"> <span mat-list-item *ngFor="let nav of navItems">

View file

@ -165,6 +165,15 @@
display: flex; display: flex;
white-space: normal; white-space: normal;
word-break: break-word; word-break: break-word;
.application-name-link {
text-decoration: none;
color: inherit;
&:active, &:hover, &:focus {
color: inherit;
}
}
} }
.outer-profile { .outer-profile {