-
Notifications
You must be signed in to change notification settings - Fork 298
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: change logo when user tries to signup
- Loading branch information
1 parent
998e0cc
commit 6d578f6
Showing
2 changed files
with
18 additions
and
5 deletions.
There are no files selected for viewing
18 changes: 14 additions & 4 deletions
18
packages/appstore/src/modules/onboarding/empty-onboarding.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,24 @@ | ||
import React from 'react'; | ||
import TradigPlatformIconProps from 'Assets/svgs/trading-platform'; | ||
import { observer, useStore } from '@deriv/stores'; | ||
import classNames from 'classnames'; | ||
|
||
const EmptyOnboarding = observer(() => { | ||
const { | ||
ui: { is_mobile }, | ||
} = useStore(); | ||
|
||
const EmptyOnboarding = () => { | ||
return ( | ||
<div className='empty-onboarding__wrapper'> | ||
<div className='empty-onboarding__header'> | ||
<TradigPlatformIconProps icon='DerivTradingLogo' /> | ||
<div | ||
className={classNames('empty-onboarding__header', { | ||
'empty-onboarding__header--mobile': is_mobile, | ||
})} | ||
> | ||
<TradigPlatformIconProps icon='DerivLogo' /> | ||
</div> | ||
</div> | ||
); | ||
}; | ||
}); | ||
|
||
export default EmptyOnboarding; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters