resouesed page
This commit is contained in:
@@ -302,6 +302,11 @@ const routes: Routes = [
|
||||
path: 'learnmore',
|
||||
loadChildren: () => import('./pages/learnmore/learnmore.module').then(m => m.LearnmorePageModule)
|
||||
},
|
||||
{
|
||||
path: 'resources',
|
||||
loadChildren: () => import('./pages/resources/resources.module').then(m => m.ResourcesPageModule)
|
||||
},
|
||||
|
||||
|
||||
// {
|
||||
// path: 'startlogin',
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
import { NgModule } from '@angular/core';
|
||||
import { Routes, RouterModule } from '@angular/router';
|
||||
|
||||
import { ResourcesPage } from './resources.page';
|
||||
|
||||
const routes: Routes = [
|
||||
{
|
||||
path: '',
|
||||
component: ResourcesPage
|
||||
}
|
||||
];
|
||||
|
||||
@NgModule({
|
||||
imports: [RouterModule.forChild(routes)],
|
||||
exports: [RouterModule],
|
||||
})
|
||||
export class ResourcesPageRoutingModule {}
|
||||
@@ -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 { ResourcesPageRoutingModule } from './resources-routing.module';
|
||||
|
||||
import { ResourcesPage } from './resources.page';
|
||||
|
||||
@NgModule({
|
||||
imports: [
|
||||
CommonModule,
|
||||
FormsModule,
|
||||
IonicModule,
|
||||
ResourcesPageRoutingModule
|
||||
],
|
||||
declarations: [ResourcesPage]
|
||||
})
|
||||
export class ResourcesPageModule {}
|
||||
@@ -0,0 +1,9 @@
|
||||
<ion-header>
|
||||
<ion-toolbar>
|
||||
<ion-title>resources</ion-title>
|
||||
</ion-toolbar>
|
||||
</ion-header>
|
||||
|
||||
<ion-content>
|
||||
|
||||
</ion-content>
|
||||
@@ -0,0 +1,24 @@
|
||||
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
|
||||
import { IonicModule } from '@ionic/angular';
|
||||
|
||||
import { ResourcesPage } from './resources.page';
|
||||
|
||||
describe('ResourcesPage', () => {
|
||||
let component: ResourcesPage;
|
||||
let fixture: ComponentFixture<ResourcesPage>;
|
||||
|
||||
beforeEach(waitForAsync(() => {
|
||||
TestBed.configureTestingModule({
|
||||
declarations: [ ResourcesPage ],
|
||||
imports: [IonicModule.forRoot()]
|
||||
}).compileComponents();
|
||||
|
||||
fixture = TestBed.createComponent(ResourcesPage);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
}));
|
||||
|
||||
it('should create', () => {
|
||||
expect(component).toBeTruthy();
|
||||
});
|
||||
});
|
||||
@@ -0,0 +1,15 @@
|
||||
import { Component, OnInit } from '@angular/core';
|
||||
|
||||
@Component({
|
||||
selector: 'app-resources',
|
||||
templateUrl: './resources.page.html',
|
||||
styleUrls: ['./resources.page.scss'],
|
||||
})
|
||||
export class ResourcesPage implements OnInit {
|
||||
|
||||
constructor() { }
|
||||
|
||||
ngOnInit() {
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user