Files
elm-0.19-workshop/intro/part8/src/Page/NotFound.elm
Richard Feldman 5777848d74 Add part8
2018-08-12 12:51:35 -04:00

22 lines
494 B
Elm

module Page.NotFound exposing (view)
import Asset
import Html exposing (Html, div, h1, img, main_, text)
import Html.Attributes exposing (alt, class, id, src, tabindex)
-- VIEW
view : { title : String, content : Html msg }
view =
{ title = "Page Not Found"
, content =
main_ [ id "content", class "container", tabindex -1 ]
[ h1 [] [ text "Not Found" ]
, div [ class "row" ]
[ img [ Asset.src Asset.error ] [] ]
]
}