Reorganized
This commit is contained in:
40
src/app/views/home/home.component.html
Normal file
40
src/app/views/home/home.component.html
Normal file
@ -0,0 +1,40 @@
|
||||
<div class="d-flex w-100 h-100 flex-column justify-content-center align-items-center px-4" style="background-color: #1976d2">
|
||||
<div>
|
||||
<img src="assets/images/logo.png" width="100%" height="auto">
|
||||
</div>
|
||||
<div class="my-5 text-center">
|
||||
<h3 class="text-white">Collaborative map making... {{typedText | async}}</h3>
|
||||
</div>
|
||||
<div>
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<button mat-flat-button class="w-100 text-white" style="background-color: #dd4b39">
|
||||
<i class="fab fa-google mr-2"></i> Sign in with Google
|
||||
</button>
|
||||
<button mat-flat-button class="w-100 mt-2 text-white" style="background-color: #00acee">
|
||||
<i class="fab fa-twitter mr-2"></i> Sign in with Twitter
|
||||
</button>
|
||||
<button mat-flat-button class="w-100 mt-2 text-white" style="background-color: #3b5998">
|
||||
<i class="fab fa-facebook mr-2"></i>Sign in with Facebook
|
||||
</button>
|
||||
</div>
|
||||
<div class="col mt-5 mt-md-0">
|
||||
<button mat-flat-button class="w-100 text-white" style="background-color: #dd0330" (click)="new()">
|
||||
<mat-icon>add</mat-icon> New Map
|
||||
</button>
|
||||
<div class="d-flex mt-2 align-items-baseline">
|
||||
<div class="flex-grow-1">
|
||||
<mat-form-field appearance="fill" class="w-100 text-white mat-padding-0">
|
||||
<input #mapCode matInput placeholder="Map Code">
|
||||
</mat-form-field>
|
||||
</div>
|
||||
<div class="ml-2">
|
||||
<button mat-flat-button class="w-100 text-white" style="background-color: #dd0330" [routerLink]="['/', mapCode.value]">
|
||||
<mat-icon>explore</mat-icon> Open
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
Reference in New Issue
Block a user