add more focus on search
remove icon duplication minor ux / ui fix
This commit is contained in:
parent
8d8bcf303e
commit
ce889f2d3b
2 changed files with 6 additions and 8 deletions
|
@ -95,10 +95,6 @@ export const selectPageTitle = createSelector(
|
||||||
return __("Help");
|
return __("Help");
|
||||||
case "developer":
|
case "developer":
|
||||||
return __("Developer");
|
return __("Developer");
|
||||||
case "search":
|
|
||||||
return params.query
|
|
||||||
? __("Search results for %s", params.query)
|
|
||||||
: __("Search");
|
|
||||||
case "show": {
|
case "show": {
|
||||||
const parts = [lbryuri.normalize(params.uri)];
|
const parts = [lbryuri.normalize(params.uri)];
|
||||||
// If the params has any keys other than "uri"
|
// If the params has any keys other than "uri"
|
||||||
|
@ -112,7 +108,10 @@ export const selectPageTitle = createSelector(
|
||||||
case "published":
|
case "published":
|
||||||
return __("Publishes");
|
return __("Publishes");
|
||||||
case "discover":
|
case "discover":
|
||||||
return __("Home");
|
case "search":
|
||||||
|
return params.query
|
||||||
|
? __("Search results for %s", params.query)
|
||||||
|
: __("Search");
|
||||||
case false:
|
case false:
|
||||||
case null:
|
case null:
|
||||||
case "":
|
case "":
|
||||||
|
|
|
@ -48,8 +48,6 @@ export const selectWunderBarIcon = createSelector(
|
||||||
switch (page) {
|
switch (page) {
|
||||||
case "auth":
|
case "auth":
|
||||||
return "icon-user";
|
return "icon-user";
|
||||||
case "search":
|
|
||||||
return "icon-search";
|
|
||||||
case "settings":
|
case "settings":
|
||||||
return "icon-gear";
|
return "icon-gear";
|
||||||
case "help":
|
case "help":
|
||||||
|
@ -81,7 +79,8 @@ export const selectWunderBarIcon = createSelector(
|
||||||
case "developer":
|
case "developer":
|
||||||
return "icon-code";
|
return "icon-code";
|
||||||
case "discover":
|
case "discover":
|
||||||
return "icon-home";
|
case "search":
|
||||||
|
return "icon-search";
|
||||||
default:
|
default:
|
||||||
return "icon-file";
|
return "icon-file";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue