Merge branch 'mp/status/indigo-react' (#3614)

* origin/mp/status/indigo-react:
  interface: remove png binaries
  interface: indigo-react statusbar icons

Signed-off-by: Matilde Park <matilde@tlon.io>
This commit is contained in:
Matilde Park 2020-10-01 00:23:43 -04:00
commit fe8432d62c
5 changed files with 5 additions and 20 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 693 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 582 B

View File

@ -10,7 +10,6 @@ import { Sigil } from '~/logic/lib/sigil';
const StatusBar = (props) => {
const location = useLocation();
const atHome = Boolean(location.pathname === '/');
const display = (!window.location.href.includes('popout/'))
? 'grid' : 'none';
@ -33,17 +32,10 @@ const StatusBar = (props) => {
>
<Row collapse>
<StatusBarItem mr={2} onClick={() => props.history.push('/')}>
<img
className='invert-d'
src='/~landscape/img/icon-home.png'
height='11'
width='11'
/>
<Icon icon='Home' color='transparent' stroke='black' />
</StatusBarItem>
<StatusBarItem mr={2} onClick={() => props.api.local.setOmnibox()}>
<Text display='inline-block' style={{ transform: 'rotate(180deg)' }}>
</Text>
<Icon icon='LeapArrow'/>
<Text ml={2} color='black'>
Leap
</Text>
@ -54,12 +46,7 @@ const StatusBar = (props) => {
<StatusBarItem
onClick={() => props.history.push('/~groups')}
badge={Object.keys(invites).length > 0}>
<img
className='invert-d v-mid'
src='/~landscape/img/groups.png'
height='15'
width='15'
/>
<Icon icon='Groups' color='transparent' stroke='black'/>
<Text display={["none", "inline"]} ml={2}>Groups</Text>
</StatusBarItem>
<ReconnectButton

View File

@ -31,10 +31,8 @@ export function StatusBarItem({
<Icon
size="22px"
icon="Bullet"
fill="blue"
position="absolute"
top={"-10px"}
right={"-12px"}
color="blue"
style={{ position: 'absolute', top: '-10', right: '-11' }}
/>
)}
</Row>