mirror of https://git.lenooby09.tech/LeNooby09/social-app.git
1import React from 'react'
2import {View} from 'react-native'
3import {Trans} from '@lingui/macro'
4
5import {usePalette} from '#/lib/hooks/usePalette'
6import {InfoCircleIcon} from '#/lib/icons'
7import {TextLink} from '../util/Link'
8import {Text} from '../util/text/Text'
9
10export function DiscoverFallbackHeader() {
11 const pal = usePalette('default')
12 return (
13 <View
14 style={[
15 {
16 flexDirection: 'row',
17 alignItems: 'center',
18 paddingVertical: 12,
19 paddingHorizontal: 12,
20 borderTopWidth: 1,
21 },
22 pal.border,
23 pal.viewLight,
24 ]}>
25 <View style={{width: 68, paddingLeft: 12}}>
26 <InfoCircleIcon size={36} style={pal.textLight} strokeWidth={1.5} />
27 </View>
28 <View style={{flex: 1}}>
29 <Text type="md" style={pal.text}>
30 <Trans>
31 We ran out of posts from your follows. Here's the latest from{' '}
32 <TextLink
33 type="md-medium"
34 href="/profile/bsky.app/feed/whats-hot"
35 text="Discover"
36 style={pal.link}
37 />
38 .
39 </Trans>
40 </Text>
41 </View>
42 </View>
43 )
44}