Join flow standalone with no extra stuff.

This commit is contained in:
picklesrus 2019-09-03 16:38:38 -04:00
parent e8a8d6ab94
commit 49ed43e397
2 changed files with 22 additions and 0 deletions

View file

@ -161,6 +161,13 @@
"view": "jobs/moderator/moderator",
"title": "Community Moderator"
},
{
"name": "join",
"pattern": "^/join/?$",
"routeAlias": "/join/?$",
"view": "join/join",
"title": "Join Scratch"
},
{
"name": "messages",
"pattern": "^/messages/?$",

15
src/views/join/join.jsx Normal file
View file

@ -0,0 +1,15 @@
const React = require('react');
const render = require('../../lib/render.jsx');
const JoinModal = require('../../components/modal/join/modal.jsx');
const ErrorBoundary = require('../../components/errorboundary/errorboundary.jsx');
const openModal = true;
const Register = () => (
<ErrorBoundary>
<JoinModal
isOpen={openModal}
key="scratch3registration"
/>
</ErrorBoundary>
);
render(<Register />, document.getElementById('app'));