feat(title-logo): use svg nimbus logo mark instead png

This commit is contained in:
RadoslavDimchev 2024-04-12 10:45:49 +03:00 committed by Emil Ivanichkov
parent d577c15cc8
commit cd32b9cfbf
1 changed files with 2 additions and 7 deletions

View File

@ -1,5 +1,6 @@
import { Avatar, Text } from '@status-im/components' import { Avatar, Text } from '@status-im/components'
import { Stack, XStack, YStack } from 'tamagui' import { Stack, XStack, YStack } from 'tamagui'
import NimbusLogoMark from '../Logos/NimbusLogoMark'
type TitleLogoProps = { type TitleLogoProps = {
subtitle?: string subtitle?: string
@ -13,13 +14,7 @@ const TitleLogo = ({ subtitle }: TitleLogoProps) => {
type="icon" type="icon"
size={48} size={48}
backgroundColor="white" backgroundColor="white"
icon={ icon={<NimbusLogoMark />}
<img
src={'/icons/Nimbus-black.png'}
alt="dashboard-logo"
style={{ width: '100%' }}
/>
}
/> />
</Stack> </Stack>
<YStack> <YStack>