Skip to content

Commit

Permalink
Merge branch 'fix/airgap-wallet-adjustment' into 'develop'
Browse files Browse the repository at this point in the history
new UI for settings/introduction for mobile platforms & new images for when adding coins

See merge request papers/airgap/airgap-wallet!717
  • Loading branch information
godenzim committed Nov 2, 2023
2 parents c4922d8 + 96e2ac6 commit 743f6d4
Show file tree
Hide file tree
Showing 18 changed files with 27 additions and 114 deletions.
59 changes: 13 additions & 46 deletions src/app/pages/introduction/introduction.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<ion-header class="ion-no-border">
<ion-toolbar>
<ion-title>{{ 'introduction.title' | translate }}</ion-title>
<ion-title *ngIf="isDesktop">{{ 'introduction.title' | translate }}</ion-title>
<h3 *ngIf="!isDesktop" style="margin-left: 10px;">{{ 'introduction.title_mobile' | translate }}</h3>
<ion-buttons slot="end">
<ion-button (click)="dismiss()" color="secondary">
<ion-icon name="close-outline"></ion-icon>
Expand All @@ -19,37 +20,20 @@
</ion-segment-button>
</ion-segment>

<ng-container *ngIf="security === 'highest'">
<ng-container *ngIf="isDesktop">
<ion-row>
<p [innerHTML]="'introduction.highest.text' | translate" *ngIf="!isDesktop"></p>
<p [innerHTML]="'introduction.highest.desktop_text' | translate" *ngIf="isDesktop"></p>
</ion-row>

<ion-row class="ion-padding-top ion-align-items-center">
<ion-col size="5" *ngIf="isDesktop"><img src="./assets/img/airgap_onboarding_wallet-notebook.svg" /></ion-col>
<ion-col size="5" *ngIf="!isDesktop"><img src="./assets/img/airgap_onboarding_wallet.svg" /></ion-col>

<ion-col size="7">
<h5>{{ 'introduction.wallet.heading' | translate }}</h5>
<p [innerHTML]="'introduction.wallet.text' | translate"></p>
</ion-col>
</ion-row>

<ng-container *ngIf="!isDesktop">
<ion-row class="ion-padding-vertical ion-align-items-center">
<ion-col size="5" class="ion-text-center"><img class="connector--img" src="./assets/img/qrcode.svg" /></ion-col>
<ion-col size="7">
<strong>{{ 'introduction.communication.highest_text' | translate }}</strong>
</ion-col>
</ion-row>

<ion-row class="ion-align-items-center">
<ion-col size="5"><img src="./assets/img/airgap_onboarding_vault.svg" /></ion-col>
<ion-col size="7">
<h5>{{ 'introduction.vault.heading' | translate }}</h5>
<p [innerHTML]="'introduction.vault.text' | translate"></p>
</ion-col>
</ion-row>
</ng-container>
<ng-container *ngIf="isDesktop">
<ion-row class="ion-align-items-center">
<ion-col size="5"><img src="./assets/img/signer-vault-ledger-desktop.svg" /></ion-col>
Expand All @@ -61,33 +45,16 @@ <h5>{{ 'introduction.vault.desktop_heading' | translate }}</h5>
</ng-container>
</ng-container>

<ng-container *ngIf="security === 'medium'">
<ion-row>
<p [innerHTML]="'introduction.medium.text' | translate"></p>
</ion-row>

<ion-row class="ion-padding-top ion-align-items-center">
<ion-col size="5"><img src="./assets/img/airgap_onboarding_wallet.svg" /></ion-col>
<ion-col size="7">
<h5>{{ 'introduction.wallet.heading' | translate }}</h5>
<p [innerHTML]="'introduction.wallet.text' | translate"></p>
</ion-col>
</ion-row>

<ion-row class="ion-padding-vertical ion-align-items-center">
<ion-col size="5" class="ion-text-center"><img class="connector--img" src="./assets/img/clone.svg" /></ion-col>
<ion-col size="7">
<strong>{{ 'introduction.communication.medium_text' | translate }}</strong>
</ion-col>
</ion-row>
<ng-container *ngIf=" security === 'highest' && !isDesktop">
<h5>{{ 'introduction.communication.highest_heading' | translate }}</h5>
<p [innerHTML]="'introduction.communication.highest_expanded_text' | translate"></p>
<img src="./assets/img/airgap_onboarding_wallet_highest.svg" />
</ng-container>

<ion-row class="ion-align-items-center">
<ion-col size="5"><img src="./assets/img/airgap_onboarding_vault.svg" /></ion-col>
<ion-col size="7">
<h5>{{ 'introduction.vault.heading' | translate }}</h5>
<p [innerHTML]="'introduction.vault.text' | translate"></p>
</ion-col>
</ion-row>
<ng-container *ngIf="security === 'medium' && !isDesktop">
<h5>{{ 'introduction.communication.medium_heading' | translate }}</h5>
<p [innerHTML]="'introduction.communication.medium_expanded_text' | translate"></p>
<img src="./assets/img/airgap_onboarding_wallet_medium.svg" />
</ng-container>

<ion-fab vertical="bottom" horizontal="end" slot="fixed">
Expand Down
7 changes: 6 additions & 1 deletion src/assets/i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
},
"introduction": {
"title": "Self custody made simple and secure",
"title_mobile":"Interaction with the Vault",
"highest": {
"label": "Highest Security",
"text": "With the AirGap <b>two device approach</b> secure key handling becomes more accessible.",
Expand All @@ -82,7 +83,11 @@
},
"communication": {
"highest_text": "One-way communication with QR codes.",
"medium_text": "Secure communication through app switching."
"medium_text": "Secure communication through app switching.",
"highest_heading": "Two Device approach",
"medium_heading": "Same Device Approach",
"highest_expanded_text": "Sign transactions completely offline on a device without any network connectivity with the AirGap knox or AirGap Vault application and broadcast them with your everyday smartphone with the AirGap Wallet app. The communication between the two devices happens via transparent QR codes.",
"medium_expanded_text": "Instead of installing AirGap Vault on an offline device, you can also install AirGap Vault and AirGap Wallet on your everyday smartphone(same device) and profit from added security through application sandboxing and app switching for communication. "
},
"vault-install_label": "Install AirGap Vault",
"continue_label": "Let's Go"
Expand Down
Binary file modified src/assets/img/account-import-onboarding-slide_1-ios.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/assets/img/account-import-onboarding-slide_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/assets/img/account-import-onboarding-slide_2-ios.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/assets/img/account-import-onboarding-slide_2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/assets/img/account-import-onboarding-slide_3-ios.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/assets/img/account-import-onboarding-slide_3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/assets/img/account-import-onboarding-slide_4-ios.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/assets/img/account-import-onboarding-slide_4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 743f6d4

Please sign in to comment.