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