mirror of https://github.com/ghostfolio/ghostfolio
committed by
GitHub
5 changed files with 80 additions and 26 deletions
@ -1,30 +1,46 @@ |
|||||
|
<div class="intro-container mb-5"> |
||||
|
<div class="intro-inner-container mx-auto"> |
||||
|
<div class="h-100 intro w-100"></div> |
||||
|
</div> |
||||
|
</div> |
||||
|
|
||||
<div class="container"> |
<div class="container"> |
||||
<div class="row"> |
<div class="row"> |
||||
<div class="col"> |
<div |
||||
<h3 class="d-flex justify-content-center mb-3 text-center" i18n> |
class="align-items-center d-flex flex-column justify-content-center w-100" |
||||
Create your Account |
> |
||||
</h3> |
<gf-logo size="large"></gf-logo> |
||||
<mat-card class="mb-4"> |
<p class="lead m-0">Wealth Management Software</p> |
||||
<mat-card-content class="text-center"> |
</div> |
||||
<button |
</div> |
||||
class="d-inline-block" |
|
||||
color="primary" |
<div class="button-container row"> |
||||
|
<div class="align-items-center col d-flex justify-content-center"> |
||||
|
<div class="py-5 text-center"> |
||||
|
<button |
||||
|
class="d-inline-block" |
||||
|
color="primary" |
||||
|
i18n |
||||
|
mat-flat-button |
||||
|
[disabled]="!demoAuthToken" |
||||
|
(click)="createAccount()" |
||||
|
> |
||||
|
Create Account |
||||
|
</button> |
||||
|
<ng-container *ngIf="hasPermissionForSocialLogin"> |
||||
|
<div |
||||
|
class="m-3 text-muted" |
||||
i18n |
i18n |
||||
mat-flat-button |
[ngClass]="{'d-inline': deviceType !== 'mobile' }" |
||||
[disabled]="!demoAuthToken" |
> |
||||
(click)="createAccount()" |
or |
||||
|
</div> |
||||
|
<a color="accent" href="/api/auth/google" mat-flat-button |
||||
|
><ion-icon class="mr-1" name="logo-google"></ion-icon |
||||
|
><span i18n>Continue with Google</span></a |
||||
> |
> |
||||
Create Account |
</ng-container> |
||||
</button> |
</div> |
||||
<ng-container *ngIf="hasPermissionForSocialLogin"> |
|
||||
<div class="my-3 text-muted" i18n>or</div> |
|
||||
<a color="accent" href="/api/auth/google" mat-flat-button |
|
||||
><ion-icon class="mr-1" name="logo-google"></ion-icon |
|
||||
><span i18n>Continue with Google</span></a |
|
||||
> |
|
||||
</ng-container> |
|
||||
</mat-card-content> |
|
||||
</mat-card> |
|
||||
</div> |
</div> |
||||
</div> |
</div> |
||||
</div> |
</div> |
||||
|
@ -1,3 +1,26 @@ |
|||||
:host { |
:host { |
||||
display: block; |
display: block; |
||||
|
|
||||
|
.button-container { |
||||
|
.mat-stroked-button { |
||||
|
background-color: var(--light-background); |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
.intro-container { |
||||
|
background-color: #ffffff; |
||||
|
margin-top: -5rem; |
||||
|
|
||||
|
.intro-inner-container { |
||||
|
aspect-ratio: 16 / 9; |
||||
|
max-height: 66vh; |
||||
|
|
||||
|
.intro { |
||||
|
background-image: url('/assets/intro.jpg'); |
||||
|
background-position: top left; |
||||
|
background-repeat: no-repeat; |
||||
|
background-size: contain; |
||||
|
} |
||||
|
} |
||||
|
} |
||||
} |
} |
||||
|
Loading…
Reference in new issue