mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2025-03-23 19:30:34 -04:00
Standalone join flow page.
This commit is contained in:
parent
9497096cbf
commit
aa1c4116e0
3 changed files with 3619 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/?$",
|
||||
|
|
14
src/views/join/join.jsx
Normal file
14
src/views/join/join.jsx
Normal file
|
@ -0,0 +1,14 @@
|
|||
const React = require('react');
|
||||
const render = require('../../lib/render.jsx');
|
||||
const JoinModal = require('../../components/modal/join/modal.jsx');
|
||||
|
||||
const openModal = true;
|
||||
const Register = () => (
|
||||
<div className="join">
|
||||
<JoinModal
|
||||
isOpen={openModal}
|
||||
key="scratch3registration"
|
||||
/>
|
||||
</div>
|
||||
);
|
||||
render(<Register />, document.getElementById('app'));
|
Loading…
Add table
Reference in a new issue