dash page
This commit is contained in:
@@ -21,10 +21,15 @@ const routes: Routes = [
|
||||
{
|
||||
path: 'register',
|
||||
loadChildren: () => import('./extpages/register/register.module').then(m => m.RegisterPageModule)
|
||||
},
|
||||
{
|
||||
path: 'dash',
|
||||
loadChildren: () => import('./pages/dash/dash.module').then(m => m.DashPageModule)
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
];
|
||||
@NgModule({
|
||||
imports: [
|
||||
|
||||
@@ -63,7 +63,7 @@
|
||||
</ion-row>
|
||||
|
||||
</ion-grid>
|
||||
<div *ngIf="showSocial == true ">
|
||||
<div *ngIf="showSocial === true ">
|
||||
|
||||
<div style="background-color: #fdf9fc;
|
||||
margin-left: 20px;
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
.simp_lbl_tx{
|
||||
margin-top: 10px;
|
||||
font-size: 20px;
|
||||
margin-top: 5px;
|
||||
font-size: 18px;
|
||||
letter-spacing: 1.2px;
|
||||
margin-bottom: 15px;
|
||||
margin-bottom: 10px;
|
||||
padding-bottom: 10px;
|
||||
font-weight: bolder;
|
||||
// font-family: 'semi-bold';
|
||||
|
||||
@@ -31,7 +31,7 @@ ios:boolean=true;
|
||||
}
|
||||
}
|
||||
startLogin(){
|
||||
this.router.navigate(['tabs/tab1']);
|
||||
this.router.navigate(['dash']);
|
||||
}
|
||||
startSignup(){
|
||||
this.router.navigate(['register']);
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
import { NgModule } from '@angular/core';
|
||||
import { Routes, RouterModule } from '@angular/router';
|
||||
|
||||
import { DashPage } from './dash.page';
|
||||
|
||||
const routes: Routes = [
|
||||
{
|
||||
path: '',
|
||||
component: DashPage
|
||||
}
|
||||
];
|
||||
|
||||
@NgModule({
|
||||
imports: [RouterModule.forChild(routes)],
|
||||
exports: [RouterModule],
|
||||
})
|
||||
export class DashPageRoutingModule {}
|
||||
@@ -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 { DashPageRoutingModule } from './dash-routing.module';
|
||||
|
||||
import { DashPage } from './dash.page';
|
||||
|
||||
@NgModule({
|
||||
imports: [
|
||||
CommonModule,
|
||||
FormsModule,
|
||||
IonicModule,
|
||||
DashPageRoutingModule
|
||||
],
|
||||
declarations: [DashPage]
|
||||
})
|
||||
export class DashPageModule {}
|
||||
@@ -0,0 +1,79 @@
|
||||
<ion-header [translucent]="true">
|
||||
<ion-toolbar>
|
||||
<ion-title><img style="max-width: 150px;" src="https://www.myfit.ai/assets/images/logo.png" /></ion-title>
|
||||
</ion-toolbar>
|
||||
</ion-header>
|
||||
|
||||
<ion-content [fullscreen]="true">
|
||||
<div class="boxed_contents">
|
||||
<div class="top-flex">
|
||||
<div>
|
||||
<img src="https://www.myfit.ai/assets/images/blog_d01.png" />
|
||||
</div>
|
||||
<div>
|
||||
<div class="acc-name">Firstname Lastname</div>
|
||||
<hr style="color: red" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<ion-grid class="card-block">
|
||||
<ion-row class="card-row">
|
||||
<ion-col class="card-col">
|
||||
<ion-card class="card-part">
|
||||
<ion-card-header>
|
||||
<ion-card-title>Card Title</ion-card-title>
|
||||
<ion-card-subtitle>Card Subtitle</ion-card-subtitle>
|
||||
</ion-card-header>
|
||||
|
||||
<ion-card-content>
|
||||
Here's a small text description for the card content. Nothing more, nothing less.
|
||||
</ion-card-content>
|
||||
</ion-card>
|
||||
</ion-col>
|
||||
<ion-col class="card-col">
|
||||
<ion-card class="card-part">
|
||||
<ion-card-header>
|
||||
<ion-card-title>Card Title</ion-card-title>
|
||||
<ion-card-subtitle>Card Subtitle</ion-card-subtitle>
|
||||
</ion-card-header>
|
||||
|
||||
<ion-card-content>
|
||||
Here's a small text description for the card content. Nothing more, nothing less.
|
||||
</ion-card-content>
|
||||
</ion-card>
|
||||
</ion-col>
|
||||
</ion-row>
|
||||
<ion-row class="card-row">
|
||||
<ion-col class="card-col">
|
||||
<ion-card class="card-part">
|
||||
<ion-card-header>
|
||||
<ion-card-title>Card Title</ion-card-title>
|
||||
<ion-card-subtitle>Card Subtitle</ion-card-subtitle>
|
||||
</ion-card-header>
|
||||
|
||||
<ion-card-content>
|
||||
Here's a small text description for the card content. Nothing more, nothing less.
|
||||
</ion-card-content>
|
||||
</ion-card>
|
||||
</ion-col>
|
||||
<ion-col class="card-col">
|
||||
<ion-card class="card-part">
|
||||
<ion-card-header>
|
||||
<ion-card-title>Card Title</ion-card-title>
|
||||
<ion-card-subtitle>Card Subtitle</ion-card-subtitle>
|
||||
</ion-card-header>
|
||||
|
||||
<ion-card-content>
|
||||
Here's a small text description for the card content. Nothing more, nothing less.
|
||||
</ion-card-content>
|
||||
</ion-card>
|
||||
</ion-col>
|
||||
</ion-row>
|
||||
<ion-row>
|
||||
<ion-col>1</ion-col>
|
||||
</ion-row>
|
||||
</ion-grid>
|
||||
|
||||
</div>
|
||||
|
||||
</ion-content>
|
||||
@@ -0,0 +1,26 @@
|
||||
.top-flex{
|
||||
background-color: #fdf9fc;
|
||||
display: flex;
|
||||
.acc-name{
|
||||
font-weight: bolder;
|
||||
font-size: 22px;
|
||||
padding: 10px 0px 0px 10px;
|
||||
}
|
||||
}
|
||||
|
||||
.card-block{
|
||||
margin: 0px;
|
||||
//background-color: yellow;
|
||||
.card-row{
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
.card-col{
|
||||
// background-color: red;
|
||||
padding: 0px;
|
||||
.card-part{
|
||||
padding: 0px;
|
||||
margin: 10px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
||||
import { DashPage } from './dash.page';
|
||||
|
||||
describe('DashPage', () => {
|
||||
let component: DashPage;
|
||||
let fixture: ComponentFixture<DashPage>;
|
||||
|
||||
beforeEach(async(() => {
|
||||
fixture = TestBed.createComponent(DashPage);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
}));
|
||||
|
||||
it('should create', () => {
|
||||
expect(component).toBeTruthy();
|
||||
});
|
||||
});
|
||||
@@ -0,0 +1,15 @@
|
||||
import { Component, OnInit } from '@angular/core';
|
||||
|
||||
@Component({
|
||||
selector: 'app-dash',
|
||||
templateUrl: './dash.page.html',
|
||||
styleUrls: ['./dash.page.scss'],
|
||||
})
|
||||
export class DashPage implements OnInit {
|
||||
|
||||
constructor() { }
|
||||
|
||||
ngOnInit() {
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user