Files
elm-0.19-workshop/part1/src/Page/NotFound.elm
Richard Feldman 5e232596d9 Add part1
2018-04-30 04:20:48 -04:00

19 lines
511 B
Elm

module Page.NotFound exposing (view)
import Data.Session exposing (Session)
import Html exposing (Html, div, h1, img, main_, text)
import Html.Attributes exposing (alt, class, id, src, tabindex)
import Views.Assets as Assets
-- VIEW --
view : Session -> Html msg
view session =
main_ [ id "content", class "container", tabindex -1 ]
[ h1 [] [ text "Not Found" ]
, div [ class "row" ]
[ img [ Assets.src Assets.error, alt "giant laser walrus wreaking havoc" ] [] ]
]