diff --git a/landing/header.css b/landing/header.css --- a/landing/header.css +++ b/landing/header.css @@ -72,7 +72,7 @@ div.twitterIcon, div.githubIcon, -div.webappIcon { +div.commAppIcon { display: flex; justify-content: center; align-items: center; @@ -90,7 +90,7 @@ div.twitterIcon svg, div.githubIcon svg, -div.webappIcon svg { +div.commAppIcon svg { transition: 300ms; } @@ -105,7 +105,7 @@ transition: 300ms; } - div.webappIcon:hover { + div.commAppIcon:hover { background-color: var(--btn-bg); transition: 300ms; } @@ -124,7 +124,7 @@ div.twitterIcon, div.githubIcon, - div.webappIcon { + div.commAppIcon { display: none; } @@ -146,7 +146,7 @@ } /* max-width should be kept in sync with HEADER_BREAKPOINT in header.react */ -@media screen and (max-width: 848px) and (hover: hover) { +@media screen and (max-width: 904px) and (hover: hover) { div.menuIcon:hover { cursor: pointer; background-color: var(--btn-bg); diff --git a/landing/header.react.js b/landing/header.react.js --- a/landing/header.react.js +++ b/landing/header.react.js @@ -5,6 +5,7 @@ faExternalLinkAlt, faBars, faTimes, + faDownload, } from '@fortawesome/free-solid-svg-icons'; import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; import classNames from 'classnames'; @@ -18,7 +19,7 @@ // This value comes from the breakpoint value in header.css. Please make sure // that this value is in sync with header.css if ever changed -export const HEADER_BREAKPOINT = 848; // px +export const HEADER_BREAKPOINT = 904; // px type Props = { +showMobileNav: boolean, @@ -83,8 +84,22 @@