Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3696291
D3604.id11258.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D3604.id11258.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Wed, Jan 8, 11:56 AM (2 h, 36 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2798308
Default Alt Text
D3604.id11258.diff (1 KB)
Attached To
Mode
D3604: [web] Link wordmark in header to app "homepage"
Attached
Detach File
Event Timeline
Log In to Comment