added docker stuff and updated next.js to ^7.0.0

This commit is contained in:
JJ Kasper
2018-09-21 15:17:55 -05:00
parent 2230f72160
commit 56f9ee318f
62 changed files with 16686 additions and 11907 deletions

View File

@@ -11,13 +11,12 @@ const Page = ({ user, children }) => {
<div>
<Header />
<KeyShortcuts />
{user.email ? (
<div className="container content">{children}</div>
) : user.setup ? (
<Setup />
) : (
<Login {...{ user }} />
)}
{(() => {
if (user.email) {
return <div className="container content">{children}</div>
}
return user.setup ? <Setup /> : <Login {...{ user }} />
})()}
<Footer />
</div>
)