Project: Mall App Client: Maiora
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

195 rivejä
7.5 KiB

  1. <ion-content>
  2. <ion-slides pager="false" [options]="slideOpts">
  3. <!-- Slide 1 -->
  4. <ion-slide class="page1">
  5. <figure class="logo">
  6. <img src="assets/custom/logo.svg">
  7. </figure>
  8. <header>
  9. Welcome to <br> the Mall Application
  10. </header>
  11. <p class="description">
  12. The best place to find the Malls, Food Centers, Shops and Parking Places!
  13. </p>
  14. <figure class="onboard-image">
  15. <img src="assets/custom/onboarding.svg">
  16. </figure>
  17. <ion-button class="next-button" shape="round" (click)="nextPage()">
  18. Get Started
  19. </ion-button>
  20. <p class="signin-description">
  21. Already have account? <a [routerLink]="['/login']"> Sign in </a>
  22. </p>
  23. </ion-slide>
  24. <!-- Slide 2 -->
  25. <!-- <ion-slide class="page2">
  26. <ion-button class="back-button" color="transparent" size="small" (click)="previousPage()">
  27. <ion-icon src="assets/custom/left-arrow.svg"></ion-icon>
  28. </ion-button>
  29. <figure class="logo">
  30. <img src="assets/custom/logo.svg">
  31. </figure>
  32. <header>
  33. Do you want to turn <br> on notification?
  34. </header>
  35. <figure class="onboard-image">
  36. <img src="assets/custom/onboarding-2.svg">
  37. </figure>
  38. <ion-list lines="none">
  39. <ion-item>
  40. <ion-icon slot="start" src="assets/custom/tick.svg"></ion-icon>
  41. Malls around
  42. </ion-item>
  43. <ion-item>
  44. <ion-icon slot="start" src="assets/custom/tick.svg"></ion-icon>
  45. Attractive Offers
  46. </ion-item>
  47. <ion-item>
  48. <ion-icon slot="start" src="assets/custom/tick.svg"></ion-icon>
  49. Personalized Reminders
  50. </ion-item>
  51. </ion-list>
  52. <ion-button class="next-button" shape="round" (click)="nextPage()">
  53. Continue
  54. </ion-button>
  55. <p class="signin-description" (click)="nextPage()">
  56. <a> Not Now </a>
  57. </p>
  58. </ion-slide> -->
  59. <!-- Slide 5 -->
  60. <ion-slide class="page5">
  61. <ion-button class="back-button" color="transparent" size="small" (click)="previousPage()">
  62. <ion-icon src="assets/custom/left-arrow.svg"></ion-icon>
  63. </ion-button>
  64. <figure class="logo">
  65. <img src="assets/custom/logo.svg">
  66. </figure>
  67. <header>
  68. Now let's set up your <br> Profile
  69. </header>
  70. <div class="input-holder">
  71. <img src="assets/custom/name.svg">
  72. <input type="text" placeholder="Username" [(ngModel)]="credentials.username">
  73. </div>
  74. <div class="input-holder">
  75. <img src="assets/custom/email.svg">
  76. <input type="email" placeholder="Email ID" [(ngModel)]="credentials.email">
  77. </div>
  78. <div class="input-holder">
  79. <img src="assets/custom/name.svg">
  80. <input type="text" placeholder="Name" [(ngModel)]="credentials.name">
  81. </div>
  82. <div class="input-holder">
  83. <img src="assets/custom/india.svg">
  84. <input type="tel" placeholder="Mobile number" [(ngModel)]="credentials.mobile">
  85. </div>
  86. <div class="input-holder">
  87. <input *ngIf="!show_password" type="password" placeholder="Password"
  88. [(ngModel)]="credentials.password" (input)="checkPassword()">
  89. <input *ngIf="show_password" type="text" placeholder="Password"
  90. [(ngModel)]="credentials.password" (input)="checkPassword()">
  91. <ion-icon *ngIf="!show_password" name="eye" (click)="show_password = !show_password"></ion-icon>
  92. <ion-icon *ngIf="show_password" name="eye-off" (click)="show_password = !show_password"></ion-icon>
  93. </div>
  94. <ion-list lines="none">
  95. <ion-item [ngClass]="{'active' : credentials.password.length > 8 }">
  96. <div class="check-ball"></div>
  97. 8 + Characters
  98. </ion-item>
  99. <ion-item [ngClass]="{'active' : has_upper }">
  100. <div class="check-ball"></div>
  101. Atleast 1 Uppercase
  102. </ion-item>
  103. <ion-item [ngClass]="{'active' : has_special }">
  104. <div class="check-ball"></div>
  105. Atleast 1 Symbol
  106. </ion-item>
  107. </ion-list>
  108. <ion-button class="next-button" shape="round" [disabled]="!this.credentials.mobile || !this.credentials.password || !this.credentials.email"
  109. (click)="registerUser()">
  110. Continue
  111. </ion-button>
  112. </ion-slide>
  113. <ion-slide class="page4">
  114. <ion-button class="back-button" color="transparent" size="small" (click)="previousPage()">
  115. <ion-icon src="assets/custom/left-arrow.svg"></ion-icon>
  116. </ion-button>
  117. <figure class="logo">
  118. <img src="assets/custom/logo.svg">
  119. </figure>
  120. <header>
  121. Please enter the otp sent <br> to your registered email id
  122. </header>
  123. <div class="input-holder">
  124. <img src="assets/custom/otp.svg">
  125. <input type="tel" placeholder="OTP" [(ngModel)]="otp">
  126. </div>
  127. <p class="signin-description">
  128. Didn't received OTP <a> Resend in 00:{{ padBefore(timer) }} </a>
  129. </p>
  130. <ion-button class="next-button" [disabled]="!otp" shape="round" (click)="validateUser()">
  131. Continue
  132. </ion-button>
  133. </ion-slide>
  134. <!-- Slide 6 -->
  135. <!-- <ion-slide class="page6">
  136. <ion-button class="back-button" color="transparent" size="small" (click)="previousPage()">
  137. <ion-icon src="assets/custom/left-arrow.svg"></ion-icon>
  138. </ion-button>
  139. <figure class="logo">
  140. <img src="assets/custom/logo.svg">
  141. </figure>
  142. <div class="icon-holder">
  143. <ion-icon src="assets/custom/fingerprint.svg"></ion-icon>
  144. </div>
  145. <header>
  146. Enable Fingerprint
  147. </header>
  148. <p class="description">
  149. If you enable touch ID, you don't need to enter your password when you login.
  150. </p>
  151. <ion-button class="next-button" shape="round" (click)="nextPage()">
  152. Continue
  153. </ion-button>
  154. <p class="signin-description" (click)="nextPage()">
  155. <a> Not Now </a>
  156. </p>
  157. </ion-slide> -->
  158. <!-- Slide 7 -->
  159. <ion-slide class="page7">
  160. <figure class="logo">
  161. <img src="assets/custom/logo.svg">
  162. </figure>
  163. <header>
  164. You are ready to go!
  165. </header>
  166. <p class="description">
  167. Thanks for taking your time to create account with us.
  168. Now this is the fun part, let's explore the app.
  169. </p>
  170. <ion-button class="next-button" shape="round" (click)="autoLogin()">
  171. Get Started
  172. </ion-button>
  173. </ion-slide>
  174. </ion-slides>
  175. </ion-content>