| @@ -49,6 +49,10 @@ const routes: Routes = [ | |||||
| { | { | ||||
| path: 'add-party', | path: 'add-party', | ||||
| loadChildren: () => import('./add-party/add-party.module').then( m => m.AddPartyPageModule) | loadChildren: () => import('./add-party/add-party.module').then( m => m.AddPartyPageModule) | ||||
| }, | |||||
| { | |||||
| path: 'ar-fan-cam', | |||||
| loadChildren: () => import('./ar-fan-cam/ar-fan-cam.module').then( m => m.ArFanCamPageModule) | |||||
| } | } | ||||
| ]; | ]; | ||||
| @NgModule({ | @NgModule({ | ||||
| @@ -0,0 +1,17 @@ | |||||
| import { NgModule } from '@angular/core'; | |||||
| import { Routes, RouterModule } from '@angular/router'; | |||||
| import { ArFanCamPage } from './ar-fan-cam.page'; | |||||
| const routes: Routes = [ | |||||
| { | |||||
| path: '', | |||||
| component: ArFanCamPage | |||||
| } | |||||
| ]; | |||||
| @NgModule({ | |||||
| imports: [RouterModule.forChild(routes)], | |||||
| exports: [RouterModule], | |||||
| }) | |||||
| export class ArFanCamPageRoutingModule {} | |||||
| @@ -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 { ArFanCamPageRoutingModule } from './ar-fan-cam-routing.module'; | |||||
| import { ArFanCamPage } from './ar-fan-cam.page'; | |||||
| @NgModule({ | |||||
| imports: [ | |||||
| CommonModule, | |||||
| FormsModule, | |||||
| IonicModule, | |||||
| ArFanCamPageRoutingModule | |||||
| ], | |||||
| declarations: [ArFanCamPage] | |||||
| }) | |||||
| export class ArFanCamPageModule {} | |||||
| @@ -0,0 +1,3 @@ | |||||
| <ion-content> | |||||
| </ion-content> | |||||
| @@ -0,0 +1 @@ | |||||
| @import '../colors'; | |||||
| @@ -0,0 +1,24 @@ | |||||
| import { async, ComponentFixture, TestBed } from '@angular/core/testing'; | |||||
| import { IonicModule } from '@ionic/angular'; | |||||
| import { ArFanCamPage } from './ar-fan-cam.page'; | |||||
| describe('ArFanCamPage', () => { | |||||
| let component: ArFanCamPage; | |||||
| let fixture: ComponentFixture<ArFanCamPage>; | |||||
| beforeEach(async(() => { | |||||
| TestBed.configureTestingModule({ | |||||
| declarations: [ ArFanCamPage ], | |||||
| imports: [IonicModule.forRoot()] | |||||
| }).compileComponents(); | |||||
| fixture = TestBed.createComponent(ArFanCamPage); | |||||
| component = fixture.componentInstance; | |||||
| fixture.detectChanges(); | |||||
| })); | |||||
| it('should create', () => { | |||||
| expect(component).toBeTruthy(); | |||||
| }); | |||||
| }); | |||||
| @@ -0,0 +1,15 @@ | |||||
| import { Component, OnInit } from '@angular/core'; | |||||
| @Component({ | |||||
| selector: 'app-ar-fan-cam', | |||||
| templateUrl: './ar-fan-cam.page.html', | |||||
| styleUrls: ['./ar-fan-cam.page.scss'], | |||||
| }) | |||||
| export class ArFanCamPage implements OnInit { | |||||
| constructor() { } | |||||
| ngOnInit() { | |||||
| } | |||||
| } | |||||
| @@ -26,6 +26,10 @@ const routes: Routes = [ | |||||
| { | { | ||||
| path: 'collections', | path: 'collections', | ||||
| loadChildren: () => import('../collections/collections.module').then( m => m.CollectionsPageModule) | loadChildren: () => import('../collections/collections.module').then( m => m.CollectionsPageModule) | ||||
| }, | |||||
| { | |||||
| path: 'ar', | |||||
| loadChildren: () => import('../ar-fan-cam/ar-fan-cam.module').then( m => m.ArFanCamPageModule) | |||||
| } | } | ||||
| ] | ] | ||||
| }, | }, | ||||
| @@ -11,6 +11,11 @@ | |||||
| <ion-icon name="play-circle"></ion-icon> | <ion-icon name="play-circle"></ion-icon> | ||||
| </ion-tab-button> | </ion-tab-button> | ||||
| <ion-tab-button tab="ar"> | |||||
| <ion-icon name="camera-outline"></ion-icon> | |||||
| <ion-icon name="camera"></ion-icon> | |||||
| </ion-tab-button> | |||||
| <ion-tab-button tab="booking"> | <ion-tab-button tab="booking"> | ||||
| <ion-icon name="ticket-outline"></ion-icon> | <ion-icon name="ticket-outline"></ion-icon> | ||||
| <ion-icon name="ticket"></ion-icon> | <ion-icon name="ticket"></ion-icon> | ||||