Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3408865
D7869.id29723.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
963 B
Referenced Files
None
Subscribers
None
D7869.id29723.diff
View Options
diff --git a/landing/header.react.js b/landing/header.react.js
--- a/landing/header.react.js
+++ b/landing/header.react.js
@@ -1,7 +1,11 @@
// @flow
import { faTwitter, faGithub } from '@fortawesome/free-brands-svg-icons';
-import { faExternalLinkAlt, faBars } from '@fortawesome/free-solid-svg-icons';
+import {
+ faExternalLinkAlt,
+ faBars,
+ faTimes,
+} from '@fortawesome/free-solid-svg-icons';
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
import classNames from 'classnames';
import * as React from 'react';
@@ -99,7 +103,11 @@
</div>
</a>
<div className={css.menuIcon} onClick={onClickMobileNavIcon}>
- <FontAwesomeIcon icon={faBars} className={css.icon} size="sm" />
+ <FontAwesomeIcon
+ icon={showMobileNav ? faTimes : faBars}
+ className={css.icon}
+ size="sm"
+ />
</div>
</div>
</div>
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Dec 5, 2:12 PM (17 h, 40 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2616159
Default Alt Text
D7869.id29723.diff (963 B)
Attached To
Mode
D7869: [landing] show close icon when mobile nav is active
Attached
Detach File
Event Timeline
Log In to Comment