Files
elm-0.19-workshop/advanced/part1/src/Page/NotFound.elm
Richard Feldman 1688e5ec38 Update part1
2018-08-13 05:22:17 -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 ] [] ]
]
}