Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
frontend
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
vicotor
frontend
Commits
68388c92
Unverified
Commit
68388c92
authored
May 06, 2024
by
Max Alekseenko
Committed by
GitHub
May 06, 2024
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1867 from blockscout/update-styles-of-no-result
Update styles of "no result" component
parents
813d9949
0694b5cb
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
23 additions
and
20 deletions
+23
-20
empty_search_result.svg
icons/empty_search_result.svg
+11
-6
EmptySearchResult.tsx
ui/marketplace/EmptySearchResult.tsx
+2
-2
EmptySearchResult.tsx
ui/shared/EmptySearchResult.tsx
+10
-12
No files found.
icons/empty_search_result.svg
View file @
68388c92
This diff is collapsed.
Click to expand it.
ui/marketplace/EmptySearchResult.tsx
View file @
68388c92
...
@@ -20,7 +20,7 @@ const EmptySearchResult = ({ favoriteApps, selectedCategoryId }: Props) => (
...
@@ -20,7 +20,7 @@ const EmptySearchResult = ({ favoriteApps, selectedCategoryId }: Props) => (
text=
{
text=
{
(
selectedCategoryId
===
MarketplaceCategory
.
FAVORITES
&&
!
favoriteApps
.
length
)
?
(
(
selectedCategoryId
===
MarketplaceCategory
.
FAVORITES
&&
!
favoriteApps
.
length
)
?
(
<>
<>
You don
{
apos
}
t have any favorite apps.
You don
{
apos
}
t have any favorite apps.
<
br
/>
Click on the
<
IconSvg
name=
"star_outline"
w=
{
4
}
h=
{
4
}
mb=
{
-
0.5
}
/>
icon on the app
{
apos
}
s card to add it to Favorites.
Click on the
<
IconSvg
name=
"star_outline"
w=
{
4
}
h=
{
4
}
mb=
{
-
0.5
}
/>
icon on the app
{
apos
}
s card to add it to Favorites.
</>
</>
)
:
(
)
:
(
...
@@ -28,7 +28,7 @@ const EmptySearchResult = ({ favoriteApps, selectedCategoryId }: Props) => (
...
@@ -28,7 +28,7 @@ const EmptySearchResult = ({ favoriteApps, selectedCategoryId }: Props) => (
No matching apps found.
No matching apps found.
{
'
suggestIdeasFormUrl
'
in
feature
&&
(
{
'
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
>
<
LinkExternal
href=
{
feature
.
suggestIdeasFormUrl
}
>
Share it with us
</
LinkExternal
>
</>
</>
)
}
)
}
...
...
ui/shared/EmptySearchResult.tsx
View file @
68388c92
...
@@ -16,23 +16,21 @@ const EmptySearchResult = ({ text }: Props) => {
...
@@ -16,23 +16,21 @@ const EmptySearchResult = ({ text }: Props) => {
display=
"flex"
display=
"flex"
flexDirection=
"column"
flexDirection=
"column"
alignItems=
"center"
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
<
Heading
as=
"h4"
size=
"sm"
mb=
{
2
}
>
as=
"h3"
marginBottom=
{
2
}
fontSize=
{
{
base
:
'
2xl
'
,
sm
:
'
3xl
'
}
}
fontWeight=
"semibold"
>
No results
No results
</
Heading
>
</
Heading
>
<
Text
<
Text
fontSize=
{
{
base
:
'
sm
'
,
sm
:
'
md
'
}
}
align=
"center"
>
fontSize=
{
{
base
:
'
sm
'
}
}
variant=
"secondary"
align=
"center"
>
{
text
}
{
text
}
</
Text
>
</
Text
>
</
Box
>
</
Box
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment