fix: remove title logo component and story
This commit is contained in:
parent
6481dbcdd8
commit
0e9116b0c7
|
@ -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: {},
|
||||
}
|
|
@ -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
|
Loading…
Reference in New Issue