Remove weather and laundry from sidenav and routing

This commit is contained in:
2019-10-08 19:17:34 -04:00
parent c989a20f22
commit 50599a8dc4
2 changed files with 0 additions and 28 deletions

View File

@@ -1,26 +1,16 @@
import { NgModule } from '@angular/core'; import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router'; import { Routes, RouterModule } from '@angular/router';
import { DashboardComponent } from './components/dashboard/dashboard.component'; import { DashboardComponent } from './components/dashboard/dashboard.component';
import { LaundryComponent } from './components/laundry/laundry.component';
import { WeatherChartsComponent } from './components/weather/charts/weather-charts.component'; import { WeatherChartsComponent } from './components/weather/charts/weather-charts.component';
import { WeatherCurrentComponent } from './components/weather/current/weather-current.component';
const routes: Routes = [ const routes: Routes = [
{ {
path: '', path: '',
component: DashboardComponent component: DashboardComponent
}, },
{
path: 'weather',
component: WeatherCurrentComponent
},
{ {
path: 'weather-charts', path: 'weather-charts',
component: WeatherChartsComponent component: WeatherChartsComponent
},
{
path: 'laundry',
component: LaundryComponent
} }
]; ];

View File

@@ -16,24 +16,6 @@
</span> </span>
</a> </a>
<a routerLink="/laundry" routerLinkActive="active" [routerLinkActiveOptions]="{ exact: true }" mat-list-item>
<mat-icon matListIcon class="nav-icon">
local_laundry_service
</mat-icon>
<span class="nav-caption">
Laundry
</span>
</a>
<a routerLink="/weather" routerLinkActive="active" [routerLinkActiveOptions]="{ exact: true }" mat-list-item>
<mat-icon matListIcon class="nav-icon">
cloud
</mat-icon>
<span class="nav-caption">
Weather
</span>
</a>
<a routerLink="/weather-charts" routerLinkActive="active" [routerLinkActiveOptions]="{ exact: true }" mat-list-item> <a routerLink="/weather-charts" routerLinkActive="active" [routerLinkActiveOptions]="{ exact: true }" mat-list-item>
<mat-icon matListIcon class="nav-icon"> <mat-icon matListIcon class="nav-icon">
multiline_chart multiline_chart