Added fade in
This commit is contained in:
parent
961f01a91e
commit
7c5e66e19a
@ -1,3 +1,4 @@
|
||||
<div [@fadeIn] class="h-100 w-100">
|
||||
<stary-sky></stary-sky>
|
||||
<div class="badge">
|
||||
<img src="assets/images/logo.png" width="200px" height="auto">
|
||||
@ -11,17 +12,20 @@
|
||||
<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()">
|
||||
<div *ngIf="authService.authenticated">
|
||||
<button mat-flat-button class="w-100 text-white mb-1" style="background-color: #dd0330" (click)="authService.logout()">
|
||||
<mat-icon>logout</mat-icon> Logout
|
||||
</button>
|
||||
</div>
|
||||
<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()">
|
||||
<div>
|
||||
<button *ngIf="authService.authenticated" mat-flat-button class="w-100 mb-3" style="background-color: #efe8e8" (click)="new()">
|
||||
<mat-icon>history</mat-icon> Recent
|
||||
</button>
|
||||
<button mat-flat-button class="w-100 text-white" style="background-color: #dd0330" (click)="new()">
|
||||
<button mat-flat-button class="w-100 text-white mb-3" style="background-color: #dd0330" (click)="new()">
|
||||
<mat-icon>add</mat-icon> New Map
|
||||
</button>
|
||||
<div class="w-100 mt-3">
|
||||
<div class="w-100">
|
||||
<form class="input-group">
|
||||
<input type="text" class="form-control" [(ngModel)]="code" name="code" placeholder="Code" (keyup)="isValid()">
|
||||
<div class="input-group-append">
|
||||
@ -31,6 +35,8 @@
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<span class="credits text-white">
|
||||
Created By <a href="https://zakscode.com" target="_blank">Zak Timson</a>
|
||||
</span>
|
||||
</div>
|
||||
|
@ -2,13 +2,15 @@ import {Component} from "@angular/core";
|
||||
import {Router} from "@angular/router";
|
||||
import {SyncService} from "../../services/sync.service";
|
||||
import {AuthService} from "../../services/auth.service";
|
||||
import {fadeIn} from "../../animations";
|
||||
|
||||
const chars = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789';
|
||||
|
||||
@Component({
|
||||
selector: 'home',
|
||||
templateUrl: 'home.component.html',
|
||||
styleUrls: ['home.component.scss']
|
||||
styleUrls: ['home.component.scss'],
|
||||
animations: [fadeIn]
|
||||
})
|
||||
export class HomeComponent {
|
||||
code: string = '';
|
||||
|
Loading…
Reference in New Issue
Block a user