fix: remove title logo component and story

This commit is contained in:
RadoslavDimchev 2023-11-06 21:09:25 +02:00
parent 6481dbcdd8
commit 0e9116b0c7
2 changed files with 0 additions and 47 deletions

View File

@ -1,19 +0,0 @@
import type { Meta, StoryObj } from '@storybook/react'
import TitleLogo from './TitleLogo'
const meta = {
title: 'Dashboard/TitleLogo',
component: TitleLogo,
parameters: {
layout: 'centered',
},
tags: ['autodocs'],
} satisfies Meta<typeof TitleLogo>
export default meta
type Story = StoryObj<typeof meta>
export const Default: Story = {
args: {},
}

View File

@ -1,28 +0,0 @@
import { Avatar, Text } from '@status-im/components'
import { Stack, XStack, YStack } from 'tamagui'
const TitleLogo = () => {
return (
<XStack space={'$2'}>
<Stack style={{ marginTop: '3px' }}>
<Avatar
type="icon"
size={32}
icon={
<img src={'/icons/dashboard-logo.png'} alt="dashboard-logo" style={{ width: '100%' }} />
}
/>
</Stack>
<YStack>
<Text size={27} color="#09101C" weight={'semibold'}>
Nimbus
</Text>
<Text size={19} color="#647084">
Node Management Dashboard
</Text>
</YStack>
</XStack>
)
}
export default TitleLogo