Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(ui): Changes to wallet design based on new branding #998

Merged
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 2 additions & 6 deletions android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<uses-sdk
android:minSdkVersion="29"
android:targetSdkVersion="34"
android:maxSdkVersion="34" />
<uses-sdk android:minSdkVersion="29" android:targetSdkVersion="34" android:maxSdkVersion="34" />
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
Expand Down Expand Up @@ -31,8 +28,7 @@
android:grantUriPermissions="true">
<meta-data android:name="android.support.FILE_PROVIDER_PATHS" android:resource="@xml/file_paths" />
</provider>
<meta-data android:name="com.google.mlkit.vision.DEPENDENCIES" android:value="barcode_ui"/>

<meta-data android:name="com.google.mlkit.vision.DEPENDENCIES" android:value="barcode_ui" />
</application>

<!-- Permissions -->
Expand Down
Binary file modified android/app/src/main/res/drawable-land-hdpi/splash.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 android/app/src/main/res/drawable-land-ldpi/splash.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 android/app/src/main/res/drawable-land-mdpi/splash.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 android/app/src/main/res/drawable-land-night-hdpi/splash.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 android/app/src/main/res/drawable-land-night-ldpi/splash.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 android/app/src/main/res/drawable-land-night-mdpi/splash.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 android/app/src/main/res/drawable-land-night-xhdpi/splash.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 android/app/src/main/res/drawable-land-night-xxhdpi/splash.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 android/app/src/main/res/drawable-land-xhdpi/splash.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 android/app/src/main/res/drawable-land-xxhdpi/splash.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 android/app/src/main/res/drawable-land-xxxhdpi/splash.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 android/app/src/main/res/drawable-night/splash.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 android/app/src/main/res/drawable-port-hdpi/splash.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 android/app/src/main/res/drawable-port-ldpi/splash.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 android/app/src/main/res/drawable-port-mdpi/splash.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 android/app/src/main/res/drawable-port-night-hdpi/splash.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 android/app/src/main/res/drawable-port-night-ldpi/splash.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 android/app/src/main/res/drawable-port-night-mdpi/splash.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 android/app/src/main/res/drawable-port-night-xhdpi/splash.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 android/app/src/main/res/drawable-port-night-xxhdpi/splash.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 android/app/src/main/res/drawable-port-xhdpi/splash.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 android/app/src/main/res/drawable-port-xxhdpi/splash.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 android/app/src/main/res/drawable-port-xxxhdpi/splash.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 android/app/src/main/res/drawable/splash.png
Binary file modified android/app/src/main/res/mipmap-hdpi/ic_launcher.png
Binary file modified android/app/src/main/res/mipmap-hdpi/ic_launcher_background.png
Binary file modified android/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png
Binary file modified android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png
Binary file modified android/app/src/main/res/mipmap-ldpi/ic_launcher.png
Binary file modified android/app/src/main/res/mipmap-ldpi/ic_launcher_background.png
Binary file modified android/app/src/main/res/mipmap-ldpi/ic_launcher_foreground.png
Binary file modified android/app/src/main/res/mipmap-ldpi/ic_launcher_round.png
Binary file modified android/app/src/main/res/mipmap-mdpi/ic_launcher.png
Binary file modified android/app/src/main/res/mipmap-mdpi/ic_launcher_background.png
Binary file modified android/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png
Binary file modified android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png
Binary file modified android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
Binary file modified android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
Binary file modified android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
Binary file modified android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
Binary file modified android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
1 change: 0 additions & 1 deletion src/assets/icon-background.png

This file was deleted.

Binary file added src/assets/icon-background.png
1 change: 0 additions & 1 deletion src/assets/icon-foreground.png

This file was deleted.

Binary file added src/assets/icon-foreground.png
Binary file modified src/assets/icon-only.png
2 changes: 1 addition & 1 deletion src/assets/icon-only.ts

Large diffs are not rendered by default.

Binary file modified src/assets/splash-dark.png
Binary file modified src/assets/splash.png
20 changes: 8 additions & 12 deletions src/locales/en/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,20 @@
"onboarding": {
"slides": [
{
"title": "Welcome to your Cardano Foundation Identity Wallet",
"description": "An opensource mobile digital wallet that enables you to securely manage your own identity in a privacy-preserving and self-sovereign manner."
"title": "Welcome to Veridian",
"description": "Take full control of your digital identity with secure and seamless management"
},
{
"title": "Empowerment with Self-Sovereign Identity (SSI)",
"description": "Embrace SSI principles, store private keys locally in your mobile device's Hardware Security Module, and control your identity."
"title": "Secure and Self-Sovereign",
"description": "Your identity is encrypted and stored safely on your device. Only you have access"
},
{
"title": "Privacy & Security: Your Top Priorities",
"description": "Prioritize privacy and security with Decentralized Identifiers and Verifiable Credentials. Control your data, what you share, with whom, and for how long."
"title": "Privacy First",
"description": "Control when to present your credentials, keeping your personal data private"
},
{
"title": "Embrace Interoperability for a Wider Reach",
"description": "Supporting new and existing standards, ecosystems, and frameworks is crucial to achieving widespread adoption and seamless interoperability."
},
{
"title": "Decentralize Your Digital Identity",
"description": "Traditional identity systems offer minimal control over your digital identifiers. Decentralized technology transfers ownership and control to you."
"title": "Sign with Group Identity",
"description": "Sign and verify as an individual or part of a group, whenever needed"
}
],
"getstarted": {
Expand Down
Binary file modified src/ui/assets/images/intro-0.png
Binary file modified src/ui/assets/images/intro-1.png
Binary file modified src/ui/assets/images/intro-2.png
Binary file modified src/ui/assets/images/intro-3.png
8 changes: 1 addition & 7 deletions src/ui/pages/Onboarding/Onboarding.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ import introImg0 from "../../assets/images/intro-0.png";
import introImg1 from "../../assets/images/intro-1.png";
import introImg2 from "../../assets/images/intro-2.png";
import introImg3 from "../../assets/images/intro-3.png";
import introImg4 from "../../assets/images/intro-4.png";
import { PageFooter } from "../../components/PageFooter";
import { ResponsivePageLayout } from "../../components/layout/ResponsivePageLayout";
import { useExitAppWithDoubleTap } from "../../hooks/exitAppWithDoubleTapHook";
Expand Down Expand Up @@ -57,11 +56,6 @@ const Onboarding = () => {
description: `${i18n.t("onboarding.slides.3.description")}`,
image: introImg3,
},
{
title: `${i18n.t("onboarding.slides.4.title")}`,
description: `${i18n.t("onboarding.slides.4.description")}`,
image: introImg4,
},
];

const handleNavigation = (isRecoveryMode: boolean) => {
Expand Down Expand Up @@ -104,7 +98,7 @@ const Onboarding = () => {
"onboarding.alreadywallet.button.label"
)}`}
tertiaryButtonAction={() => handleNavigation(true)}
/>
></PageFooter>
</ResponsivePageLayout>
);
};
Expand Down
8 changes: 7 additions & 1 deletion src/ui/pages/Onboarding/components/Slides/Slides.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
.slides-container {
display: flex;
flex-direction: column;
justify-content: space-around;
justify-content: space-between;
height: 100%;
padding-top: 28%;

.slides {
.swiper-slide {
Expand Down Expand Up @@ -113,4 +115,8 @@
transform: translate3d(0, 0, 0);
}
}

@media screen and (min-width: 250px) and (max-width: 370px) {
padding-top: 14%;
}
}
Loading