diff --git a/keyserver/images/ethereum_icon.svg b/keyserver/images/ethereum_icon.svg new file mode 100644 --- /dev/null +++ b/keyserver/images/ethereum_icon.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/keyserver/src/responders/landing-handler.js b/keyserver/src/responders/landing-handler.js --- a/keyserver/src/responders/landing-handler.js +++ b/keyserver/src/responders/landing-handler.js @@ -157,7 +157,6 @@ ); reactStream.pipe(res, { end: false }); await waitForStream(reactStream); - // prettier-ignore res.end(html` diff --git a/landing/landing.react.js b/landing/landing.react.js --- a/landing/landing.react.js +++ b/landing/landing.react.js @@ -9,6 +9,7 @@ import Keyservers from './keyservers.react'; import Privacy from './privacy.react'; import QR from './qr.react'; +import SIWE from './siwe.react'; import Support from './support.react'; import Team from './team.react'; import Terms from './terms.react'; @@ -24,6 +25,7 @@ const onKeyservers = useRouteMatch({ path: '/keyservers' }); const onQR = useRouteMatch({ path: '/qr' }); const onTeam = useRouteMatch({ path: '/team' }); + const onSIWE = useRouteMatch({ path: '/siwe' }); const activePage = React.useMemo(() => { if (onPrivacy) { @@ -36,21 +38,23 @@ return ; } else if (onQR) { return ; + } else if (onSIWE) { + return ; } else if (onTeam) { return ; } else { return ; } - }, [onKeyservers, onPrivacy, onSupport, onTerms, onTeam, onQR]); + }, [onKeyservers, onPrivacy, onSupport, onTerms, onTeam, onQR, onSIWE]); - let header; - if (!onQR) { - header =
; + let header =
; + if (onQR || onSIWE) { + header = null; } - let footer; - if (!onQR) { - footer =