From dee2a2605cb2df6bd638d5ab5b4a2dc304574907 Mon Sep 17 00:00:00 2001 From: Cadey Dodrill Date: Sat, 17 Dec 2016 06:15:29 -0800 Subject: document titles --- frontend/src/Layout.purs | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'frontend/src/Layout.purs') 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 -- cgit v1.2.3