From 1b32e982ade1fc5275a851b711b45f6a0ed21b0c Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sun, 12 Feb 2012 14:47:09 -0800 Subject: [PATCH] add hero-unit docs per #1880 --- docs/assets/bootstrap.zip | Bin 52782 -> 52782 bytes docs/components.html | 37 +++++++++++++++++++++++ docs/templates/pages/components.mustache | 37 +++++++++++++++++++++++ 3 files changed, 74 insertions(+) diff --git a/docs/assets/bootstrap.zip b/docs/assets/bootstrap.zip index a41a61541d5722fa9fb487f22656200daa27ae33..ca001c1e6c6f239096bc0efd2b9acd076cea301a 100644 GIT binary patch delta 486 zcmZ2Chk4x`W}X0VW)?065I9vjkw;P4+R?(_28c^5xEUB(zA`c}u!sO9QIrL!vO$zh z)|)KN1k^Xf7A#=xxbgOR4xqr~HJpxYAXBUzH-F{~X9o%S2pT~ZZEg`%Fa!xLb25Vo zJ#q@s1DO;c!=IU(t{)o0$-sp&-AbssyOkhF>w_Fne3C%pI&t&a5`M_ye5byqJnaQlD#33T$9H0Q; z0EW+G+f&{cVk=MiGXZToa2iRSO4G4^xn0GU9X00000 delta 486 zcmZ2Chk4x`W}X0VW)?065D+Mw$fKy7U}52(1jMBk+zgB?Ul|z~SVVx52xWqW69ZJ) z62ZzQ>rIws0t(Eq1q&otY`lG*11Ka56AMoC3B3sJNlf8K(GTVWj{_ze|%XOsKu7 zS^#7*%VZT)w@vn*Yyfjg<75^^kfQc2CTt)-0$q1-%QX>@Q8Q2KGbLC|K5$wVq~QK( znaQlD#F-L7BH|pN0N`K%irb#@#t>V1${$q>Xqx0{2Z(7fy+E<5(=IR@fV}&sjWJXh np9#beTYAPDrVD7l;8`P7yMSUTXYDY=4xe>mO0t;Deoh?#pSg}V diff --git a/docs/components.html b/docs/components.html index 37f1a6511c..10725024b4 100644 --- a/docs/components.html +++ b/docs/components.html @@ -98,6 +98,7 @@
  • Labels
  • +
  • Hero
  • Thumbnails
  • Alerts
  • Progress bars
  • @@ -1137,6 +1138,42 @@ + +
    + +
    +
    +

    About

    +

    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.

    +

    Markup

    +

    Wrap your content in a div like so:

    +
    +<div class="hero-unit">
    +  <h1>Heading</h1>
    +  <p>Tagline</p>
    +  <p>
    +    <a class="btn btn-primary btn-large">
    +      Learn more
    +    </a>
    +  </p>
    +</div>
    +
    +
    +
    +
    +

    Hello, world!

    +

    This is a simple hero unit, a simple jumbotron-style component for calling extra attention to featured content or information.

    +

    Learn more

    +
    +
    +
    +
    + + +
    diff --git a/docs/templates/pages/components.mustache b/docs/templates/pages/components.mustache index c854ad0d01..003a3ae3c8 100644 --- a/docs/templates/pages/components.mustache +++ b/docs/templates/pages/components.mustache @@ -22,6 +22,7 @@
  • {{_i}}Labels{{/i}}
  • +
  • {{_i}}Hero{{/i}}
  • {{_i}}Thumbnails{{/i}}
  • {{_i}}Alerts{{/i}}
  • {{_i}}Progress bars{{/i}}
  • @@ -1061,6 +1062,42 @@ + +
    + +
    +
    +

    {{_i}}About{{/i}}

    +

    {{_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}}

    +

    {{_i}}Markup{{/i}}

    +

    {{_i}}Wrap your content in a div like so:{{/i}}

    +
    +<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>
    +
    +
    +
    +
    +

    {{_i}}Hello, world!{{/i}}

    +

    {{_i}}This is a simple hero unit, a simple jumbotron-style component for calling extra attention to featured content or information.{{/i}}

    +

    {{_i}}Learn more{{/i}}

    +
    +
    +
    +
    + + +