Greatly simplify part1.
This commit is contained in:
@@ -4,22 +4,19 @@ import Html exposing (..)
|
|||||||
import Html.Attributes exposing (..)
|
import Html.Attributes exposing (..)
|
||||||
|
|
||||||
|
|
||||||
elmHubHeader =
|
|
||||||
header []
|
|
||||||
[ -- TODO wrap this text in an <h1>
|
|
||||||
text "ElmHub"
|
|
||||||
, span [ class "tagline" ]
|
|
||||||
[{- TODO put some text in here that says:
|
|
||||||
"Like GitHub, but for Elm things."
|
|
||||||
-}
|
|
||||||
]
|
|
||||||
]
|
|
||||||
|
|
||||||
|
|
||||||
main =
|
main =
|
||||||
div [ class "content" ]
|
div [ class "content" ]
|
||||||
[ -- TODO Add elmHubHeader here.
|
[ header []
|
||||||
--
|
[ -- TODO wrap this text in an <h1>
|
||||||
-- HINT: You'll need a comma!
|
text "ElmHub"
|
||||||
ul [ class "results" ] []
|
, span
|
||||||
|
[-- TODO give this span a class="tagline" attribute.
|
||||||
|
--
|
||||||
|
-- HINT: look at how our <div class="content"> does this above.
|
||||||
|
]
|
||||||
|
[{- TODO put some text in here that says:
|
||||||
|
"Like GitHub, but for Elm things."
|
||||||
|
-}
|
||||||
|
]
|
||||||
|
]
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user