added values align page

This commit is contained in:
Ryan Bakkes 2022-01-03 02:35:58 +01:00
parent 938dc72044
commit 276e4c73e8
7 changed files with 99 additions and 0 deletions

View File

@ -14,6 +14,10 @@ const routes: Routes = [
path: 'values', path: 'values',
loadChildren: () => import('./values/values.module').then( m => m.ValuesPageModule) loadChildren: () => import('./values/values.module').then( m => m.ValuesPageModule)
}, },
{
path: 'valuesAlign',
loadChildren: () => import('./valuesAlign/valuesAlign.module').then( m => m.ValuesAlignPageModule)
},
{ {
path: '', path: '',
redirectTo: 'home', redirectTo: 'home',

View File

@ -0,0 +1,16 @@
import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
import { ValuesAlignPage } from './valuesAlign.page';
const routes: Routes = [
{
path: '',
component: ValuesAlignPage,
}
];
@NgModule({
imports: [RouterModule.forChild(routes)],
exports: [RouterModule]
})
export class ValuesAlignPageRoutingModule {}

View File

@ -0,0 +1,19 @@
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { IonicModule } from '@ionic/angular';
import { FormsModule } from '@angular/forms';
import { ValuesAlignPage } from './valuesAlign.page';
import { ValuesAlignPageRoutingModule } from './valuesAlign-routing.module';
@NgModule({
imports: [
CommonModule,
FormsModule,
IonicModule,
ValuesAlignPageRoutingModule
],
declarations: [ValuesAlignPage]
})
export class ValuesAlignPageModule {}

View File

@ -0,0 +1,15 @@
<!-- <ion-header [translucent]="true">
<ion-toolbar>
<ion-title>
Blank
</ion-title>
</ion-toolbar>
</ion-header> -->
<ion-content [fullscreen]="true">
<div class="logo">
<img class="logo_dark" src="assets/logo-authentes.png" />
<img class="logo_light" src="assets/logo-authentes-white.png" />
</div>
</ion-content>

View File

@ -0,0 +1,8 @@
#container {
text-align: center;
position: absolute;
left: 0;
right: 0;
top: 50%;
transform: translateY(-50%);
}

View File

@ -0,0 +1,24 @@
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
import { IonicModule } from '@ionic/angular';
import { ValuesAlignPage } from './valuesAlign.page';
describe('HomePage', () => {
let component: ValuesAlignPage;
let fixture: ComponentFixture<ValuesAlignPage>;
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
declarations: [ ValuesAlignPage ],
imports: [IonicModule.forRoot()]
}).compileComponents();
fixture = TestBed.createComponent(ValuesAlignPage);
component = fixture.componentInstance;
fixture.detectChanges();
}));
it('should create', () => {
expect(component).toBeTruthy();
});
});

View File

@ -0,0 +1,13 @@
import { Component, Input, ViewChildren, QueryList, ElementRef, EventEmitter, Output, Renderer2, ViewChild } from '@angular/core';
import { Router } from '@angular/router';
import { GestureController } from '@ionic/angular';
@Component({
selector: 'app-home',
templateUrl: 'valuesAlign.page.html',
styleUrls: ['valuesAlign.page.scss'],
})
export class ValuesAlignPage {
constructor(private router: Router, private renderer: Renderer2, private gestureCtrl: GestureController) {}
}