diff options
| author | Cadey Dodrill <me@christine.website> | 2016-12-17 06:15:29 -0800 |
|---|---|---|
| committer | Cadey Dodrill <me@christine.website> | 2016-12-17 06:15:29 -0800 |
| commit | dee2a2605cb2df6bd638d5ab5b4a2dc304574907 (patch) | |
| tree | c7c2a33c97f2453e1d3fe6dd1daaabc14c505e3c /frontend/src/Layout.purs | |
| parent | 0dd6f1c40bbb8aabbc9a4af49692e7c5613d4e45 (diff) | |
| download | xesite-dee2a2605cb2df6bd638d5ab5b4a2dc304574907.tar.xz xesite-dee2a2605cb2df6bd638d5ab5b4a2dc304574907.zip | |
document titles
Diffstat (limited to 'frontend/src/Layout.purs')
| -rw-r--r-- | frontend/src/Layout.purs | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/frontend/src/Layout.purs b/frontend/src/Layout.purs index c68cada..1b810aa 100644 --- a/frontend/src/Layout.purs +++ b/frontend/src/Layout.purs @@ -9,9 +9,11 @@ import DOM (DOM) import Network.HTTP.Affjax (AJAX) import Prelude (($), (#), map, pure) import Pux (EffModel, noEffects, mapEffects, mapState) +import Pux.DocumentTitle (documentTitle) import Pux.Html as H import Pux.Html (style, Html, a, code, div, h1, h2, h3, h4, li, nav, p, pre, text, ul, img, span) -import Pux.Html.Attributes (classID, className, id_, role, href, src, rel) +import Pux.Html.Attributes (classID, className, id_, role, href, src, rel, title) +import Pux.Html (Html, a, code, div, h1, h3, h4, li, nav, p, pre, text, ul) import Pux.Router (link) data Action @@ -82,7 +84,8 @@ contact :: Html Action contact = div [ className "row" ] - [ div + [ documentTitle [ title "Contact - Christine Dodrill" ] [] + , div [ className "col s6" ] [ h3 [] [ text "Email" ] , div [ className "email" ] [ text "me@christine.website" ] @@ -121,7 +124,8 @@ index :: Html Action index = div [ className "row panel" ] - [ H.link [ rel "stylesheet", href "/static/css/about/main.css" ] [] + [ documentTitle [ title "Christine Dodrill" ] [] + , H.link [ rel "stylesheet", href "/static/css/about/main.css" ] [] , div [ className "col m4 bg_blur valign-wrapper center-align" ] [ div |
