Skip to content

Commit

Permalink
Merge pull request #9 from bnb-chain/fix-ui
Browse files Browse the repository at this point in the history
feat:naming notations
  • Loading branch information
constwz authored Nov 10, 2023
2 parents 48eab43 + ec6648a commit cfe81fb
Show file tree
Hide file tree
Showing 18 changed files with 33 additions and 63 deletions.
48 changes: 9 additions & 39 deletions public/images/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/components/common/Footer/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ const Footer = (): ReactElement | null => {
</li>
</>
) : (
<li>{'This is an unofficial distribution of BNB Safe{Wallet}'}</li>
<li>{'This is an unofficial distribution of BNB Safe'}</li>
)}

<li>
Expand Down
2 changes: 1 addition & 1 deletion src/components/common/MetaTags/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { lightPalette, darkPalette } from '@safe-global/safe-react-components'

const descriptionText =
'Safe (prev. Gnosis Safe) is the most trusted platform to manage digital assets on Ethereum and multiple EVMs. Over $40B secured.'
const titleText = 'BNB Safe{Wallet}'
const titleText = 'BNB Safe'

const MetaTags = ({ prefetchUrl }: { prefetchUrl: string }) => (
<>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { Alert } from '@mui/material'
const PairingDeprecationWarning = (): React.ReactElement => {
return (
<Alert severity="warning" sx={{ mb: 4 }}>
The {'BNB Safe{Wallet}'} web-mobile pairing feature will be discontinued from 15th November 2023. Please migrate
The {'BNB Safe'} web-mobile pairing feature will be discontinued from 15th November 2023. Please migrate
to a different signer wallet before this date.
</Alert>
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const PairingDescription = (): ReactElement => {
return (
<>
<Typography variant="caption" align="center">
Scan this code in the {'BNB Safe{Wallet}'} mobile app to sign transactions with your mobile device.
Scan this code in the {'BNB Safe'} mobile app to sign transactions with your mobile device.
<br />
<ExternalLink href={HelpCenterArticle.MOBILE_SAFE} title="Learn more about mobile pairing.">
Learn more about this feature.
Expand Down
2 changes: 1 addition & 1 deletion src/components/dashboard/CreationDialog/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ const CreationDialog = () => {
<Dialog open={open}>
<DialogContent sx={{ paddingX: 8, paddingTop: 9, paddingBottom: 6 }}>
<Typography variant="h3" fontWeight="700" mb={1}>
Welcome to {'BNB Safe{Wallet}'}!
Welcome to {'BNB Safe'}!
</Typography>
<Typography variant="body2">
Congratulations on your first step to truly unlock ownership. Enjoy the experience and discover our app.
Expand Down
2 changes: 1 addition & 1 deletion src/components/dashboard/Relaying/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const Relaying = () => {
return (
<WidgetContainer>
<Typography component="h2" variant="subtitle1" fontWeight={700} mb={2}>
New in {'BNB Safe{Wallet}'}
New in {'BNB Safe'}
</Typography>

<WidgetBody>
Expand Down
2 changes: 1 addition & 1 deletion src/components/licenses/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const SafeLicenses = () => {
<Box mb={4}>
<Typography mb={3}>
This page contains a list of attribution notices for third party software that may be contained in portions of
the {'BNB Safe{Wallet}'}. We thank the open source community for all of their contributions.
the {'BNB Safe'}. We thank the open source community for all of their contributions.
</Typography>
<Typography variant="h2" mb={2}>
Android
Expand Down
14 changes: 7 additions & 7 deletions src/components/privacy/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ const SafePrivacyPolicy = () => {
&nbsp;released under LGPL-3.0.
</li>
<li>
&ldquo;{'BNB Safe{Wallet}'}&rdquo; refers to a web-based graphical user interface for Safe Accounts as well as
&ldquo;{'BNB Safe'}&rdquo; refers to a web-based graphical user interface for Safe Accounts as well as
a mobile application on Android and iOS.
</li>
<li>
Expand Down Expand Up @@ -194,9 +194,9 @@ const SafePrivacyPolicy = () => {
BLOCKCHAIN WILL BECOME PUBLICLY AVAILABLE
</p>
<h3 id="4">4. How We Use Personal Data</h3>
<h4>4.1. When visiting our website and using {'BNB Safe{Wallet}'}</h4>
<h4>4.1. When visiting our website and using {'BNB Safe'}</h4>
<p>
When visiting our website or using {'BNB Safe{Wallet}'}, we may collect and process personal data. The data will
When visiting our website or using {'BNB Safe'}, we may collect and process personal data. The data will
be stored in different instances
</p>
<ol start={1} className={css.alphaList}>
Expand Down Expand Up @@ -235,7 +235,7 @@ const SafePrivacyPolicy = () => {
<ol start={4} className={css.alphaList}>
<li>
When you create a Profile for an existing Safe Account for the purpose of allowing you to view and use them in
the {'BNB Safe{Wallet}'}, we process your
the {'BNB Safe'}, we process your
<ol start={1} className={css.romanList}>
<li>public Wallet address, </li>
<li>Safe Account balance, </li>
Expand Down Expand Up @@ -400,7 +400,7 @@ const SafePrivacyPolicy = () => {
<li>range of managed funds</li>
</ol>
<p>
In addition, we may take a recording of you while testing {'BNB Safe{Wallet}'} for internal and external use.
In addition, we may take a recording of you while testing {'BNB Safe'} for internal and external use.
The basis for this collection and processing is our legitimate business interest in monitoring and improving our
services.
</p>
Expand Down Expand Up @@ -568,7 +568,7 @@ const SafePrivacyPolicy = () => {
</p>
<h4>5.4. Mobile app stores</h4>
<p>
{'BNB Safe{Wallet}'} mobile apps are distributed via{' '}
{'BNB Safe'} mobile apps are distributed via{' '}
<Link href="https://www.apple.com/app-store/" passHref legacyBehavior>
<MUILink target="_blank" rel="noreferrer">
Apple AppStore
Expand All @@ -586,7 +586,7 @@ const SafePrivacyPolicy = () => {
</p>
<h4>5.5. Fingerprint/Touch ID/ Face ID</h4>
<p>
We enable the user to unlock the {'BNB Safe{Wallet}'} mobile app via biometrics information (touch ID or face
We enable the user to unlock the {'BNB Safe'} mobile app via biometrics information (touch ID or face
ID). This is a feature of the operating system. We do not store any of this data. Instead, the API of the
operating system is used to validate the user input. If you have any further questions you should consult with
your preferred mobile device provider or manufacturer.
Expand Down
2 changes: 1 addition & 1 deletion src/components/safe-apps/AddCustomAppModal/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ export const AddCustomAppModal = ({ open, onClose, onSave, safeAppsList }: Props
})}
/>
}
label="This Safe App is not part of BNB Safe{Wallet} and I agree to use it at my own risk."
label="This Safe App is not part of BNB Safe and I agree to use it at my own risk."
sx={{ mt: 2 }}
/>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const SafeAppsZeroResultsPlaceholder = ({ searchQuery }: { searchQuery: string }
text={
<Typography variant="body1" color="primary.light" m={2} maxWidth="600px">
No Safe Apps found matching <strong>{searchQuery}</strong>. Connect to dApps that haven&apos;t yet been
integrated with the {'BNB Safe{Wallet}'} using the WalletConnect Safe App.
integrated with the {'BNB Safe'} using the WalletConnect Safe App.
</Typography>
}
>
Expand Down
4 changes: 2 additions & 2 deletions src/components/settings/DataManagement/ImportFileUpload.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export const ImportFileUpload = ({

return (
<>
<Typography>Import {'BNB Safe{Wallet}'} data by uploading a file in the area below.</Typography>
<Typography>Import {'BNB Safe'} data by uploading a file in the area below.</Typography>

<FileUpload
fileType={FileTypes.JSON}
Expand All @@ -74,7 +74,7 @@ export const ImportFileUpload = ({
mr: 0.5,
}}
/>
Only JSON files exported from the {'BNB Safe{Wallet}'} can be imported.
Only JSON files exported from the {'BNB Safe'} can be imported.
</Typography>
</>
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export const enum SAFE_EXPORT_VERSION {
}

export enum ImportErrors {
INVALID_VERSION = 'The file is not a BNB Safe{Wallet} export.',
INVALID_VERSION = 'The file is not a BNB Safe export.',
INVALID_JSON_FORMAT = 'The JSON format is invalid.',
NO_IMPORT_DATA_FOUND = 'This file contains no importable data.',
}
Expand Down
2 changes: 1 addition & 1 deletion src/components/settings/FallbackHandler/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export const FallbackHandler = (): ReactElement | null => {

const tooltip = !safe.fallbackHandler ? (
<>
The {'BNB Safe{Wallet}'} may not work correctly as no fallback handler is currently set.
The {'BNB Safe'} may not work correctly as no fallback handler is currently set.
{txBuilder && (
<>
{' '}
Expand Down
2 changes: 1 addition & 1 deletion src/components/settings/SafeAppsSigningMethod/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export const SafeAppsSigningMethod = () => {

<Grid item xs>
<Typography mb={2}>
This setting determines how the {'BNB Safe{Wallet}'} will sign message requests from Safe Apps. Gasless,
This setting determines how the {'BNB Safe'} will sign message requests from Safe Apps. Gasless,
off-chain signing is used by default. Learn more about message signing{' '}
<ExternalLink href={HelpCenterArticle.SIGNED_MESSAGES}>here</ExternalLink>.
</Typography>
Expand Down
2 changes: 1 addition & 1 deletion src/components/welcome/NewSafe.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ const NewSafe = () => {
color="static.main"
mb={1}
>
Welcome to {'BNB Safe{Wallet}'}
Welcome to {'BNB Safe'}
</Typography>

<Typography mb={5} color="static.main">
Expand Down
2 changes: 1 addition & 1 deletion src/pages/home.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const Home: NextPage = () => {
return (
<>
<Head>
<title>{'BNB Safe{Wallet} – Dashboard'}</title>
<title>{'BNB Safe – Dashboard'}</title>
</Head>

<main>
Expand Down
2 changes: 1 addition & 1 deletion src/pages/welcome.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const Welcome: NextPage = () => {
return (
<>
<Head>
<title>{'BNB Safe{Wallet} – Welcome'}</title>
<title>{'BNB Safe – Welcome'}</title>
</Head>

<NewSafe />
Expand Down

0 comments on commit cfe81fb

Please sign in to comment.