-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from flatlogic/refactored_code_fixed_chat
updated auth page, refactored code and fixed chat
- Loading branch information
Showing
15 changed files
with
182 additions
and
116 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
50 changes: 25 additions & 25 deletions
50
src/app/modules/auth/containers/auth-page/auth-page.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,51 +1,51 @@ | ||
<div class="auth-page"> | ||
<div class="auth-page__content-block"> | ||
<div class="auth-page__content-wrapper"> | ||
<mat-tab-group class="auth-page__group" mat-stretch-tabs> | ||
<div class="content-block"> | ||
<div class="content-wrapper"> | ||
<mat-tab-group class="group" mat-stretch-tabs> | ||
<mat-tab label="Login"> | ||
<h4 class="auth-page__group-title">Good Morning, User</h4> | ||
<div class="auth-page__google-button-wrapper"> | ||
<button (click)="googleLogin()" mat-raised-button class="auth-page__google-button"> | ||
<img class="auth-page__google-button-icon" src="./assets/auth/google.svg" alt="google">Sign in with Google | ||
<h4 class="group-title">Good Morning, User</h4> | ||
<div class="google-button-wrapper"> | ||
<button (click)="googleLogin()" mat-raised-button class="google-button"> | ||
<img class="google-button-icon" src="./assets/auth/google.svg" alt="google">Sign in with Google | ||
</button> | ||
</div> | ||
|
||
<div class="auth-page__border-wrapper"> | ||
<div class="auth-page__border-line"></div> | ||
<p class="auth-page__border-title">or</p> | ||
<div class="auth-page__border-line"></div> | ||
<div class="border-wrapper"> | ||
<div class="border-line"></div> | ||
<p class="border-title">or</p> | ||
<div class="border-line"></div> | ||
</div> | ||
|
||
<app-login-form (sendLoginForm)="sendLoginForm($event)"></app-login-form> | ||
|
||
</mat-tab> | ||
<mat-tab label="New User"> | ||
<h4 class="auth-page__group-title">Welcome!</h4> | ||
<p class="auth-page__group-sub-title">Create your account</p> | ||
<h4 class="group-title">Welcome!</h4> | ||
<p class="group-sub-title">Create your account</p> | ||
|
||
<app-sign-form (sendSignForm)="sendSignForm($event)"></app-sign-form> | ||
|
||
<div class="auth-page__border-wrapper"> | ||
<div class="auth-page__border-line"></div> | ||
<p class="auth-page__border-title">or</p> | ||
<div class="auth-page__border-line"></div> | ||
<div class="border-wrapper"> | ||
<div class="border-line"></div> | ||
<p class="border-title">or</p> | ||
<div class="border-line"></div> | ||
</div> | ||
|
||
<div class="auth-page__google-button-wrapper"> | ||
<button (click)="googleLogin()" mat-raised-button class="auth-page__google-button"> | ||
<img class="auth-page__google-button-icon" src="./assets/auth/google.svg" alt="google">Sign in with Google | ||
<div class="google-button-wrapper"> | ||
<button (click)="googleLogin()" mat-raised-button class="google-button"> | ||
<img class="google-button-icon" src="./assets/auth/google.svg" alt="google">Sign in with Google | ||
</button> | ||
</div> | ||
</mat-tab> | ||
</mat-tab-group> | ||
|
||
<p class="auth-page__footer-title">© 2014-{{todayDate | year}} <a href="https://flatlogic.com">Flatlogic</a>, LLC. All rights reserved.</p> | ||
<p class="footer-title">© 2014-{{todayDate | year}} <a href="https://flatlogic.com">Flatlogic</a>, LLC. All rights reserved.</p> | ||
</div> | ||
</div> | ||
<div class="auth-page__logo"> | ||
<div class="auth-page__logo-wrapper"> | ||
<img class="auth-page__logo-img" src="./assets/auth/logo.svg" alt="logo"> | ||
<h6 class="auth-page__logo-title">Material Admin</h6> | ||
<div class="logo"> | ||
<div class="logo-wrapper"> | ||
<img class="logo-img" src="./assets/auth/logo.svg" alt="logo"> | ||
<h6 class="logo-title">Material Admin</h6> | ||
</div> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.