mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2025-02-17 08:31:23 -05:00
adds landmark elements to join page
This commit is contained in:
parent
4f56425532
commit
6316e05aa9
3 changed files with 12 additions and 14 deletions
|
@ -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>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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 = {
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue