summaryrefslogtreecommitdiffstats
path: root/src/Pages/Profile.elm
blob: a564b3ed22a8257322127a82be0fd0f619f040b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
module Pages.Profile exposing (..)

import Css exposing (marginBottom, px)
import Html.Styled exposing (..)
import Html.Styled.Attributes exposing (css)
import Types exposing (Model, Msg, UrlSegmentUserId)


styles =
    { container =
        css
            [ marginBottom (px 10)
            ]
    }


body : Model -> UrlSegmentUserId -> Html Msg
body _ id =
    div [ styles.container ]
        [ text id ]


profileView : UrlSegmentUserId -> Model -> List (Html Msg)
profileView userId model =
    [ body model userId ]