diff --git a/web/src/app/app-routing.module.ts b/web/src/app/app-routing.module.ts index 7b4eee36..cd01b7d1 100644 --- a/web/src/app/app-routing.module.ts +++ b/web/src/app/app-routing.module.ts @@ -2,6 +2,7 @@ import { HomeComponent } from './pages/home/home.component'; import { SettingsComponent } from './pages/settings/settings.component'; import { AboutComponent } from './pages/about/about.component'; import { DashboardComponent } from './pages/dashboard/dashboard.component'; +import { WalletComponent } from './pages/wallet/wallet.component'; import { NgModule } from '@angular/core'; import { Routes, RouterModule } from '@angular/router'; @@ -22,6 +23,10 @@ const routes: Routes = [ { path: 'settings', component: SettingsComponent + }, + { + path: 'wallet', + component: WalletComponent } ]; diff --git a/web/src/app/app.component.scss b/web/src/app/app.component.scss index f1d75fc1..7eb898db 100644 --- a/web/src/app/app.component.scss +++ b/web/src/app/app.component.scss @@ -8,6 +8,7 @@ display: flex; align-items: center; justify-content: center; + padding: 20px 70px 0; min-width:80%; } diff --git a/web/src/app/app.module.ts b/web/src/app/app.module.ts index 25687efd..71b13fe5 100644 --- a/web/src/app/app.module.ts +++ b/web/src/app/app.module.ts @@ -29,6 +29,7 @@ import { HomeComponent } from './pages/home/home.component'; import { AboutComponent } from './pages/about/about.component'; import { SettingsComponent } from './pages/settings/settings.component'; import { DashboardComponent } from './pages/dashboard/dashboard.component'; +import { WalletComponent } from './pages/wallet/wallet.component'; import { NavbarComponent } from './shared/navbar/navbar.component'; import { SidebarComponent } from './shared/sidebar/sidebar.component'; @@ -42,6 +43,9 @@ import { ElectronService } from './providers/electron.service'; //Routing import { AppRoutingModule } from './app-routing.module'; +import { Wallet } from './shared/classes/wallet'; + + import * as Rx from 'rxjs/Rx'; @@ -55,7 +59,8 @@ import * as Rx from 'rxjs/Rx'; DashboardComponent, ExchangeCurrencyTickerComponent, AllEnabledCurrencyTickersComponent, - SidebarComponent + SidebarComponent, + WalletComponent ], imports: [ BrowserModule, diff --git a/web/src/app/pages/settings/settings.component.html b/web/src/app/pages/settings/settings.component.html index 8869352b..102c948c 100644 --- a/web/src/app/pages/settings/settings.component.html +++ b/web/src/app/pages/settings/settings.component.html @@ -4,7 +4,7 @@