Skip to content

Commit

Permalink
update asset, add elevation
Browse files Browse the repository at this point in the history
  • Loading branch information
bohdanprog committed May 15, 2024
1 parent f76c383 commit 4555d2d
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 3 deletions.
1 change: 1 addition & 0 deletions src/frontend/images/grey-map-icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 16 additions & 3 deletions src/frontend/sharedComponents/LogoWithErrorIcon.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,25 @@
import React from 'react';
import {View} from 'react-native';
import CoMapeoLogo from '../images/CoMapeoLogo.svg';
import GreyMap from '../images/grey-map-icon.svg';
import ErrorIcon from '../images/Error.svg';
import {ViewStyleProp} from '../sharedTypes';

export const LogoWithErrorIcon = ({style}: {style?: ViewStyleProp}) => {
return (
<View style={[{alignItems: 'center', position: 'relative'}, style]}>
<CoMapeoLogo width={160} height={160} />
<View
style={[
{
alignItems: 'center',
position: 'relative',
shadowColor: '#000',
backgroundColor: '#fff',
borderRadius: 100,
elevation: 20,
padding: 40,
},
style,
]}>
<GreyMap width={100} height={100} />
<ErrorIcon
width={50}
height={50}
Expand Down

0 comments on commit 4555d2d

Please sign in to comment.