diff --git a/src/app/app.component.html b/src/app/app.component.html index a5bb06d..6efeb3a 100644 --- a/src/app/app.component.html +++ b/src/app/app.component.html @@ -3,8 +3,8 @@ - Olá, User - user@test.com + Olá + Seja bem vindo {{ p.title }} - + - - + + diff --git a/src/app/interface/user.ts b/src/app/interface/user.ts new file mode 100644 index 0000000..770d8e6 --- /dev/null +++ b/src/app/interface/user.ts @@ -0,0 +1,8 @@ +export interface User { + nome: string; + sobrenome: string; + email: string; + sexo: string; + dataDeNasc: Date; + salario: number; +} diff --git a/src/app/pages/configuracoes/configuracoes.page.html b/src/app/pages/configuracoes/configuracoes.page.html index c89f865..ce68994 100644 --- a/src/app/pages/configuracoes/configuracoes.page.html +++ b/src/app/pages/configuracoes/configuracoes.page.html @@ -31,7 +31,7 @@ Data de Nascimento new Date(b.diaCompra).getTime() - new Date(a.diaCompra).getTime()) diff --git a/src/app/pages/inicial/inicial.page.ts b/src/app/pages/inicial/inicial.page.ts index b40699e..4b9d2c1 100644 --- a/src/app/pages/inicial/inicial.page.ts +++ b/src/app/pages/inicial/inicial.page.ts @@ -6,10 +6,8 @@ import { Component, OnInit } from '@angular/core'; styleUrls: ['./inicial.page.scss'], }) export class InicialPage implements OnInit { + constructor() {} - constructor() { } - - ngOnInit() { - } + ngOnInit() {} }