mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2025-03-31 15:21:34 -04:00
Merge pull request #3242 from picklesrus/standalone-take2
Standalone join flow page.
This commit is contained in:
commit
7b04d577b9
3 changed files with 3620 additions and 3627 deletions
7225
package-lock.json
generated
7225
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -328,6 +328,13 @@
|
|||
"view": "boost/boost",
|
||||
"title": "LEGO BOOST"
|
||||
},
|
||||
{
|
||||
"name": "join",
|
||||
"pattern": "^/join/?$",
|
||||
"routeAlias": "/join/?$",
|
||||
"view": "join/join",
|
||||
"title": "Join Scratch"
|
||||
},
|
||||
{
|
||||
"name":"3-faq-redirect",
|
||||
"pattern": "^/3faq/?$",
|
||||
|
|
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…
Add table
Reference in a new issue