adds landmark elements to join page

This commit is contained in:
Chris Cuellar 2022-12-02 14:43:28 -08:00
parent 4f56425532
commit 6316e05aa9
3 changed files with 12 additions and 14 deletions

View file

@ -235,7 +235,7 @@ class JoinFlow extends React.Component {
render () {
return (
<React.Fragment>
<main>
{this.state.registrationError ? (
<RegistrationErrorStep
canTryAgain={this.canTryAgain()}
@ -280,7 +280,7 @@ class JoinFlow extends React.Component {
/>
</Progression>
)}
</React.Fragment>
</main>
);
}
}

View file

@ -14,16 +14,14 @@ const Registration = ({
isOpen,
showCloseButton
}) => (
<div>
<JoinModal
createProjectOnComplete={createProjectOnComplete}
isOpen={isOpen}
key="join-modal"
showCloseButton={showCloseButton}
onCompleteRegistration={handleCompleteRegistration}
onRequestClose={handleCloseRegistration}
/>
</div>
<JoinModal
createProjectOnComplete={createProjectOnComplete}
isOpen={isOpen}
key="join-modal"
showCloseButton={showCloseButton}
onCompleteRegistration={handleCompleteRegistration}
onRequestClose={handleCloseRegistration}
/>
);
Registration.propTypes = {

View file

@ -9,7 +9,7 @@ initSentry();
require('./join.scss');
const Register = () => (
<ErrorBoundary componentName="Join">
<div className="join">
<nav className="join">
<a
aria-label="Scratch"
href="/"
@ -20,7 +20,7 @@ const Register = () => (
/>
</a>
</div>
</nav>
<Scratch3Registration
createProjectOnComplete
isOpen