-
Notifications
You must be signed in to change notification settings - Fork 48
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 #357 from Cryptorubic/develop
Develop
- Loading branch information
Showing
107 changed files
with
31,469 additions
and
30,662 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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
4 changes: 2 additions & 2 deletions
4
src/app/core/header/components/header/components/login-button/login-button.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,3 +1,3 @@ | ||
<button class="login-button"> | ||
<span (click)="authUser()" class="login-button__text">{{ 'navigation.login' | translate }}</span> | ||
</button> | ||
<span (click)="showModal()" class="login-button__text">{{ 'Connect Wallet' | translate }}</span> | ||
</button> |
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
11 changes: 11 additions & 0 deletions
11
...der/components/header/components/logout-confirm-modal/logout-confirm-modal.component.scss
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,7 +1,18 @@ | ||
@import 'src/scss/vars'; | ||
@import 'src/scss/mixins'; | ||
|
||
.lds-ellipsis-container { | ||
span { | ||
background: $main-green; | ||
} | ||
} | ||
|
||
.dialog-block { | ||
&__body-row { | ||
> *:not(:last-child) { | ||
@include b($mobile-sm-plus) { | ||
margin-bottom: 15px; | ||
} | ||
} | ||
} | ||
} |
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
6 changes: 3 additions & 3 deletions
6
src/app/core/header/components/header/components/user-profile/user-profile.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
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
12 changes: 12 additions & 0 deletions
12
src/app/core/header/components/header/components/wallets-modal/models/providers.ts
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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
export enum WALLET_NAME { | ||
METAMASK = 'metamask', | ||
WALLET_LINK = 'walletlink', | ||
WALLET_CONNECT = 'walletconnect' | ||
} | ||
|
||
export interface WalletProvider { | ||
name: string; | ||
value: WALLET_NAME; | ||
img: string; | ||
desktopOnly: boolean; | ||
} |
21 changes: 21 additions & 0 deletions
21
src/app/core/header/components/header/components/wallets-modal/wallets-modal.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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<ng-container #modal> | ||
<div class="modal"> | ||
<button (click)="close()" class="modal__close" > | ||
<span [inlineSVG]="'assets/images/icons/cross-gray.svg'"></span> | ||
</button> | ||
<div class="modal__content"> | ||
<header class="modal__header"> | ||
<div class="modal__title">Connect wallet</div> | ||
</header> | ||
<main class="modal__body"> | ||
<button [disabled]="($walletsLoading | async) ? 'disabled' : false" class="modal__provider-button" *ngFor="let provider of providers" (click)="connectProvider(provider.value)">{{ provider.name }} | ||
<span class="modal__provider-icon"><img src="{{ provider.img }}" alt="{{provider.name}} provider"></span> | ||
</button> | ||
</main> | ||
<footer class="modal__footer"> | ||
<span>New to Ethereum? </span> | ||
<a target="_blank" class="modal__link" href="https://ethereum.org/en/wallets/">Learn more about wallets</a> | ||
</footer> | ||
</div> | ||
</div> | ||
</ng-container> |
Oops, something went wrong.