diff --git a/app/ionic.config.json b/app/ionic.config.json index 6f01a59..9ffab3a 100644 --- a/app/ionic.config.json +++ b/app/ionic.config.json @@ -7,6 +7,6 @@ }, "proxies": [{ "path": "/api", - "proxyUrl": "http://localhost:3000/api" + "proxyUrl": "https://bch-insight.bitpay.com/api" }] } diff --git a/app/src/components/denomination/denomination.html b/app/src/components/denomination/denomination.html new file mode 100644 index 0000000..90d41b6 --- /dev/null +++ b/app/src/components/denomination/denomination.html @@ -0,0 +1,4 @@ + +
+ {{text}} +
diff --git a/app/src/components/denomination/denomination.module.ts b/app/src/components/denomination/denomination.module.ts new file mode 100644 index 0000000..1c9e478 --- /dev/null +++ b/app/src/components/denomination/denomination.module.ts @@ -0,0 +1,19 @@ +import { NgModule } from '@angular/core'; +import { IonicModule } from 'ionic-angular'; +import { DenominationComponent } from './denomination'; + +@NgModule({ + declarations: [ + DenominationComponent + ], + imports: [ + IonicModule + ], + exports: [ + DenominationComponent + ], + entryComponents: [ + DenominationComponent + ] +}) +export class DenominationComponentModule {} diff --git a/app/src/components/denomination/denomination.scss b/app/src/components/denomination/denomination.scss new file mode 100644 index 0000000..742e908 --- /dev/null +++ b/app/src/components/denomination/denomination.scss @@ -0,0 +1,3 @@ +denomination { + +} diff --git a/app/src/components/denomination/denomination.ts b/app/src/components/denomination/denomination.ts new file mode 100644 index 0000000..62a8fcd --- /dev/null +++ b/app/src/components/denomination/denomination.ts @@ -0,0 +1,22 @@ +import { Component } from '@angular/core'; + +/** + * Generated class for the DenominationComponent component. + * + * See https://angular.io/docs/ts/latest/api/core/index/ComponentMetadata-class.html + * for more info on Angular Components. + */ +@Component({ + selector: 'denomination', + templateUrl: 'denomination.html' +}) +export class DenominationComponent { + + public text: string; + + constructor() { + console.log('Hello DenominationComponent Component'); + this.text = 'Hello World'; + } + +} diff --git a/app/src/components/head-nav/head-nav.html b/app/src/components/head-nav/head-nav.html index e15d519..c439265 100644 --- a/app/src/components/head-nav/head-nav.html +++ b/app/src/components/head-nav/head-nav.html @@ -4,7 +4,7 @@ {{title}} -