add for feeds

This commit is contained in:
Hailey
2024-06-05 23:58:32 -07:00
parent 695099d4d2
commit a724d24955
4 changed files with 66 additions and 62 deletions
@@ -1,40 +0,0 @@
import React from 'react'
import {View} from 'react-native'
import {Trans} from '@lingui/macro'
import {atoms as a, useTheme} from '#/alf'
import {Hashtag_Stroke2_Corner0_Rounded as Hashtag} from '#/components/icons/Hashtag'
import {UserCircle_Stroke2_Corner0_Rounded as UserCircle} from '#/components/icons/UserCircle'
import {Text} from '#/components/Typography'
export function WizardListEmpty({type}: {type: 'profiles' | 'feeds'}) {
const t = useTheme()
return (
<View
style={[a.flex_1, a.px_md, a.align_center, a.gap_md, {marginTop: 100}]}>
{type === 'profiles' ? (
<UserCircle
width={100}
height={100}
style={t.atoms.text_contrast_medium}
/>
) : (
<Hashtag
width={100}
height={100}
style={t.atoms.text_contrast_medium}
/>
)}
<Text style={[a.text_md, a.text_center, t.atoms.text_contrast_medium]}>
{type === 'profiles' ? (
<Trans>
Search for people that you want to suggest others to follow
</Trans>
) : (
<Trans>Add some cool feeds!</Trans>
)}
</Text>
</View>
)
}