Skip to content

Commit

Permalink
Merge pull request #28 from farrah-deriv/header-logo
Browse files Browse the repository at this point in the history
farrah/added the p2p logo
  • Loading branch information
farrah-deriv authored Apr 26, 2024
2 parents 4d0879b + 09141e1 commit 1e1de54
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Header/Header.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.header {
height: 4rem;
display: flex;
justify-content: end;
justify-content: space-between;
align-items: center;
font-size: 1.6rem;
font-weight: 800;
Expand Down
2 changes: 2 additions & 0 deletions src/components/Header/Header.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { DerivProductDerivP2pBrandLightLogoWordmarkHorizontalIcon } from '@deriv/quill-icons';
import { useAuthData } from '@deriv-com/api-hooks';
import { Button } from '@deriv-com/ui';
import { LocalStorageConstants, LocalStorageUtils, URLUtils } from '@deriv-com/utils';
Expand All @@ -14,6 +15,7 @@ const Header = () => {

return (
<div className='header'>
<DerivProductDerivP2pBrandLightLogoWordmarkHorizontalIcon width='100' />
{activeLoginid ? (
<Button onClick={logout}>Logout</Button>
) : (
Expand Down

0 comments on commit 1e1de54

Please sign in to comment.