Page MenuHomePhabricator

D3604.id11311.diff
No OneTemporary

D3604.id11311.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,15 @@
<DisconnectedBar />
<header className={css['header']}>
<div className={css['main-header']}>
- <h1>Comm</h1>
+ <h1 className={css.wordmark}>
+ <a
+ title="Comm Home"
+ aria-label="Go to Comm Home"
+ onClick={this.onWordmarkClicked}
+ >
+ Comm
+ </a>
+ </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
@@ -73,7 +73,7 @@
align-items: center;
border-bottom: 1px solid var(--border-color);
}
-div.main-header > h1 {
+div.main-header > .wordmark {
color: var(--fg);
padding-left: 92px;
font-family: var(--font-logo);
@@ -81,6 +81,9 @@
font-weight: var(--semi-bold);
font-size: var(--logo-font-22);
}
+.wordmark > a {
+ color: inherit;
+}
div.main-content-container {
position: relative;

File Metadata

Mime Type
text/plain
Expires
Wed, Jan 8, 11:52 AM (2 h, 47 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2798308
Default Alt Text
D3604.id11311.diff (1 KB)

Event Timeline