Commit 742b979d by amal

Merge branch 'amal' into 'master'

updates See merge request !22
parents 10305861 85176b0a
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
"private": true, "private": true,
"dependencies": { "dependencies": {
"@agm/core": "^1.0.0-beta.7", "@agm/core": "^1.0.0-beta.7",
"@angular/animations": "^8.2.2", "@angular/animations": "^8.2.11",
"@angular/common": "~8.1.2", "@angular/common": "~8.1.2",
"@angular/compiler": "~8.1.2", "@angular/compiler": "~8.1.2",
"@angular/core": "~8.1.2", "@angular/core": "~8.1.2",
...@@ -99,4 +99,4 @@ ...@@ -99,4 +99,4 @@
"android" "android"
] ]
} }
} }
\ No newline at end of file
...@@ -9,8 +9,6 @@ import { BrowserAnimationsModule } from '@angular/platform-browser/animations'; ...@@ -9,8 +9,6 @@ import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { IonicStorageModule } from '@ionic/storage'; import { IonicStorageModule } from '@ionic/storage';
import { GooglePlus } from '@ionic-native/google-plus/ngx'; import { GooglePlus } from '@ionic-native/google-plus/ngx';
import { AppRoutingModule } from './app-routing.module'; import { AppRoutingModule } from './app-routing.module';
import { AppComponent } from './app.component'; import { AppComponent } from './app.component';
......
...@@ -26,9 +26,13 @@ ...@@ -26,9 +26,13 @@
<input class="" type="password" placeholder="Create A Password"> <input class="" type="password" placeholder="Create A Password">
</div> </div>
<div class="row"> <div class="row">
<ion-datetime displayFormat="DD-MM-YY" placeholder="Date of Birth"></ion-datetime>
</div>
<div class="row">
<h6> <h6>
<input class="styled-checkbox" id="styled-checkbox-1" type="checkbox" value="value1"> <input class="styled-checkbox" id="styled-checkbox-1" type="checkbox" value="value1">
<label for="styled-checkbox-1"><span>I agree with <a>Terms and Conditions</a></span></label></h6> <label for="styled-checkbox-1"><span>I agree with <a (click)="menuToggle()">Terms and
Conditions</a></span></label></h6>
</div> </div>
<div class="row"> <div class="row">
<button class="login_btn" (click)="goToPage('verification')">SIGN UP</button> <button class="login_btn" (click)="goToPage('verification')">SIGN UP</button>
...@@ -49,4 +53,16 @@ ...@@ -49,4 +53,16 @@
</div> </div>
</div> </div>
</div> </div>
</ion-content>
\ No newline at end of file </ion-content>
<div class="terms_wrapper" *ngIf="menuShow" [@slideInOut]>
<div class="terms_inner">
<h5>Terms & Conditions</h5>
<p>
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has
survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop
publishing software like Aldus PageMaker including versions of Lorem Ipsum.
</p>
<button class="accept" (click)="menuToggle()">I Accept</button>
</div>
</div>
\ No newline at end of file
...@@ -23,6 +23,17 @@ ...@@ -23,6 +23,17 @@
border-radius: 8px; border-radius: 8px;
font-size: 16px; font-size: 16px;
} }
ion-datetime {
border: 1px solid rgba(215, 213, 228, 1);
background: transparent;
color: rgba(215, 213, 228, 1);
width: 100%;
height: 45px;
text-align: center;
border-radius: 8px;
font-size: 16px;
padding-left: 0px;
}
.login_btn { .login_btn {
width: 100%; width: 100%;
background-color: #29285b; background-color: #29285b;
...@@ -130,4 +141,49 @@ ...@@ -130,4 +141,49 @@
} }
} }
} }
}
.terms_wrapper {
background-color: rgba(41, 40, 91, 0.6);
color: #fff;
position: fixed;
top: 0px;
bottom: 0px;
left: 0px;
right: 0px;
z-index: 9999;
.terms_inner {
background-color: #fff;
border-radius: 10px;
width: calc(100% - 20px);
margin: 0 auto;
padding: 20px;
padding-top: 10px;
position: relative;
top: 50px;
h5 {
margin: 0px;
border-bottom: 1px solid #a8a8a8;
padding-top: 10px;
padding-bottom: 10px;
text-align: center;
color: rgba(41, 40, 91, 1);
}
p {
color: #a8a8a8;
text-align: justify;
padding-top: 10px;
padding-bottom: 10px;
height: 300px;
overflow: scroll;
}
.accept {
width: 100%;
height: 35px;
background-color: #29285b;
color: #fff;
text-align: center;
border-radius: 2px;
}
}
} }
\ No newline at end of file
import { Component, OnInit } from '@angular/core'; import { Component, OnInit } from '@angular/core';
import { Router, ActivatedRoute } from '@angular/router'; import { Router, ActivatedRoute } from '@angular/router';
import { Location } from '@angular/common'; import { Location } from '@angular/common';
import { trigger, transition, animate, style } from '@angular/animations';
@Component({ @Component({
selector: 'app-signup', selector: 'app-signup',
templateUrl: './signup.page.html', templateUrl: './signup.page.html',
styleUrls: ['./signup.page.scss'], styleUrls: ['./signup.page.scss'],
animations: [
trigger('slideInOut', [
transition(':enter', [
style({ transform: 'translateY(100%)' }),
animate('300ms ease-in', style({ transform: 'translateY(0%)' }))
]),
transition(':leave', [
animate('300ms ease-out', style({ transform: 'translateY(100%)' }))
])
])
]
}) })
export class SignupPage implements OnInit { export class SignupPage implements OnInit {
menuShow = false;
constructor( constructor(
private router: Router, private router: Router,
private route: ActivatedRoute, private route: ActivatedRoute,
...@@ -27,5 +41,10 @@ export class SignupPage implements OnInit { ...@@ -27,5 +41,10 @@ export class SignupPage implements OnInit {
this.location.back(); this.location.back();
} }
menuToggle() {
this.menuShow = !this.menuShow;
}
} }
...@@ -550,4 +550,21 @@ ion-header { ...@@ -550,4 +550,21 @@ ion-header {
background-color: rgba(273, 273, 273, 0.9); background-color: rgba(273, 273, 273, 0.9);
text-align: center; text-align: center;
z-index: 99; z-index: 99;
}
.picker-wrapper {
.picker-toolbar {
.picker-toolbar-button {
.picker-button {
color: #29285b;
font-weight: 900;
}
}
}
.picker-columns {
.picker-opt-selected {
color: #29285b;
font-weight: 900;
}
}
} }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment