beautified various frontend parts

master
FlayInAHook 4 years ago
parent b954408c66
commit 009ce02301

@ -30,9 +30,11 @@
<mat-sidenav-container id="content"> <mat-sidenav-container id="content">
<mat-sidenav #appDrawer mode="over" opened="false"> <mat-sidenav #appDrawer mode="over" opened="false">
<mat-nav-list class="nav-profile-list"> <mat-nav-list class="nav-profile-list">
<mat-list-item class="nav-profile-list-item"> <a routerLink = "/profile">
<sidenav-profile> </sidenav-profile> <mat-list-item class="nav-profile-list-item">
</mat-list-item> <sidenav-profile> </sidenav-profile>
</mat-list-item>
</a>
</mat-nav-list> </mat-nav-list>
<mat-nav-list> <mat-nav-list>
<a <a

@ -26,8 +26,13 @@ $primary-color: mat-color($light-primary, 300);
} }
mat-nav-list .nav-profile-list-item { mat-nav-list .nav-profile-list-item {
height:200px; height: 200px;
background: $primary-color; background: #7fc600;
}
mat-nav-list .nav-profile-list-item:hover {
height: 200px;
background: #93e406;
} }
.nav-list-icon { .nav-list-icon {

@ -1,4 +1,4 @@
<div (click)="closeSidenav()" routerLink = "/profile" class="sidenav-profile"> <div (click)="closeSidenav()" class="sidenav-profile">
<img class="navbar-photo" src={{profileURL}}> <img class="navbar-photo" src={{profileURL}}>
<p>{{name}}</p> <p>{{name}}</p>
<p>{{email}}</p> <p>{{email}}</p>

@ -1,5 +1,3 @@
@import '../../../theme';
.navbar-photo { .navbar-photo {
width:100px; width:100px;
height:100px; height:100px;

@ -2,9 +2,8 @@
export const tableLinks = [ export const tableLinks = [
{ {
displayName: 'Lastenräder', displayName: 'Lastenräder',
iconName: 'directions_bike',
route: '/table/bikes', route: '/table/bikes'
svgIconName: 'cargobike'
}, },
{ {
displayName: 'Aktive', displayName: 'Aktive',

Loading…
Cancel
Save