diff options
author | Anike Arni <aarni@thoughtworks.com> | 2017-02-01 16:41:11 -0200 |
---|---|---|
committer | Anike Arni <aarni@thoughtworks.com> | 2017-02-01 16:41:11 -0200 |
commit | 50efd8f59b814bc27e870ff3b09372b0d717b926 (patch) | |
tree | bfb09a35af6fa82a232eeb702dc069f5f966d04a /web-ui/app | |
parent | c141c30b068e91f58b0c64649462589f7442a2df (diff) |
[#922] Add react
with @tayanefernandes
Diffstat (limited to 'web-ui/app')
-rw-r--r-- | web-ui/app/account_recovery.html | 5 | ||||
-rw-r--r-- | web-ui/app/js/account_recovery.js | 7 |
2 files changed, 10 insertions, 2 deletions
diff --git a/web-ui/app/account_recovery.html b/web-ui/app/account_recovery.html index 448f5ea8..407f5907 100644 --- a/web-ui/app/account_recovery.html +++ b/web-ui/app/account_recovery.html @@ -1,9 +1,10 @@ <!DOCTYPE html> <html> <head> - <title>$account_email - Pixelated Account Recovery</title> + <title>Pixelated Account Recovery</title> </head> <body> - Hello!!! :) + <div id="root"/> + <script type="text/javascript" src="/assets/account_recovery.js"></script> </body> </html> diff --git a/web-ui/app/js/account_recovery.js b/web-ui/app/js/account_recovery.js index e69de29b..a136b261 100644 --- a/web-ui/app/js/account_recovery.js +++ b/web-ui/app/js/account_recovery.js @@ -0,0 +1,7 @@ +import React from 'react' +import { render } from 'react-dom' + +render( + <h1>Hello, world!</h1>, + document.getElementById('root') +); |