summaryrefslogtreecommitdiff
path: root/web-ui/app
diff options
context:
space:
mode:
authorAnike Arni <anikarni@gmail.com>2017-02-02 18:14:53 -0200
committerGitHub <noreply@github.com>2017-02-02 18:14:53 -0200
commit84c5fc7871206c74bb50df2f618992b0d57ca397 (patch)
treefb148b22b2c6c1ca7cc30c5acc83d781704ade87 /web-ui/app
parent98abd30f1ecf7c8d6ef3d5ecce90396a2868a1fc (diff)
parent1a37dcd2dc8a02eda2a0cc3f90521b0ebc1c9198 (diff)
Merge pull request #958 from pixelated/backup-email-page
Adding react initial configuration
Diffstat (limited to 'web-ui/app')
-rw-r--r--web-ui/app/account_recovery.html10
-rw-r--r--web-ui/app/js/account_recovery.js8
-rw-r--r--web-ui/app/js/account_recovery/page.js5
3 files changed, 23 insertions, 0 deletions
diff --git a/web-ui/app/account_recovery.html b/web-ui/app/account_recovery.html
new file mode 100644
index 00000000..407f5907
--- /dev/null
+++ b/web-ui/app/account_recovery.html
@@ -0,0 +1,10 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>Pixelated Account Recovery</title>
+ </head>
+ <body>
+ <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
new file mode 100644
index 00000000..02183574
--- /dev/null
+++ b/web-ui/app/js/account_recovery.js
@@ -0,0 +1,8 @@
+import React from 'react'
+import { render } from 'react-dom'
+import Page from 'js/account_recovery/page'
+
+render(
+ <Page/>,
+ document.getElementById('root')
+);
diff --git a/web-ui/app/js/account_recovery/page.js b/web-ui/app/js/account_recovery/page.js
new file mode 100644
index 00000000..e400dfae
--- /dev/null
+++ b/web-ui/app/js/account_recovery/page.js
@@ -0,0 +1,5 @@
+import React from 'react'
+
+const Page = () => <h1>Hello world</h1>;
+
+export default Page