Skip to content

Commit

Permalink
Update button text + logo + welcome view
Browse files Browse the repository at this point in the history
  • Loading branch information
quietbits committed Sep 11, 2023
1 parent bd7cc83 commit 486f73b
Show file tree
Hide file tree
Showing 11 changed files with 26 additions and 13 deletions.
12 changes: 12 additions & 0 deletions extension/src/popup/assets/logo-freighter.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions extension/src/popup/components/Header/index.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from "react";

import FreighterLogoLockup from "popup/assets/logo-lockup-freighter.svg";
import FreighterLogo from "popup/assets/logo-freighter.svg";

import "./styles.scss";

Expand All @@ -11,7 +11,7 @@ interface HeaderProps {
export const Header = ({ isPopupView = false }: HeaderProps) => (
<header className={`Header ${isPopupView ? "Header__popup" : ""}`}>
<div className={isPopupView ? "" : "Header__fullscreen"}>
<img alt="Freighter logo" src={FreighterLogoLockup} />
<img alt="Freighter logo" src={FreighterLogo} />
</div>
</header>
);
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ export const ConfirmMnemonicPhrase = ({
disabled={!dirty && !!joinSelectedWords().length}
isLoading={isSubmitting}
>
{t("NEXT")}
{t("Next")}
</Button>
</SubmitButtonWrapper>
</Form>
Expand Down
4 changes: 2 additions & 2 deletions extension/src/popup/views/About/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { useTranslation } from "react-i18next";

import { SubviewHeader } from "popup/components/SubviewHeader";

import FreighterLogoLockup from "popup/assets/logo-lockup-freighter.svg";
import FreighterLogo from "popup/assets/logo-freighter.svg";

import "./styles.scss";

Expand All @@ -30,7 +30,7 @@ export const About = () => {
<div className="About">
<SubviewHeader title="About" />
<div>
<img alt="Freighter logo" src={FreighterLogoLockup} />
<img alt="Freighter logo" src={FreighterLogo} />
</div>
<div className="About__body">
<div className="About__info">
Expand Down
2 changes: 1 addition & 1 deletion extension/src/popup/views/AccountCreator/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ export const AccountCreator = () => {
isLoading={isSubmitting}
disabled={!(dirty && isValid)}
>
{t("CONFIRM")}
{t("Confirm")}
</Button>
</SubmitButtonWrapper>
</OnboardingHalfScreen>
Expand Down
4 changes: 2 additions & 2 deletions extension/src/popup/views/FullscreenSuccessMessage/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ const MnemonicPhraseConfirmedMessage = () => {
}
}}
>
{isChrome() ? t("CONTINUE") : t("ALL DONE")}
{isChrome() ? t("Continue") : t("All Done")}
</Button>
</SubmitButtonWrapper>
</>
Expand Down Expand Up @@ -134,7 +134,7 @@ const RecoverAccountSuccessMessage = () => {
}
}}
>
{isChrome() ? t("CONTINUE") : t("ALL DONE")}
{isChrome() ? t("Continue") : t("All Done")}
</Button>
</SubmitButtonWrapper>
</>
Expand Down
2 changes: 1 addition & 1 deletion extension/src/popup/views/RecoverAccount/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ export const RecoverAccount = () => {
)
}
>
{t("IMPORT")}
{t("Import")}
</Button>
</SubmitButtonWrapper>
</div>
Expand Down
2 changes: 1 addition & 1 deletion extension/src/popup/views/UnlockAccount/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export const UnlockAccount = () => {
isLoading={isSubmitting}
disabled={!(dirty && isValid)}
>
{t("LOG IN")}
{t("Log In")}
</Button>
</SubmitButtonWrapper>
</div>
Expand Down
1 change: 1 addition & 0 deletions extension/src/popup/views/UnlockAccount/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
line-height: 2.4rem;
color: var(--color-gray-90);
max-width: 17rem;
font-weight: var(--font-weight-medium);
}

&__import-account {
Expand Down
4 changes: 2 additions & 2 deletions extension/src/popup/views/Welcome/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export const Welcome = () => {
variant="primary"
onClick={() => navigateTo(ROUTES.accountCreator)}
>
{t("CREATE WALLET")}
{t("Create Wallet")}
</Button>
</div>
</Card>
Expand All @@ -56,7 +56,7 @@ export const Welcome = () => {
variant="secondary"
onClick={() => navigateTo(ROUTES.recoverAccount)}
>
{t("IMPORT WALLET")}
{t("Import Wallet")}
</Button>
</div>
</Card>
Expand Down
2 changes: 1 addition & 1 deletion extension/src/popup/views/Welcome/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
margin-bottom: 2.5rem;
text-align: center;
max-width: 36rem;
font-weight: var(--font-weight-medium);
}

&--small {
Expand All @@ -52,7 +53,6 @@
justify-content: center;
padding: 0;
width: 24rem;
height: 13.25rem;
}

&__import {
Expand Down

0 comments on commit 486f73b

Please sign in to comment.