Added new background & login

This commit is contained in:
2020-06-11 01:01:12 -04:00
parent 4dad4556e9
commit 1539f2eb50
13 changed files with 167 additions and 3335 deletions

View File

@ -1,8 +1,23 @@
<animated-background></animated-background>
<stary-sky></stary-sky>
<div class="badge">
<img src="assets/images/logo.png" width="200px" height="auto">
</div>
<div class="controls">
<div *ngIf="!authService.authenticated">
<!--<button mat-flat-button class="w-100 text-white mb-3" style="background-color: #3b5998" (click)="authService.loginWithFacebook()">
<img class="mr-2" src="/assets/images/facebook.png" height="18px" width="auto"> Facebook
</button>-->
<button mat-flat-button class="w-100 mb-1" style="background-color: #efe8e8" (click)="authService.loginWithGoogle()">
<img class="mr-2" src="/assets/images/google.png" height="18px" width="auto"> Google
</button>
</div>
<button *ngIf="authService.authenticated" mat-flat-button class="w-100 mb-1" style="background-color: #efe8e8" (click)="authService.logout()">
<mat-icon>logout</mat-icon> Logout
</button>
<hr style="background-color: #FFFFFF90">
<button *ngIf="authService.authenticated" mat-flat-button class="w-100 text-white mb-3" style="background-color: #dd0330" (click)="new()">
<mat-icon>history</mat-icon> Recent
</button>
<button mat-flat-button class="w-100 text-white" style="background-color: #dd0330" (click)="new()">
<mat-icon>add</mat-icon> New Map
</button>
@ -16,4 +31,6 @@
</form>
</div>
</div>
<span class="credits text-white">Created By <a href="https://zakscode.com" target="_blank">Zak Timson</a></span>
<span class="credits text-white">
Created By <a href="https://zakscode.com" target="_blank">Zak Timson</a>
</span>