From b8b2f20b16d92274fc3e576f493d19347f9421da Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Tue, 20 Feb 2024 10:10:44 +0100 Subject: [PATCH] Change explore icon from hashtag to compass in web UI (#29294) --- app/javascript/mastodon/features/explore/index.jsx | 4 ++-- .../mastodon/features/ui/components/navigation_panel.jsx | 4 ++-- app/javascript/material-icons/400-24px/explore-fill.svg | 1 + app/javascript/material-icons/400-24px/explore.svg | 1 + 4 files changed, 6 insertions(+), 4 deletions(-) create mode 100644 app/javascript/material-icons/400-24px/explore-fill.svg create mode 100644 app/javascript/material-icons/400-24px/explore.svg diff --git a/app/javascript/mastodon/features/explore/index.jsx b/app/javascript/mastodon/features/explore/index.jsx index 8ebaccd01..8cc8a4b00 100644 --- a/app/javascript/mastodon/features/explore/index.jsx +++ b/app/javascript/mastodon/features/explore/index.jsx @@ -8,8 +8,8 @@ import { NavLink, Switch, Route } from 'react-router-dom'; import { connect } from 'react-redux'; +import ExploreIcon from '@/material-icons/400-24px/explore.svg?react'; import SearchIcon from '@/material-icons/400-24px/search.svg?react'; -import TagIcon from '@/material-icons/400-24px/tag.svg?react'; import Column from 'mastodon/components/column'; import ColumnHeader from 'mastodon/components/column_header'; import Search from 'mastodon/features/compose/containers/search_container'; @@ -59,7 +59,7 @@ class Explore extends PureComponent { + ) : ( )} diff --git a/app/javascript/material-icons/400-24px/explore-fill.svg b/app/javascript/material-icons/400-24px/explore-fill.svg new file mode 100644 index 000000000..febe0a63b --- /dev/null +++ b/app/javascript/material-icons/400-24px/explore-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/app/javascript/material-icons/400-24px/explore.svg b/app/javascript/material-icons/400-24px/explore.svg new file mode 100644 index 000000000..547a99942 --- /dev/null +++ b/app/javascript/material-icons/400-24px/explore.svg @@ -0,0 +1 @@ + \ No newline at end of file