mirror of
https://github.com/roleypoly/roleypoly-v1.git
synced 2025-06-17 10:39:09 +00:00
landing-mock start
This commit is contained in:
parent
5a87a497bb
commit
7e0379ec3c
7 changed files with 46 additions and 25 deletions
|
@ -1,10 +1,13 @@
|
|||
// @flow
|
||||
import * as React from 'react'
|
||||
import HeaderBarCommon from './common'
|
||||
import { type User } from '../../containers/user'
|
||||
|
||||
const HeaderBarAuth: React.StatelessFunctionalComponent<{}> = () => (
|
||||
const HeaderBarAuth: React.StatelessFunctionalComponent<{ user: User }> = ({ user }) => (
|
||||
<HeaderBarCommon>
|
||||
hi
|
||||
<div>
|
||||
Hey there, {user.username}#{user.discriminator}
|
||||
</div>
|
||||
</HeaderBarCommon>
|
||||
)
|
||||
|
||||
|
|
|
@ -4,7 +4,9 @@ import HeaderBarCommon from './common'
|
|||
|
||||
const HeaderBarUnauth: React.StatelessFunctionalComponent<{}> = () => (
|
||||
<HeaderBarCommon>
|
||||
hi
|
||||
<div>
|
||||
Hey stranger.
|
||||
</div>
|
||||
</HeaderBarCommon>
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue