home page

This commit is contained in:
CHIEFSOFT\ameye
2024-01-04 11:02:28 -05:00
parent 8096f6638b
commit 883ba855a7
9 changed files with 107 additions and 0 deletions
+12
View File
@@ -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
+9
View File
@@ -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: [
@@ -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 {}
+20
View File
@@ -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 {}
+14
View File
@@ -0,0 +1,14 @@
<ion-content
style="--background-color: #0d0d0d;"
[fullscreen]="true">
<div
style="background-color: green;
width: 100%;
background-image: url(./assets/img/home-back.jpg);
background-repeat: no-repeat;
background-size: cover;
height: 100%;">
</div>
</ion-content>
+3
View File
@@ -0,0 +1,3 @@
ion-content{
background-color: #2dd36f;
}
+17
View File
@@ -0,0 +1,17 @@
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { MyfitPage } from './myfit.page';
describe('MyfitPage', () => {
let component: MyfitPage;
let fixture: ComponentFixture<MyfitPage>;
beforeEach(async(() => {
fixture = TestBed.createComponent(MyfitPage);
component = fixture.componentInstance;
fixture.detectChanges();
}));
it('should create', () => {
expect(component).toBeTruthy();
});
});
+15
View File
@@ -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() {
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 70 KiB