diff --git a/REMEBER.txt b/REMEBER.txt index 7736c7a..4fad7c4 100644 --- a/REMEBER.txt +++ b/REMEBER.txt @@ -9,3 +9,15 @@ Your Ionic app is ready! Follow these next steps: - Building an enterprise app? Ionic has Enterprise Support and Features: https://ion.link/enterprise-edition Chiefsoft@DESKTOP-08L2E1S MINGW64 /c/WORKS/APPS + +npm install @capacitor/assets --save-dev +npx capacitor-assets generate + +ionic capacitor build + +ionic generate page myfit + +ionic generate page blogdetail +ionic generate page marketdetail +ionic generate page activetask +ionic generate page mytask diff --git a/src/app/app-routing.module.ts b/src/app/app-routing.module.ts index 5c818b7..1e7e062 100644 --- a/src/app/app-routing.module.ts +++ b/src/app/app-routing.module.ts @@ -4,8 +4,17 @@ import { PreloadAllModules, RouterModule, Routes } from '@angular/router'; const routes: Routes = [ { path: '', + loadChildren: () => import('./extpages/myfit/myfit.module').then(m => m.MyfitPageModule) + }, + { + path: 'dash', loadChildren: () => import('./pages/tabs/tabs.module').then(m => m.TabsPageModule) + }, + { + path: 'myfit', + loadChildren: () => import('./extpages/myfit/myfit.module').then(m => m.MyfitPageModule) } + ]; @NgModule({ imports: [ diff --git a/src/app/extpages/myfit/myfit-routing.module.ts b/src/app/extpages/myfit/myfit-routing.module.ts new file mode 100644 index 0000000..4857a08 --- /dev/null +++ b/src/app/extpages/myfit/myfit-routing.module.ts @@ -0,0 +1,17 @@ +import { NgModule } from '@angular/core'; +import { Routes, RouterModule } from '@angular/router'; + +import { MyfitPage } from './myfit.page'; + +const routes: Routes = [ + { + path: '', + component: MyfitPage + } +]; + +@NgModule({ + imports: [RouterModule.forChild(routes)], + exports: [RouterModule], +}) +export class MyfitPageRoutingModule {} diff --git a/src/app/extpages/myfit/myfit.module.ts b/src/app/extpages/myfit/myfit.module.ts new file mode 100644 index 0000000..022dca0 --- /dev/null +++ b/src/app/extpages/myfit/myfit.module.ts @@ -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 { MyfitPageRoutingModule } from './myfit-routing.module'; + +import { MyfitPage } from './myfit.page'; + +@NgModule({ + imports: [ + CommonModule, + FormsModule, + IonicModule, + MyfitPageRoutingModule + ], + declarations: [MyfitPage] +}) +export class MyfitPageModule {} diff --git a/src/app/extpages/myfit/myfit.page.html b/src/app/extpages/myfit/myfit.page.html new file mode 100644 index 0000000..0eb71a7 --- /dev/null +++ b/src/app/extpages/myfit/myfit.page.html @@ -0,0 +1,14 @@ + +
+ +
+ +
diff --git a/src/app/extpages/myfit/myfit.page.scss b/src/app/extpages/myfit/myfit.page.scss new file mode 100644 index 0000000..10c079c --- /dev/null +++ b/src/app/extpages/myfit/myfit.page.scss @@ -0,0 +1,3 @@ +ion-content{ + background-color: #2dd36f; +} diff --git a/src/app/extpages/myfit/myfit.page.spec.ts b/src/app/extpages/myfit/myfit.page.spec.ts new file mode 100644 index 0000000..a615d4a --- /dev/null +++ b/src/app/extpages/myfit/myfit.page.spec.ts @@ -0,0 +1,17 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; +import { MyfitPage } from './myfit.page'; + +describe('MyfitPage', () => { + let component: MyfitPage; + let fixture: ComponentFixture; + + beforeEach(async(() => { + fixture = TestBed.createComponent(MyfitPage); + component = fixture.componentInstance; + fixture.detectChanges(); + })); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/src/app/extpages/myfit/myfit.page.ts b/src/app/extpages/myfit/myfit.page.ts new file mode 100644 index 0000000..faa956a --- /dev/null +++ b/src/app/extpages/myfit/myfit.page.ts @@ -0,0 +1,15 @@ +import { Component, OnInit } from '@angular/core'; + +@Component({ + selector: 'app-myfit', + templateUrl: './myfit.page.html', + styleUrls: ['./myfit.page.scss'], +}) +export class MyfitPage implements OnInit { + + constructor() { } + + ngOnInit() { + } + +} diff --git a/src/assets/img/home-back.jpg b/src/assets/img/home-back.jpg new file mode 100644 index 0000000..c122108 Binary files /dev/null and b/src/assets/img/home-back.jpg differ