mirror of
https://github.com/jgthms/bulma
synced 2026-03-18 19:34:30 -07:00
Bulma v9 website (#3249)
* Add Bulma v9 * Add vendor dependencies * Fix native * Fix sponsors * Add style attribute
This commit is contained in:
34
docs/_includes/components/hero.html
Normal file
34
docs/_includes/components/hero.html
Normal file
@@ -0,0 +1,34 @@
|
||||
{% capture hero_body %}
|
||||
<div class="bd-hero-body">
|
||||
<div class="bd-hero-heading">
|
||||
<h1 class="title">
|
||||
{% if include.icon %}
|
||||
<span class="icon">
|
||||
<i class="{{ include.icon }}"></i>
|
||||
</span>
|
||||
{% endif %}
|
||||
{{ include.title | markdownify }}
|
||||
</h1>
|
||||
<div class="subtitle is-4">
|
||||
{{ include.subtitle | markdownify }}
|
||||
</div>
|
||||
{{ include.content }}
|
||||
</div>
|
||||
|
||||
<div class="bd-hero-carbon">
|
||||
{% include elements/carbon.html %}
|
||||
</div>
|
||||
</div>
|
||||
{% endcapture %}
|
||||
|
||||
<section class="hero bd-hero bd-is-{{ include.color }}">
|
||||
<div class="hero-body">
|
||||
{% if page.fullwidth %}
|
||||
{{ hero_body }}
|
||||
{% else %}
|
||||
<div class="container">
|
||||
{{ hero_body }}
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
</section>
|
||||
Reference in New Issue
Block a user