Skip to content

Commit de6f1c6

Browse files
committed
frontend: update welcome message
The reason for the generic first line is because we had the BB01 when this text was made. Now that the BB01 has been EOL for a long time, we don't need to consider it and just focus on current products.
1 parent 3c06a11 commit de6f1c6

File tree

4 files changed

+13
-21
lines changed

4 files changed

+13
-21
lines changed

frontends/web/src/locales/en/app.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1901,9 +1901,8 @@
19011901
"welcome": {
19021902
"connect": "Connect your BitBox",
19031903
"getStarted": "Let's get started by installing firmware on your BitBox.",
1904-
"insertBitBox02": "For the BitBox02, please tap the device to continue.",
1905-
"insertDevice": "Please connect your device to get started",
19061904
"loadingAccounts": "Loading accounts",
1905+
"message": "Please connect your BitBox and tap the side to continue.",
19071906
"title": "Welcome"
19081907
}
19091908
}

frontends/web/src/routes/device/bitbox01/bitbox01.module.css

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -123,19 +123,6 @@
123123
text-align: center;
124124
}
125125

126-
.waitingText {
127-
margin-top: 0;
128-
margin-bottom: var(--space-half);
129-
text-align: center;
130-
font-weight: 400;
131-
font-size: var(--size-subheader);
132-
}
133-
134-
.waitingDescription {
135-
text-align: center;
136-
margin-bottom: 0;
137-
}
138-
139126
@media screen and (max-width: 640px) {
140127
.qrcodeContainer {
141128
width: 50%;
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
.waitingText {
2+
margin-top: 0;
3+
margin-bottom: var(--space-half);
4+
font-size: var(--size-subheader);
5+
font-weight: 400;
6+
text-align: center;
7+
}

frontends/web/src/routes/device/waiting.tsx

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ import { AppLogo, AppLogoInverted, SwissMadeOpenSource, SwissMadeOpenSourceDark
3434
import { Footer, GuidedContent, GuideWrapper, Header, Main } from '@/components/layout';
3535
import { View, ViewContent } from '@/components/view/view';
3636
import { OutlinedSettingsButton } from '@/components/settingsButton/outlined-settings-button';
37-
import style from './bitbox01/bitbox01.module.css';
37+
import style from './waiting.module.css';
3838

3939
export const Waiting = () => {
4040
const { t } = useTranslation();
@@ -69,13 +69,12 @@ export const Waiting = () => {
6969
<OutlinedSettingsButton />
7070
</Header>
7171
<View verticallyCentered width="550px" fitContent>
72-
<ViewContent>
72+
<ViewContent textAlign="center">
7373
<div>
7474
{isDarkMode ? (<AppLogoInverted />) : (<AppLogo />)}
75-
<div className="box large">
76-
<h3 className={style.waitingText}>{t('welcome.insertDevice')}</h3>
77-
<p className={style.waitingDescription}>{t('welcome.insertBitBox02')}</p>
78-
</div>
75+
<p className={style.waitingText}>
76+
{t('welcome.message')}
77+
</p>
7978
<Bluetooth />
8079
</div>
8180
</ViewContent>

0 commit comments

Comments
 (0)