This commit is contained in:
tiago.kayaya
2021-03-15 15:19:07 +01:00
parent 22c8951c0f
commit 6fba6c0d64
13 changed files with 148 additions and 33 deletions
@@ -0,0 +1,17 @@
import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { EmptyChatPage } from './empty-chat.page';
const routes: Routes = [
{
path: '',
component: EmptyChatPage
}
];
@NgModule({
imports: [RouterModule.forChild(routes)],
exports: [RouterModule],
})
export class EmptyChatPageRoutingModule {}
@@ -0,0 +1,20 @@
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule } from '@angular/forms';
import { IonicModule } from '@ionic/angular';
import { EmptyChatPageRoutingModule } from './empty-chat-routing.module';
import { EmptyChatPage } from './empty-chat.page';
@NgModule({
imports: [
CommonModule,
FormsModule,
IonicModule,
EmptyChatPageRoutingModule
],
declarations: [EmptyChatPage]
})
export class EmptyChatPageModule {}
@@ -0,0 +1,5 @@
<ion-content>
<div class="center height-100">
<p>Sem conversa selecionada</p>
</div>
</ion-content>
@@ -0,0 +1,5 @@
.center {
display: flex;
justify-content: center;
align-items: center;
}
@@ -0,0 +1,24 @@
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
import { IonicModule } from '@ionic/angular';
import { EmptyChatPage } from './empty-chat.page';
describe('EmptyChatPage', () => {
let component: EmptyChatPage;
let fixture: ComponentFixture<EmptyChatPage>;
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
declarations: [ EmptyChatPage ],
imports: [IonicModule.forRoot()]
}).compileComponents();
fixture = TestBed.createComponent(EmptyChatPage);
component = fixture.componentInstance;
fixture.detectChanges();
}));
it('should create', () => {
expect(component).toBeTruthy();
});
});
@@ -0,0 +1,15 @@
import { Component, OnInit } from '@angular/core';
@Component({
selector: 'app-empty-chat',
templateUrl: './empty-chat.page.html',
styleUrls: ['./empty-chat.page.scss'],
})
export class EmptyChatPage implements OnInit {
constructor() { }
ngOnInit() {
}
}