diff --git a/webapp/channels/src/components/main_menu/learn_about_teams_link.scss b/webapp/channels/src/components/main_menu/learn_about_teams_link.scss deleted file mode 100644 index 521b9f9343..0000000000 --- a/webapp/channels/src/components/main_menu/learn_about_teams_link.scss +++ /dev/null @@ -1,40 +0,0 @@ -.LearnAboutTeamsLink { - >span { - width: 100%; - - a { - display: flex; - align-items: center; - padding: 6px 18px; - column-gap: 10px; - - &:hover, - &:focus, - &:active { - text-decoration: none; - } - - >i { - display: inline-flex !important; - padding: 3px; - background-color: hsla(221, 77%, 48%, 0.08); - border-radius: 50%; - font-size: 14px !important; - - &::before { - margin: 0; - } - } - - span { - font-size: 12px; - font-weight: 600; - line-height: 16px; - - &:hover { - text-decoration: underline; - } - } - } - } -} diff --git a/webapp/channels/src/components/main_menu/learn_about_teams_link.tsx b/webapp/channels/src/components/main_menu/learn_about_teams_link.tsx deleted file mode 100644 index 90dd92d24c..0000000000 --- a/webapp/channels/src/components/main_menu/learn_about_teams_link.tsx +++ /dev/null @@ -1,30 +0,0 @@ -// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. -// See LICENSE.txt for license information. - -import React from 'react'; -import {FormattedMessage} from 'react-intl'; - -import ExternalLink from 'components/external_link'; -import './learn_about_teams_link.scss'; - -const LearnAboutTeamsLink = () => { - return ( -
- ( - - - {chunks} - - ), - }} - /> -
- ); -}; -export default LearnAboutTeamsLink; diff --git a/webapp/channels/src/components/main_menu/main_menu.tsx b/webapp/channels/src/components/main_menu/main_menu.tsx index 5c5ee790e0..9a12835115 100644 --- a/webapp/channels/src/components/main_menu/main_menu.tsx +++ b/webapp/channels/src/components/main_menu/main_menu.tsx @@ -35,7 +35,6 @@ import * as UserAgent from 'utils/user_agent'; import type {ModalData} from 'types/actions'; import type {PluginComponent} from 'types/store/plugins'; -import LearnAboutTeamsLink from './learn_about_teams_link'; import './main_menu.scss'; export type Props = { @@ -525,11 +524,6 @@ export class MainMenu extends React.PureComponent { )} /> - -
- -
-
{pluginItems} diff --git a/webapp/channels/src/components/select_team/select_team.tsx b/webapp/channels/src/components/select_team/select_team.tsx index abafce1e19..b7f9ec71d1 100644 --- a/webapp/channels/src/components/select_team/select_team.tsx +++ b/webapp/channels/src/components/select_team/select_team.tsx @@ -20,7 +20,6 @@ import InfiniteScroll from 'components/common/infinite_scroll'; import SiteNameAndDescription from 'components/common/site_name_and_description'; import FormattedMarkdownMessage from 'components/formatted_markdown_message'; import LoadingScreen from 'components/loading_screen'; -import LearnAboutTeamsLink from 'components/main_menu/learn_about_teams_link'; import SystemPermissionGate from 'components/permissions_gates/system_permission_gate'; import LogoutIcon from 'components/widgets/icons/fa_logout_icon'; @@ -285,7 +284,6 @@ export default class SelectTeam extends React.PureComponent { defaultMessage='Teams you can join: ' /> - { defaultMessage='General Settings' /> -
{nameSection}