aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristine Dodrill <me@christine.website>2016-12-14 09:15:41 -0800
committerChristine Dodrill <me@christine.website>2016-12-14 09:15:41 -0800
commit8b29fffc87f0e1def19556b89a1685dc53c68e0d (patch)
tree8b0c58192fb3256fd20746b7eee29f130f46ef8c
parent0770bb49cb7f72d12a89407cebb9e410ee33eb34 (diff)
downloadxesite-8b29fffc87f0e1def19556b89a1685dc53c68e0d.tar.xz
xesite-8b29fffc87f0e1def19556b89a1685dc53c68e0d.zip
frontend/Layout: navbar links
-rw-r--r--frontend/src/Layout.purs14
1 files changed, 11 insertions, 3 deletions
diff --git a/frontend/src/Layout.purs b/frontend/src/Layout.purs
index f040108..86b2496 100644
--- a/frontend/src/Layout.purs
+++ b/frontend/src/Layout.purs
@@ -7,8 +7,8 @@ import DOM (DOM)
import Network.HTTP.Affjax (AJAX)
import Prelude (($), (#), map, pure)
import Pux (EffModel, noEffects, mapEffects, mapState)
-import Pux.Html (Html, div, h1, nav, text)
-import Pux.Html.Attributes (className, id_, role)
+import Pux.Html (Html, div, h1, li, nav, text, ul)
+import Pux.Html.Attributes (classID, className, id_, role)
import Pux.Router (link)
data Action
@@ -55,7 +55,15 @@ navbar state =
[ className "pink lighten-1", role "navigation" ]
[ div
[ className "nav-wrapper container" ]
- [ link "/" [ className "brand-logo", id_ "logo-container" ] [ text "Christine Dodrill" ] ]
+ [ link "/" [ className "brand-logo", id_ "logo-container" ] [ text "Christine Dodrill" ]
+ , ul
+ [ className "right hide-on-med-and-down" ]
+ [ li [] [ link "/blog" [] [ text "Blog" ] ]
+ , li [] [ link "/projects" [] [ text "Projects" ] ]
+ , li [] [ link "/resume" [] [ text "Resume" ] ]
+ , li [] [ link "/contact" [] [ text "Contact" ] ]
+ ]
+ ]
]
page :: Route -> State -> Html Action