mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-26 17:16:11 -05:00
Join flow standalone with no extra stuff.
This commit is contained in:
parent
e8a8d6ab94
commit
49ed43e397
2 changed files with 22 additions and 0 deletions
|
@ -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
15
src/views/join/join.jsx
Normal 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'));
|
Loading…
Reference in a new issue