diff --git a/src/components/modal/join/modal.jsx b/src/components/modal/join/modal.jsx
new file mode 100644
index 000000000..648d7341c
--- /dev/null
+++ b/src/components/modal/join/modal.jsx
@@ -0,0 +1,28 @@
+const PropTypes = require('prop-types');
+const React = require('react');
+const Modal = require('../base/modal.jsx');
+
+require('./modal.scss');
+
+const JoinModal = ({
+ isOpen,
+ onCompleteRegistration, // eslint-disable-line no-unused-vars
+ onRequestClose,
+ ...modalProps
+}) => (
+
+);
+
+JoinModal.propTypes = {
+ isOpen: PropTypes.bool,
+ onCompleteRegistration: PropTypes.func,
+ onRequestClose: PropTypes.func
+};
+
+module.exports = JoinModal;
diff --git a/src/components/modal/join/modal.scss b/src/components/modal/join/modal.scss
new file mode 100644
index 000000000..16a225ba6
--- /dev/null
+++ b/src/components/modal/join/modal.scss
@@ -0,0 +1,5 @@
+@import "../../../colors";
+@import "../../../frameless";
+
+.mod-join {
+}
diff --git a/src/components/navigation/www/navigation.jsx b/src/components/navigation/www/navigation.jsx
index 7068f05f0..ab5c13fef 100644
--- a/src/components/navigation/www/navigation.jsx
+++ b/src/components/navigation/www/navigation.jsx
@@ -18,10 +18,13 @@ const LoginDropdown = require('../../login/login-dropdown.jsx');
const CanceledDeletionModal = require('../../login/canceled-deletion-modal.jsx');
const NavigationBox = require('../base/navigation.jsx');
const Registration = require('../../registration/registration.jsx');
+const Scratch3Registration = require('../../registration/scratch3-registration.jsx');
const AccountNav = require('./accountnav.jsx');
require('./navigation.scss');
+const USE_SCRATCH3_REGISTRATION = false;
+
class Navigation extends React.Component {
constructor (props) {
super(props);
@@ -195,9 +198,17 @@ class Navigation extends React.Component {
,
- ,
+ (
+ USE_SCRATCH3_REGISTRATION ? (
+
+ ) : (
+
+ )
+ ),
(
+
+
+
+);
+
+Registration.propTypes = {
+ handleCloseRegistration: PropTypes.func,
+ handleCompleteRegistration: PropTypes.func,
+ isOpen: PropTypes.bool
+};
+
+const mapStateToProps = state => ({
+ isOpen: state.navigation.registrationOpen
+});
+
+const mapDispatchToProps = dispatch => ({
+ handleCloseRegistration: () => {
+ dispatch(navigationActions.setRegistrationOpen(false));
+ },
+ handleCompleteRegistration: () => {
+ dispatch(navigationActions.handleCompleteRegistration());
+ }
+});
+
+module.exports = connect(
+ mapStateToProps,
+ mapDispatchToProps
+)(Registration);