Skip to content

Commit

Permalink
feat: change logo when user tries to signup
Browse files Browse the repository at this point in the history
  • Loading branch information
sergei-deriv committed May 25, 2023
1 parent 998e0cc commit 6d578f6
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 5 deletions.
18 changes: 14 additions & 4 deletions packages/appstore/src/modules/onboarding/empty-onboarding.tsx
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;
5 changes: 4 additions & 1 deletion packages/appstore/src/modules/onboarding/onboarding.scss
Original file line number Diff line number Diff line change
Expand Up @@ -109,9 +109,12 @@
&__header {
width: 100%;
height: 7.2rem;
background-color: $color-black;
display: flex;
justify-content: center;
align-items: center;

&--mobile {
height: auto;
}
}
}

0 comments on commit 6d578f6

Please sign in to comment.