Page MenuHomePhabricator

D12592.diff
No OneTemporary

D12592.diff

diff --git a/landing/mobile-nav.css b/landing/mobile-nav.css
--- a/landing/mobile-nav.css
+++ b/landing/mobile-nav.css
@@ -8,7 +8,9 @@
z-index: var(--mobile-nav-z-index);
background-color: transparent;
padding: 8px 32px 0;
- transition: top 500ms, background-color 0ms 500ms;
+ transition:
+ top 500ms,
+ background-color 0ms 500ms;
}
nav.activeMobileNav {
@@ -40,6 +42,7 @@
display: flex;
column-gap: 24px;
margin-top: 16px;
+ align-items: center;
}
div.socialIconsContainer a {
diff --git a/landing/mobile-nav.react.js b/landing/mobile-nav.react.js
--- a/landing/mobile-nav.react.js
+++ b/landing/mobile-nav.react.js
@@ -1,6 +1,7 @@
// @flow
import { faTwitter, faGithub } from '@fortawesome/free-brands-svg-icons';
+import { faDownload } from '@fortawesome/free-solid-svg-icons';
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
import classNames from 'classnames';
import * as React from 'react';
@@ -26,7 +27,7 @@
[css.activeMobileNav]: showMobileNav,
});
- const onClickTab = React.useCallback(() => {
+ const dismissMobileNav = React.useCallback(() => {
setShowMobileNav(false);
}, [setShowMobileNav]);
@@ -39,7 +40,7 @@
className={navLinkClassName}
activeClassName={css.activeTab}
>
- <div onClick={onClickTab} className={css.tabContent}>
+ <div onClick={dismissMobileNav} className={css.tabContent}>
Keyserver
</div>
</NavLink>
@@ -51,7 +52,7 @@
className={navLinkClassName}
activeClassName={css.activeTab}
>
- <div onClick={onClickTab} className={css.tabContent}>
+ <div onClick={dismissMobileNav} className={css.tabContent}>
Team
</div>
</NavLink>
@@ -63,12 +64,20 @@
className={navLinkClassName}
activeClassName={css.activeTab}
>
- <div onClick={onClickTab} className={css.tabContent}>
+ <div onClick={dismissMobileNav} className={css.tabContent}>
Investors
</div>
</NavLink>
</div>
<div className={css.socialIconsContainer}>
+ <NavLink to="/download" exact className={navLinkClassName}>
+ <FontAwesomeIcon
+ onClick={dismissMobileNav}
+ icon={faDownload}
+ className={css.icon}
+ size="1x"
+ />
+ </NavLink>
<a
href="https://twitter.com/commdotapp"
target="_blank"

File Metadata

Mime Type
text/plain
Expires
Mon, Nov 25, 5:28 AM (21 h, 23 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2578466
Default Alt Text
D12592.diff (2 KB)

Event Timeline