Skip to content

Commit

Permalink
Merge pull request #74 from bitcoin-sv/BUX-700/BsvLogo
Browse files Browse the repository at this point in the history
feat(bux-700): changed logo to bsv
  • Loading branch information
Nazarii-4chain authored Apr 10, 2024
2 parents 1196ba6 + 3c6d24f commit 85059fa
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 2 deletions.
14 changes: 14 additions & 0 deletions src/components/BsvLogo/BsvLogo.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@

export const BsvLogo = () => {
return <svg enableBackground="new 0 0 2499.6 2500" viewBox="0 0 2499.6 2500" xmlns="http://www.w3.org/2000/svg">
<path
d="m2499.6 1250c0 690.2-559.6 1249.8-1250.1 1249.9-690 0-1249.6-559.7-1249.5-1250-.2-690.3 559.4-1249.9 1249.7-1249.9s1249.9 559.7 1249.9 1250z"
fill="#eab300" />
<g fill="#fff">
<path
d="m1741.5 943.8c-16.1-167.4-160.6-223.5-343.2-239.5v-232.3h-141.3v226.1c-37.1 0-75.1.7-112.8 1.5v-227.6h-141.3l-.1 232.1c-30.6.6-60.7 1.2-90 1.2v-.7l-194.9-.1v151s104.4-2 102.6-.1c57.3 0 75.9 33.2 81.3 61.9v264.6c4 0 9.1.2 14.9 1h-14.9l-.1 370.7c-2.5 18-13.1 46.7-53.1 46.8 1.8 1.6-102.7 0-102.7 0l-28.1 168.8h184c34.2 0 67.9.6 100.9.8l.1 234.9h141.2v-232.4c38.7.8 76.2 1.1 112.9 1.1l-.1 231.3h141.3v-234.4c237.6-13.6 404.1-73.5 424.7-296.7 16.7-179.7-67.8-260-202.7-292.4 82.1-41.6 133.4-115.1 121.4-237.6zm-197.8 502.2c0 175.5-300.5 155.6-396.4 155.6v-311.3c95.9.2 396.4-27.3 396.4 155.7zm-65.8-439.1c0 159.7-250.8 141-330.6 141.1v-282.2c79.9 0 330.7-25.4 330.6 141.1z" />
<path d="m902 1175.7h21v15.5h-21z" />
</g>
</svg>
}

1 change: 1 addition & 0 deletions src/components/BsvLogo/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from './BsvLogo.tsx'
4 changes: 2 additions & 2 deletions src/components/UserMenu/UserMenu.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import React, { FC, useState } from 'react'
import PersonIcon from '@mui/icons-material/Person'
import { Avatar, MenuButton, MenuElement, MenuList, UserMenuWrapper } from '@/components/UserMenu/UserMenu.styles'
import LogoutIcon from '@mui/icons-material/Logout'
import { LogoutModal } from '@/components/Modal'
import { useNavigate } from 'react-router-dom'
import { useAuthorization } from '@/providers'
import { logoutUser } from '@/api/requests'
import { BsvLogo } from '@/components/BsvLogo';

interface MenuProps {
userEmail?: string
Expand Down Expand Up @@ -67,7 +67,7 @@ export const UserMenu: FC<MenuProps> = ({ userEmail }) => {
<MenuButton variant="transparent" onClick={(event) => userMenuHandler(event)} isOpen={userMenu}>
<span>{userEmail}</span>
<Avatar>
<PersonIcon />
<BsvLogo />
</Avatar>
</MenuButton>
{userMenu && (
Expand Down

0 comments on commit 85059fa

Please sign in to comment.