24 lines
744 B
Plaintext
24 lines
744 B
Plaintext
|
|
-- TODO: wrong type
|
|
--home_icon :: forall r w i. Array (HP.IProp r i) -> HH.HTML w i
|
|
--home_icon = HH.span
|
|
-- [HP.classes [HH.ClassName "icon is-small"]]
|
|
-- [HH.i ([HP.classes [HH.ClassName "fas fa-home"]] <> aria) []]
|
|
-- where aria = [Aria.hidden "true"]
|
|
|
|
nav_bar :: forall w i. String -> HH.HTML w i
|
|
nav_bar domain
|
|
= HH.nav
|
|
[ HP.classes $ C.breadcrumb <> C.is_centered <> C.has_succeeds_separator
|
|
, Aria.label "breadcrumbs"
|
|
] [ HH.ul_
|
|
[ HH.li_ [ HH.a [HP.href "/"] [ HH.text "Home"] ]
|
|
, HH.li []
|
|
[ HH.a
|
|
[HP.href "/", aria_current "page"]
|
|
[HH.text ("Domain: " <> domain)]
|
|
]
|
|
]
|
|
]
|
|
|