mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-19 16:54:24 +01:00
add hero-unit docs per #1880
This commit is contained in:
parent
0ff88f2db3
commit
1b32e982ad
Binary file not shown.
@ -98,6 +98,7 @@
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#labels">Labels</a></li>
|
||||
<li><a href="#hero">Hero</a></li>
|
||||
<li><a href="#thumbnails">Thumbnails</a></li>
|
||||
<li><a href="#alerts">Alerts</a></li>
|
||||
<li><a href="#progress">Progress bars</a></li>
|
||||
@ -1137,6 +1138,42 @@
|
||||
|
||||
|
||||
|
||||
<!-- Hero unit
|
||||
================================================== -->
|
||||
<section id="hero">
|
||||
<div class="page-header">
|
||||
<h1>Hero unit <small>Jumbotron for your site's tagline</small></h1>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="span4">
|
||||
<h2>About</h2>
|
||||
<p>Bootstrap provides a lightweight, flexible component called a hero unit to showcase content on your site. It works well on marketing and content-heavy sites.</p>
|
||||
<h3>Markup</h3>
|
||||
<p>Wrap your content in a <code>div</code> like so:</p>
|
||||
<pre class="prettyprint linenums">
|
||||
<div class="hero-unit">
|
||||
<h1>Heading</h1>
|
||||
<p>Tagline</p>
|
||||
<p>
|
||||
<a class="btn btn-primary btn-large">
|
||||
Learn more
|
||||
</a>
|
||||
</p>
|
||||
</div>
|
||||
</pre>
|
||||
</div>
|
||||
<div class="span8">
|
||||
<div class="hero-unit">
|
||||
<h1>Hello, world!</h1>
|
||||
<p>This is a simple hero unit, a simple jumbotron-style component for calling extra attention to featured content or information.</p>
|
||||
<p><a class="btn btn-primary btn-large">Learn more</a></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
|
||||
|
||||
<!-- Thumbnails
|
||||
================================================== -->
|
||||
<section id="thumbnails">
|
||||
|
37
docs/templates/pages/components.mustache
vendored
37
docs/templates/pages/components.mustache
vendored
@ -22,6 +22,7 @@
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#labels">{{_i}}Labels{{/i}}</a></li>
|
||||
<li><a href="#hero">{{_i}}Hero{{/i}}</a></li>
|
||||
<li><a href="#thumbnails">{{_i}}Thumbnails{{/i}}</a></li>
|
||||
<li><a href="#alerts">{{_i}}Alerts{{/i}}</a></li>
|
||||
<li><a href="#progress">{{_i}}Progress bars{{/i}}</a></li>
|
||||
@ -1061,6 +1062,42 @@
|
||||
|
||||
|
||||
|
||||
<!-- Hero unit
|
||||
================================================== -->
|
||||
<section id="hero">
|
||||
<div class="page-header">
|
||||
<h1>{{_i}}Hero unit{{/i}} <small>{{_i}}Jumbotron for your site's tagline{{/i}}</small></h1>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="span4">
|
||||
<h2>{{_i}}About{{/i}}</h2>
|
||||
<p>{{_i}}Bootstrap provides a lightweight, flexible component called a hero unit to showcase content on your site. It works well on marketing and content-heavy sites.{{/i}}</p>
|
||||
<h3>{{_i}}Markup{{/i}}</h3>
|
||||
<p>{{_i}}Wrap your content in a <code>div</code> like so:{{/i}}</p>
|
||||
<pre class="prettyprint linenums">
|
||||
<div class="hero-unit">
|
||||
<h1>{{_i}}Heading{{/i}}</h1>
|
||||
<p>{{_i}}Tagline{{/i}}</p>
|
||||
<p>
|
||||
<a class="btn btn-primary btn-large">
|
||||
{{_i}}Learn more{{/i}}
|
||||
</a>
|
||||
</p>
|
||||
</div>
|
||||
</pre>
|
||||
</div>
|
||||
<div class="span8">
|
||||
<div class="hero-unit">
|
||||
<h1>{{_i}}Hello, world!{{/i}}</h1>
|
||||
<p>{{_i}}This is a simple hero unit, a simple jumbotron-style component for calling extra attention to featured content or information.{{/i}}</p>
|
||||
<p><a class="btn btn-primary btn-large">{{_i}}Learn more{{/i}}</a></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
|
||||
|
||||
<!-- Thumbnails
|
||||
================================================== -->
|
||||
<section id="thumbnails">
|
||||
|
Loading…
x
Reference in New Issue
Block a user