Commit some unused code.
This commit is contained in:
parent
2fb58ea458
commit
a6e6e84cb7
23
drop/UnusedCode.purs
Normal file
23
drop/UnusedCode.purs
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
|
||||||
|
-- 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)]
|
||||||
|
]
|
||||||
|
]
|
||||||
|
]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user