diff --git a/landing/app-landing.react.js b/landing/app-landing.react.js --- a/landing/app-landing.react.js +++ b/landing/app-landing.react.js @@ -10,12 +10,7 @@ import StarBackground from './star-background.react'; import usePreloadAssets from './use-pre-load-assets.react'; -type AppLandingProps = { - +onRequestAccess: (e: Event) => Promise, -}; - -function AppLanding(props: AppLandingProps): React.Node { - const { onRequestAccess } = props; +function AppLanding(): React.Node { usePreloadAssets(assetMetaData); const [ hero, @@ -33,7 +28,7 @@
- + diff --git a/landing/header.css b/landing/header.css --- a/landing/header.css +++ b/landing/header.css @@ -9,7 +9,7 @@ align-items: center; grid-template-columns: 40px repeat(12, 1fr) 40px; column-gap: 1.5%; - grid-template-areas: '. logo logo . . . page_nav page_nav . cta_btn cta_btn sIcons sIcons .'; + grid-template-areas: '. logo logo . . . page_nav page_nav . . . sIcons sIcons .'; } .logo { @@ -41,13 +41,6 @@ min-width: 225px; } -div.button_container { - grid-area: cta_btn; - display: flex; - width: 100%; - justify-content: flex-end; -} - .social_icons_container { grid-area: sIcons; display: flex; @@ -73,12 +66,6 @@ gap: 12px; } - .request_access, - div.button_container, - button.request_access { - display: none; - } - .social_icon { display: block; } diff --git a/landing/header.react.js b/landing/header.react.js --- a/landing/header.react.js +++ b/landing/header.react.js @@ -6,13 +6,8 @@ import * as React from 'react'; import { NavLink } from 'react-router-dom'; -import Button from './button.react.js'; import css from './header.css'; -type HeaderProps = { - +onRequestAccess: (e: Event) => Promise, -}; - const iconProps = { size: 'lg', color: '#ebedee', @@ -25,9 +20,7 @@ }, }; -function Header(props: HeaderProps): React.Node { - const { onRequestAccess } = props; - +function Header(): React.Node { return (