Files
elm-0.19-workshop/intro/part9/src/Page/NotFound.elm
Richard Feldman 17f96d1b56 Add part9
2018-08-12 14:50:14 -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 ] [] ]
]
}