mirror of https://github.com/vector-im/riot-web
Merge pull request #2641 from matrix-org/dbkr/remove_welcome_from_topleft
Remove 'welcome' from top-left menupull/21833/head
commit
df5f0601aa
|
@ -31,10 +31,6 @@ limitations under the License.
|
||||||
mask-image: url('$(res)/img/feather-icons/home.svg');
|
mask-image: url('$(res)/img/feather-icons/home.svg');
|
||||||
}
|
}
|
||||||
|
|
||||||
li.mx_TopLeftMenu_icon_welcome::after {
|
|
||||||
mask-image: url('$(res)/img/feather-icons/gift.svg');
|
|
||||||
}
|
|
||||||
|
|
||||||
li.mx_TopLeftMenu_icon_settings::after {
|
li.mx_TopLeftMenu_icon_settings::after {
|
||||||
mask-image: url('$(res)/img/feather-icons/settings.svg');
|
mask-image: url('$(res)/img/feather-icons/settings.svg');
|
||||||
}
|
}
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" class="feather feather-gift"><polyline points="20 12 20 22 4 22 4 12"></polyline><rect x="2" y="7" width="20" height="5"></rect><line x1="12" y1="22" x2="12" y2="7"></line><path d="M12 7H7.5a2.5 2.5 0 0 1 0-5C11 2 12 7 12 7z"></path><path d="M12 7h4.5a2.5 2.5 0 0 0 0-5C13 2 12 7 12 7z"></path></svg>
|
|
Before Width: | Height: | Size: 482 B |
|
@ -26,7 +26,6 @@ export class TopLeftMenu extends React.Component {
|
||||||
constructor() {
|
constructor() {
|
||||||
super();
|
super();
|
||||||
this.viewHomePage = this.viewHomePage.bind(this);
|
this.viewHomePage = this.viewHomePage.bind(this);
|
||||||
this.viewWelcomePage = this.viewWelcomePage.bind(this);
|
|
||||||
this.openSettings = this.openSettings.bind(this);
|
this.openSettings = this.openSettings.bind(this);
|
||||||
this.signIn = this.signIn.bind(this);
|
this.signIn = this.signIn.bind(this);
|
||||||
this.signOut = this.signOut.bind(this);
|
this.signOut = this.signOut.bind(this);
|
||||||
|
@ -67,9 +66,6 @@ export class TopLeftMenu extends React.Component {
|
||||||
|
|
||||||
return <div className="mx_TopLeftMenu">
|
return <div className="mx_TopLeftMenu">
|
||||||
{homePageSection}
|
{homePageSection}
|
||||||
<ul className="mx_TopLeftMenu_section">
|
|
||||||
<li className="mx_TopLeftMenu_icon_welcome" onClick={this.viewWelcomePage}>{_t("Welcome")}</li>
|
|
||||||
</ul>
|
|
||||||
<ul className="mx_TopLeftMenu_section">
|
<ul className="mx_TopLeftMenu_section">
|
||||||
<li className="mx_TopLeftMenu_icon_settings" onClick={this.openSettings}>{_t("Settings")}</li>
|
<li className="mx_TopLeftMenu_icon_settings" onClick={this.openSettings}>{_t("Settings")}</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
@ -82,11 +78,6 @@ export class TopLeftMenu extends React.Component {
|
||||||
this.closeMenu();
|
this.closeMenu();
|
||||||
}
|
}
|
||||||
|
|
||||||
viewWelcomePage() {
|
|
||||||
dis.dispatch({action: 'view_welcome_page'});
|
|
||||||
this.closeMenu();
|
|
||||||
}
|
|
||||||
|
|
||||||
openSettings() {
|
openSettings() {
|
||||||
dis.dispatch({action: 'view_user_settings'});
|
dis.dispatch({action: 'view_user_settings'});
|
||||||
this.closeMenu();
|
this.closeMenu();
|
||||||
|
|
|
@ -1222,7 +1222,6 @@
|
||||||
"View Community": "View Community",
|
"View Community": "View Community",
|
||||||
"Hide": "Hide",
|
"Hide": "Hide",
|
||||||
"Sign in": "Sign in",
|
"Sign in": "Sign in",
|
||||||
"Welcome": "Welcome",
|
|
||||||
"Login": "Login",
|
"Login": "Login",
|
||||||
"powered by Matrix": "powered by Matrix",
|
"powered by Matrix": "powered by Matrix",
|
||||||
"Robot check is currently unavailable on desktop - please use a <a>web browser</a>": "Robot check is currently unavailable on desktop - please use a <a>web browser</a>",
|
"Robot check is currently unavailable on desktop - please use a <a>web browser</a>": "Robot check is currently unavailable on desktop - please use a <a>web browser</a>",
|
||||||
|
|
Loading…
Reference in New Issue