@@ -14,10 +14,6 @@ const routes: Routes = [ | |||||
path: 'live', | path: 'live', | ||||
loadChildren: () => import('./live/live.module').then( m => m.LivePageModule) | loadChildren: () => import('./live/live.module').then( m => m.LivePageModule) | ||||
}, | }, | ||||
{ | |||||
path: 'more', | |||||
loadChildren: () => import('./more/more.module').then( m => m.MorePageModule) | |||||
}, | |||||
{ | { | ||||
path: 'home-details', | path: 'home-details', | ||||
loadChildren: () => import('./home-details/home-details.module').then( m => m.HomeDetailsPageModule) | loadChildren: () => import('./home-details/home-details.module').then( m => m.HomeDetailsPageModule) | ||||
@@ -1,17 +0,0 @@ | |||||
import { NgModule } from '@angular/core'; | |||||
import { Routes, RouterModule } from '@angular/router'; | |||||
import { MorePage } from './more.page'; | |||||
const routes: Routes = [ | |||||
{ | |||||
path: '', | |||||
component: MorePage | |||||
} | |||||
]; | |||||
@NgModule({ | |||||
imports: [RouterModule.forChild(routes)], | |||||
exports: [RouterModule], | |||||
}) | |||||
export class MorePageRoutingModule {} |
@@ -1,20 +0,0 @@ | |||||
import { NgModule } from '@angular/core'; | |||||
import { CommonModule } from '@angular/common'; | |||||
import { FormsModule } from '@angular/forms'; | |||||
import { IonicModule } from '@ionic/angular'; | |||||
import { MorePageRoutingModule } from './more-routing.module'; | |||||
import { MorePage } from './more.page'; | |||||
@NgModule({ | |||||
imports: [ | |||||
CommonModule, | |||||
FormsModule, | |||||
IonicModule, | |||||
MorePageRoutingModule | |||||
], | |||||
declarations: [MorePage] | |||||
}) | |||||
export class MorePageModule {} |
@@ -1,14 +0,0 @@ | |||||
<ion-content> | |||||
<button [routerLink]="['/booking']"> | |||||
<ion-icon name="ticket"></ion-icon> | |||||
</button> | |||||
<button [routerLink]="['/collections']"> | |||||
<ion-icon name="trophy"></ion-icon> | |||||
</button> | |||||
<button [routerLink]="['/ar']"> | |||||
<ion-icon name="camera"></ion-icon> | |||||
</button> | |||||
<button [routerLink]="['/quiz']"> | |||||
<ion-icon name="game-controller"></ion-icon> | |||||
</button> | |||||
</ion-content> |
@@ -1,24 +0,0 @@ | |||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; | |||||
import { IonicModule } from '@ionic/angular'; | |||||
import { MorePage } from './more.page'; | |||||
describe('MorePage', () => { | |||||
let component: MorePage; | |||||
let fixture: ComponentFixture<MorePage>; | |||||
beforeEach(async(() => { | |||||
TestBed.configureTestingModule({ | |||||
declarations: [ MorePage ], | |||||
imports: [IonicModule.forRoot()] | |||||
}).compileComponents(); | |||||
fixture = TestBed.createComponent(MorePage); | |||||
component = fixture.componentInstance; | |||||
fixture.detectChanges(); | |||||
})); | |||||
it('should create', () => { | |||||
expect(component).toBeTruthy(); | |||||
}); | |||||
}); |
@@ -1,15 +0,0 @@ | |||||
import { Component, OnInit } from '@angular/core'; | |||||
@Component({ | |||||
selector: 'app-more', | |||||
templateUrl: './more.page.html', | |||||
styleUrls: ['./more.page.scss'], | |||||
}) | |||||
export class MorePage implements OnInit { | |||||
constructor() { } | |||||
ngOnInit() { | |||||
} | |||||
} |
@@ -15,30 +15,6 @@ const routes: Routes = [ | |||||
path: 'live', | path: 'live', | ||||
loadChildren: () => import('../live/live.module').then(m => m.LivePageModule) | loadChildren: () => import('../live/live.module').then(m => m.LivePageModule) | ||||
}, | }, | ||||
{ | |||||
path: 'more', | |||||
loadChildren: () => import('../more/more.module').then(m => m.MorePageModule) | |||||
}, | |||||
{ | |||||
path: 'booking', | |||||
loadChildren: () => import('../booking/booking.module').then( m => m.BookingPageModule) | |||||
}, | |||||
{ | |||||
path: 'collections', | |||||
loadChildren: () => import('../collections/collections.module').then( m => m.CollectionsPageModule) | |||||
}, | |||||
{ | |||||
path: 'ar', | |||||
loadChildren: () => import('../ar-fan-cam/ar-fan-cam.module').then( m => m.ArFanCamPageModule) | |||||
}, | |||||
{ | |||||
path: 'quiz', | |||||
loadChildren: () => import('../quiz/quiz.module').then( m => m.QuizPageModule) | |||||
}, | |||||
{ | |||||
path: 'shop', | |||||
loadChildren: () => import('../shop/shop.module').then( m => m.ShopPageModule) | |||||
}, | |||||
{ | { | ||||
path: 'fan-zone', | path: 'fan-zone', | ||||
loadChildren: () => import('../fan-zone/fan-zone.module').then( m => m.FanZonePageModule) | loadChildren: () => import('../fan-zone/fan-zone.module').then( m => m.FanZonePageModule) | ||||
@@ -47,7 +23,7 @@ const routes: Routes = [ | |||||
}, | }, | ||||
{ | { | ||||
path: '', | path: '', | ||||
redirectTo: '/tabs/home', | |||||
redirectTo: '/tabs/live', | |||||
pathMatch: 'full' | pathMatch: 'full' | ||||
} | } | ||||
]; | ]; | ||||