diff --git a/src/app/app-routing.module.ts b/src/app/app-routing.module.ts index 48ee618..dfcd7a9 100644 --- a/src/app/app-routing.module.ts +++ b/src/app/app-routing.module.ts @@ -14,10 +14,6 @@ const routes: Routes = [ path: 'live', loadChildren: () => import('./live/live.module').then( m => m.LivePageModule) }, - { - path: 'more', - loadChildren: () => import('./more/more.module').then( m => m.MorePageModule) - }, { path: 'home-details', loadChildren: () => import('./home-details/home-details.module').then( m => m.HomeDetailsPageModule) diff --git a/src/app/more/more-routing.module.ts b/src/app/more/more-routing.module.ts deleted file mode 100644 index 61d5434..0000000 --- a/src/app/more/more-routing.module.ts +++ /dev/null @@ -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 {} diff --git a/src/app/more/more.module.ts b/src/app/more/more.module.ts deleted file mode 100644 index 380cbfa..0000000 --- a/src/app/more/more.module.ts +++ /dev/null @@ -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 {} diff --git a/src/app/more/more.page.html b/src/app/more/more.page.html deleted file mode 100644 index fda096f..0000000 --- a/src/app/more/more.page.html +++ /dev/null @@ -1,14 +0,0 @@ - - - - - - diff --git a/src/app/more/more.page.scss b/src/app/more/more.page.scss deleted file mode 100644 index e69de29..0000000 diff --git a/src/app/more/more.page.spec.ts b/src/app/more/more.page.spec.ts deleted file mode 100644 index 71bcf5d..0000000 --- a/src/app/more/more.page.spec.ts +++ /dev/null @@ -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; - - 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(); - }); -}); diff --git a/src/app/more/more.page.ts b/src/app/more/more.page.ts deleted file mode 100644 index 72f66c4..0000000 --- a/src/app/more/more.page.ts +++ /dev/null @@ -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() { - } - -} diff --git a/src/app/tabs/tabs-routing.module.ts b/src/app/tabs/tabs-routing.module.ts index d4fbfb1..bcc27e0 100644 --- a/src/app/tabs/tabs-routing.module.ts +++ b/src/app/tabs/tabs-routing.module.ts @@ -15,30 +15,6 @@ const routes: Routes = [ path: 'live', 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', loadChildren: () => import('../fan-zone/fan-zone.module').then( m => m.FanZonePageModule) @@ -47,7 +23,7 @@ const routes: Routes = [ }, { path: '', - redirectTo: '/tabs/home', + redirectTo: '/tabs/live', pathMatch: 'full' } ];