Skip to content
Patrick Garske edited this page Jan 26, 2019 · 1 revision

jumbotron(content, fluid)


Creates a bare-bones jumbotron/hero element

content - Jumbotron's content

fluid - Determines whether the jumbotron should occupy the entire horizontal space of its parent. Valid options are true and no_arg()

jumbotron_content(title, lead_text, content, links_to, button_text)


Generates content for the Jumbotron element

title - Content title

lead_text - Content Sub-Title / Catchphrase (Optional)

content - Actual Content (e.g. Text, Links, etc.)

links_to - URL of the primary button

button_text - Label of the primary button

Example

View Working Example

echo jumbotron(jumbotron_content("Jumbotron Title", "Lead Text", "*Insert Actual Content Here*", "#", "Primary Button"), no_arg());