Add part3
This commit is contained in:
21
advanced/part3/src/Page/NotFound.elm
Normal file
21
advanced/part3/src/Page/NotFound.elm
Normal file
@@ -0,0 +1,21 @@
|
||||
module Page.NotFound exposing (view)
|
||||
|
||||
import Assets
|
||||
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 [ Assets.src Assets.error ] [] ]
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user