Page MenuHomePhabricator

D3604.id11117.diff
No OneTemporary

D3604.id11117.diff

diff --git a/web/app.react.js b/web/app.react.js
--- a/web/app.react.js
+++ b/web/app.react.js
@@ -121,6 +121,13 @@
}
}
+ onWordmarkClicked = () => {
+ this.props.dispatch({
+ type: updateNavInfoActionType,
+ payload: { tab: 'chat' },
+ });
+ };
+
render() {
let content;
if (this.props.loggedIn) {
@@ -161,7 +168,7 @@
<DisconnectedBar />
<header className={css['header']}>
<div className={css['main-header']}>
- <h1>Comm</h1>
+ <h1 onClick={this.onWordmarkClicked}>Comm</h1>
<div className={css['upper-right']}>
<LoadingIndicator
status={this.props.entriesLoadingStatus}
diff --git a/web/style.css b/web/style.css
--- a/web/style.css
+++ b/web/style.css
@@ -81,6 +81,9 @@
font-weight: var(--semi-bold);
font-size: var(--logo-font-22);
}
+div.main-header > h1 {
+ cursor: pointer;
+}
div.main-content-container {
position: relative;

File Metadata

Mime Type
text/plain
Expires
Fri, Nov 8, 4:33 PM (19 h, 55 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2444586
Default Alt Text
D3604.id11117.diff (985 B)

Event Timeline