refractor: app module and settings (#293)

* Refractor settings component.
* Improve responsiveness of settings component.
* Add comments.

Fixes #292
This commit is contained in:
Abhay Chawla
2018-08-12 15:45:48 +05:30
committed by GitHub
parent 116d05a7d1
commit bf8e6f1273
10 changed files with 159 additions and 57 deletions
+14 -1
View File
@@ -1,9 +1,17 @@
/** Angular Imports */
import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { Route, extract } from '../core';
/** Routing Imports */
import { Route } from '../core';
/** Translation Imports */
import { extract } from '../core';
/** Custom Components */
import { SettingsComponent } from './settings.component';
/** Settings Routes */
const routes: Routes = [
Route.withShell([
{
@@ -14,6 +22,11 @@ const routes: Routes = [
])
];
/**
* Settings Routing Module
*
* Configures the settings and web app configuration routes.
*/
@NgModule({
imports: [RouterModule.forChild(routes)],
exports: [RouterModule],