Style up /repositories pages

This commit is contained in:
Richard Feldman
2016-09-02 22:25:39 -07:00
parent 6ec25f4f57
commit f5f0f37180
2 changed files with 21 additions and 3 deletions

View File

@@ -79,7 +79,7 @@ view model =
|> Maybe.withDefault (text "")
in
div []
[ h1 []
[ h2 []
[ a [ href repoUrl ] [ text model.repoName ] ]
, details
]
@@ -88,8 +88,8 @@ view model =
viewDetails : Repository -> Html Msg
viewDetails repo =
div []
[ p [] [ text repo.description ]
, h2 []
[ p [ class "repo-description" ] [ text repo.description ]
, h3 []
[ a [ href repo.owner.profileUrl ]
[ img [ class "profile-photo", src repo.owner.avatarUrl ] []
, text repo.owner.username