summaryrefslogtreecommitdiff
path: root/client/components/App.jsx
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2017-06-29 00:14:07 +0200
committerJules Laplace <julescarbon@gmail.com>2017-06-29 00:14:07 +0200
commita190d638c608f4352e3f01d72ed419a5ab5129ed (patch)
treedd6e7ea24c2ae4b6251f1ae2b609d9017acfd199 /client/components/App.jsx
db stuff and initial app scaffold
Diffstat (limited to 'client/components/App.jsx')
-rw-r--r--client/components/App.jsx24
1 files changed, 24 insertions, 0 deletions
diff --git a/client/components/App.jsx b/client/components/App.jsx
new file mode 100644
index 0000000..0b1557f
--- /dev/null
+++ b/client/components/App.jsx
@@ -0,0 +1,24 @@
+import { h, Component } from 'preact'
+import { isMobile } from '../util'
+import db from '../db'
+import { Link, withRouter } from 'react-router-dom'
+
+import Header from './Header.jsx'
+
+class App extends Component {
+ constructor(props) {
+ super()
+ this.state = {
+ }
+ }
+ render() {
+ return (
+ <div>
+ <Header />
+ </div>
+ )
+ }
+}
+
+export default withRouter(App)
+