Some work on new UI

This commit is contained in:
2019-09-13 21:02:09 -04:00
parent 7dc326c02f
commit aee51c8a15
20 changed files with 594 additions and 555 deletions

View File

@@ -1,6 +1,5 @@
import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { WeatherComponent } from './weather/weather.component';
import { DashboardComponent } from './dashboard/dashboard.component';
import { LaundryComponent } from './laundry/laundry.component';
import { WeatherChartsComponent } from './weather/charts/weather-charts.component';
@@ -13,22 +12,11 @@ const routes: Routes = [
},
{
path: 'weather',
component: WeatherComponent,
children: [
{
path: '',
redirectTo: 'current',
pathMatch: 'full'
},
{
path: 'current',
component: WeatherCurrentComponent
},
{
path: 'charts',
component: WeatherChartsComponent
}
]
component: WeatherCurrentComponent
},
{
path: 'weather-charts/:type',
component: WeatherChartsComponent
},
{
path: 'laundry',