Skip to content

Commit 5e8a3a9

Browse files
Rokt33rDavy-c
authored andcommitted
Update version update alert
1 parent 67161fa commit 5e8a3a9

3 files changed

Lines changed: 6 additions & 2 deletions

File tree

src/cloud/components/AnnouncementAlert.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ const AnnouncementAlert = () => {
6767
</span>
6868
<p className='alert__text'>
6969
Please update the desktop app. This version is outdated (current
70-
version: {currentDesktopAppVersion}, required version: &gt;=0.20.0).
70+
version: {currentDesktopAppVersion}, required version: &gt;=0.23.0).
7171
</p>
7272
<button
7373
className='alert__btn--close'
@@ -346,7 +346,7 @@ const Container = styled.div`
346346
left: 52px;
347347
bottom: ${({ theme }) => theme.sizes.spaces.xl}px;
348348
width: fit-content;
349-
z-index: 100;
349+
z-index: 100000;
350350
351351
.alert__link {
352352
font-weight: bold;

src/cloud/pages/home/HomeForm.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ import Button from '../../../design/components/atoms/Button'
1717
import { sendToHost, useElectron } from '../../lib/stores/electron'
1818
import { useEffectOnce } from 'react-use'
1919
import { FormRowProps } from '../../../design/components/molecules/Form/templates/FormRow'
20+
import AnnouncementAlert from '../../components/AnnouncementAlert'
2021

2122
interface HomePageTeamSelectForm {
2223
user: SerializedUser
@@ -70,6 +71,7 @@ const HomeForm = ({ user, teams = [] }: HomePageTeamSelectForm) => {
7071

7172
return (
7273
<Container>
74+
<AnnouncementAlert />
7375
<Form
7476
fullWidth={true}
7577
rows={[

src/cloud/pages/home/HomePageSignInForm.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ import {
3434
BoostHubLoginEvent,
3535
boostHubLoginEventEmitter,
3636
} from '../../../lib/events'
37+
import AnnouncementAlert from '../../components/AnnouncementAlert'
3738

3839
const HomePageSignInForm = () => {
3940
const { sendToElectron, usingElectron } = useElectron()
@@ -186,6 +187,7 @@ const HomePageSignInForm = () => {
186187

187188
return (
188189
<Container>
190+
<AnnouncementAlert />
189191
<div className='intro'>
190192
<Image src={'/app/static/images/logo.png'} className={'intro__logo'} />
191193
<h1 className='intro__heading'>Welcome to Boost Note!</h1>

0 commit comments

Comments
 (0)