{ navBar : NavBar msg
, pageTitle : String
, pageContent : PageContent msg
}
A Master Page Type that represents the Bootstrap Starter Template (https://getbootstrap.com/docs/4.0/examples/starter-template/#)
{ title : String
, onClick : msg
, navBarLinks : List (NavBarLink msg)
, search : Search msg
}
Represents the NavBar
Represents a NavBarLink
{ title : String
, onClick : msg
, state : LinkState
}
Represents a vanilla NavBarLink
Represents the state of a link
{ title : String
, id : String
, items : List (NavBarDropDownItem msg)
}
Represents A NavBarLink drop down list
{ title : String, onClick : msg }
Represents A NavBarLink drop down list item
{ title : String
, onInput : String -> msg
, onClick : msg
}
Represents the search form
Represents the body of a page, can be a list of strings (paragraphs), or a list of custom html