UI of publication´s list page finished

This commit is contained in:
Tiago Kayaya
2020-12-01 14:03:15 +01:00
parent 216ef1dc9f
commit 8e31026caa
34 changed files with 680 additions and 2 deletions
@@ -0,0 +1,17 @@
import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { GalleryPage } from './gallery.page';
const routes: Routes = [
{
path: '',
component: GalleryPage
}
];
@NgModule({
imports: [RouterModule.forChild(routes)],
exports: [RouterModule],
})
export class GalleryPageRoutingModule {}
@@ -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 { GalleryPageRoutingModule } from './gallery-routing.module';
import { GalleryPage } from './gallery.page';
@NgModule({
imports: [
CommonModule,
FormsModule,
IonicModule,
GalleryPageRoutingModule
],
declarations: [GalleryPage]
})
export class GalleryPageModule {}
@@ -0,0 +1,9 @@
<ion-header>
<ion-toolbar>
<ion-title>gallery</ion-title>
</ion-toolbar>
</ion-header>
<ion-content>
</ion-content>
@@ -0,0 +1,24 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { IonicModule } from '@ionic/angular';
import { GalleryPage } from './gallery.page';
describe('GalleryPage', () => {
let component: GalleryPage;
let fixture: ComponentFixture<GalleryPage>;
beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [ GalleryPage ],
imports: [IonicModule.forRoot()]
}).compileComponents();
fixture = TestBed.createComponent(GalleryPage);
component = fixture.componentInstance;
fixture.detectChanges();
}));
it('should create', () => {
expect(component).toBeTruthy();
});
});
@@ -0,0 +1,15 @@
import { Component, OnInit } from '@angular/core';
@Component({
selector: 'app-gallery',
templateUrl: './gallery.page.html',
styleUrls: ['./gallery.page.scss'],
})
export class GalleryPage implements OnInit {
constructor() { }
ngOnInit() {
}
}