mirror of
https://github.com/luxfi/explore.git
synced 2026-09-24 00:28:18 +00:00
update styles of no result component
This commit is contained in:
File diff suppressed because one or more lines are too long
|
Before Width: | Height: | Size: 3.8 KiB After Width: | Height: | Size: 7.3 KiB |
@@ -28,7 +28,7 @@ const EmptySearchResult = ({ favoriteApps, selectedCategoryId }: Props) => (
|
||||
No matching apps found.
|
||||
{ 'suggestIdeasFormUrl' in feature && (
|
||||
<>
|
||||
{ ' ' }Have a groundbreaking idea or app suggestion?{ ' ' }
|
||||
{ ' ' }Have a groundbreaking idea or app suggestion?<br/>
|
||||
<LinkExternal href={ feature.suggestIdeasFormUrl }>Share it with us</LinkExternal>
|
||||
</>
|
||||
) }
|
||||
|
||||
@@ -16,23 +16,21 @@ const EmptySearchResult = ({ text }: Props) => {
|
||||
display="flex"
|
||||
flexDirection="column"
|
||||
alignItems="center"
|
||||
justifyContent="center"
|
||||
mt="50px"
|
||||
>
|
||||
<Icon as={ emptySearchResultIcon } boxSize={ 60 }/>
|
||||
<Icon
|
||||
as={ emptySearchResultIcon }
|
||||
w={{ base: '160px', sm: '240px' }}
|
||||
h="auto"
|
||||
mb={{ base: 4, sm: 6 }}
|
||||
/>
|
||||
|
||||
<Heading
|
||||
as="h3"
|
||||
marginBottom={ 2 }
|
||||
fontSize={{ base: '2xl', sm: '3xl' }}
|
||||
fontWeight="semibold"
|
||||
>
|
||||
<Heading as="h4" size="sm" mb={ 2 }>
|
||||
No results
|
||||
</Heading>
|
||||
|
||||
<Text
|
||||
fontSize={{ base: 'sm' }}
|
||||
variant="secondary"
|
||||
align="center"
|
||||
>
|
||||
<Text fontSize={{ base: 'sm', sm: 'md' }} align="center">
|
||||
{ text }
|
||||
</Text>
|
||||
</Box>
|
||||
|
||||
Reference in New Issue
Block a user