Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <markdotto@gmail.com>2017-08-08 07:35:43 +0300
committerMark Otto <markdotto@gmail.com>2017-08-08 07:35:43 +0300
commitda3185ee0a3957627d918956c9c2266cfa2d3029 (patch)
treeb35195d019d1110ea93c60151f1852888ebbb872 /index.html
parent92c26af81481e9fdcd9bcff7e477d0750a359979 (diff)
new homepage, new assets, clean out old stuff
Diffstat (limited to 'index.html')
-rw-r--r--index.html174
1 files changed, 70 insertions, 104 deletions
diff --git a/index.html b/index.html
index 65778562e3..58a2131eaf 100644
--- a/index.html
+++ b/index.html
@@ -4,123 +4,89 @@ layout: home
<main class="bd-masthead" id="content" role="main">
<div class="container">
- {% include icons/bootstrap.svg class="mb-3" width="128" height="128" %}
- <p class="lead">Bootstrap is the most popular HTML, CSS, and JS library in the world for building responsive, mobile-first projects on the web.</p>
- <p class="lead">
- <a href="{{ site.baseurl }}/getting-started/download/" class="btn btn-lg btn-bd-yellow" onclick="ga('send', 'event', 'Jumbotron actions', 'Download', 'Download {{ site.current_version }}');">Download Bootstrap</a>
- </p>
- <p class="version">Currently v{{ site.current_version }}</p>
+ <div class="row align-items-center">
+ <div class="col-6 mx-auto col-md-6 order-md-2">
+ <img src="{{ site.baseurl }}/assets/img/bootstrap-stack.png" alt="" class="img-fluid mb-3 mb-md-0">
+ </div>
+ <div class="col-md-6 order-md-1 text-center text-md-left pr-md-5">
+ <h1 class="mb-3 bd-text-purple-bright">Bootstrap</h1>
+ <p class="lead">
+ Build responsive, mobile-first projects on the web with the world's most popular front-end component library.
+ </p>
+ <p class="lead mb-4">
+ Bootstrap is an open source toolkit for developing with HTML, CSS, and JS. Quickly prototype your ideas or build your entire app with our Sass variables and mixins, responsive grid system, extensive prebuilt components, and powerful plugins built on jQuery.
+ </p>
+ <div class="d-flex flex-column flex-md-row lead mb-3">
+ <a href="{{ site.baseurl }}/docs/{{ site.docs_version }}/getting-started/" class="btn btn-lg btn-bd-purple mb-3 mb-md-0 mr-md-3" onclick="ga('send', 'event', 'Jumbotron actions', 'Get started', 'Get started');">Get started</a>
+ <a href="{{ site.baseurl }}/docs/{{ site.docs_version }}/getting-started/download/" class="btn btn-lg btn-outline-secondary" onclick="ga('send', 'event', 'Jumbotron actions', 'Download', 'Download {{ site.current_version }}');">Download</a>
+ </div>
+ <p class="text-muted mb-0">
+ Currently v{{ site.current_version }}
+ </p>
+ </div>
+ </div>
{% include ads.html %}
</div>
</main>
-<div class="bd-featurette">
- <div class="container">
- <h2 class="bd-featurette-title">Easy to get started</h2>
- <p class="lead">Quickly include Bootstrap's CSS and JS into any project. Use your favorite package manager, download the source, or use the Bootstrap CDN.</p>
-
- <div class="row justify-content-center text-center">
- <div class="col-sm-6 col-md-5 mb-3 pr-md-4">
- <h4>Managed dependencies</h4>
- <p>Include Bootstrap's source Sass and JavaScript files via Bower, Composer, Meteor, or npm. Package managed installs don't include documentation, but do include our build system and readme.</p>
- <p>
- <a class="btn btn-bd-purple" href="{{ site.baseurl }}/getting-started/download#package-managers">View install methods</a>
- </p>
- </div>
- <div class="col-sm-6 col-md-5 mb-3 pl-md-4">
- <h4>Bootstrap CDN</h4>
- <p>When you only need to include Bootstrap's compiled CSS and JS, you can use the Bootstrap CDN.</p>
-{% highlight html %}
-<link rel="stylesheet" href="{{ site.cdn.css }}" integrity="{{ site.cdn.css_hash }}" crossorigin="anonymous">
-<script src="{{ site.cdn.jquery }}" integrity="{{ site.cdn.jquery_hash }}" crossorigin="anonymous"></script>
-<script src="{{ site.cdn.popper }}" integrity="{{ site.cdn.popper_hash }}" crossorigin="anonymous"></script>
-<script src="{{ site.cdn.js }}" integrity="{{ site.cdn.js_hash }}" crossorigin="anonymous"></script>
+<div class="masthead-followup row m-0 border border-white">
+ <div class="col-12 col-md-4 p-3 p-md-5 bg-light border border-white">
+ <!-- Icon by Bytesize https://github.com/danklammer/bytesize-icons -->
+ <svg class="text-primary mb-2" viewBox="0 0 32 32" width="32" height="32" fill="none" stroke="currentcolor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2">
+ <path d="M28 22 L28 30 4 30 4 22 M16 4 L16 24 M8 16 L16 24 24 16" />
+ </svg>
+ <h3>Installation</h3>
+ <p>Include Bootstrap's source Sass and JavaScript files via Bower, Composer, Meteor, or npm. Package managed installs don't include documentation, but do include our build system and readme.</p>
+
+{% highlight sh %}
+npm install bootstrap@{{ site.current_version }}
{% endhighlight %}
- </div>
- </div>
- <hr class="half-rule mx-auto">
+{% highlight sh %}
+gem install bootstrap -v 4.0.0.alpha6
+{% endhighlight %}
- <div class="text-center">
- <p>
- <strong>Looking for something else?</strong> Compiled builds of Bootstrap's CSS and JS are also available.
- </p>
- <a href="{{ site.baseurl }}/getting-started/download/" class="btn btn-bd-purple">More download options</a>
- </div>
+{% highlight sh %}
+bower install bootstrap#v{{ site.current_version }}
+{% endhighlight %}
+ <hr class="half-rule">
+ <a class="btn btn-outline-primary" href="{{ site.baseurl }}/docs/{{ site.docs_version }}/getting-started/download">Read installation docs</a>
</div>
-</div>
-
-<div class="bd-featurette">
- <div class="container">
- <h2 class="bd-featurette-title">Designed for everyone, everywhere</h2>
- <p class="lead">Bootstrap makes front-end web development faster and easier. It's made for folks of all skill levels, devices of all shapes, and projects of all sizes.</p>
- <div class="row text-center">
- <div class="col-sm-4 mb-3">
- <img src="{{ site.baseurl }}/assets/img/sass.png" alt="Sass support" class="img-fluid">
- <h4>Preprocessor</h4>
- <p>Bootstrap ships with vanilla CSS, but its source code utilizes <a href="http://sass-lang.com/">Sass</a>, a popular CSS preprocessor. Quickly get started with precompiled CSS or build on the source.</p>
- </div>
- <div class="col-sm-4 mb-3">
- <img src="{{ site.baseurl }}/assets/img/devices.png" alt="Responsive across devices" class="img-fluid">
- <h4>One framework, every device.</h4>
- <p>Bootstrap easily and efficiently scales your websites and applications with a single code base, from phones to tablets to desktops with CSS media queries.</p>
- </div>
- <div class="col-sm-4 mb-3">
- <img src="{{ site.baseurl }}/assets/img/components.png" alt="Components" class="img-fluid">
- <h4>Full of features</h4>
- <p>With Bootstrap, you get extensive and beautiful documentation for common HTML elements, dozens of custom HTML and CSS components, and awesome jQuery plugins.</p>
- </div>
- </div>
+ <div class="col-12 col-md-4 p-3 p-md-5 bg-light border border-white">
+ <!-- Icon by Bytesize https://github.com/danklammer/bytesize-icons -->
+ <svg class="text-primary mb-2" viewBox="0 0 32 32" width="32" height="32" fill="none" stroke="currentcolor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2">
+ <path d="M9 22 C0 23 1 12 9 13 6 2 23 2 22 10 32 7 32 23 23 22 M11 26 L16 30 21 26 M16 16 L16 30" />
+ </svg>
+ <h3>Bootstrap CDN</h3>
+ <p>When you only need to include Bootstrap's compiled CSS or JS, you can use the Bootstrap CDN.</p>
- <hr class="half-rule mx-auto">
+<h5>CSS only</h5>
+{% highlight html %}
+<link rel="stylesheet" href="{{ site.cdn.css }}" integrity="{{ site.cdn.css_hash }}" crossorigin="anonymous">
+{% endhighlight %}
- <div class="text-center">
- <p>
- <strong>Bootstrap is open source!</strong> It's hosted, developed, and maintained on GitHub by folks like you.
- </p>
- <a href="{{ site.repo }}" class="btn btn-bd-purple">View the GitHub project</a>
- </div>
+<h5>JS, Popper, and jQuery</h5>
+{% highlight html %}
+<script src="{{ site.cdn.jquery }}" integrity="{{ site.cdn.jquery_hash }}" crossorigin="anonymous"></script>
+<script src="{{ site.cdn.popper }}" integrity="{{ site.cdn.popper_hash }}" crossorigin="anonymous"></script>
+<script src="{{ site.cdn.js }}" integrity="{{ site.cdn.js_hash }}" crossorigin="anonymous"></script>
+{% endhighlight %}
+ <hr class="half-rule">
+ <a class="btn btn-outline-primary" href="{{ site.baseurl }}/docs/{{ site.docs_version }}/layout/overview/">Explore the docs</a>
</div>
-</div>
-
-<div class="bd-featurette">
- <div class="container">
- <h2 class="bd-featurette-title">Official Bootstrap Themes</h2>
- <p class="lead">
- Take Bootstrap to the next level with official premium themes. Each theme is its own toolkit featuring all of Bootstrap, brand new components and plugins, full docs, build tools, and more.
- </p>
- <p class="lead">
- <a href="{{ site.themes }}" class="btn btn-lg btn-bd-purple">Browse themes</a>
+ <div class="col-12 col-md-4 p-3 p-md-5 bg-light border border-white">
+ <!-- Icon by Bytesize https://github.com/danklammer/bytesize-icons -->
+ <svg class="text-primary mb-2" viewBox="0 0 32 32" width="32" height="32" fill="none" stroke="currentcolor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2">
+ <path d="M18 13 L26 2 8 13 14 19 6 30 24 19 Z" />
+ </svg>
+ <h3>Official Themes</h3>
+ <p>
+ Take Bootstrap 4 to the next level with official premium themes—toolkits built on Bootstrap with new components and plugins, docs, and build tools.
</p>
-
- <img class="img-fluid mx-auto" src="{{ site.baseurl }}/assets/img/bs-themes.png" alt="Bootstrap Themes" width="1024" height="388">
- </div>
-</div>
-
-<div class="bd-featurette">
- <div class="container">
- <h2 class="bd-featurette-title">Built with Bootstrap</h2>
- <p class="lead">Millions of amazing sites across the web are being built with Bootstrap. Get started on your own with our growing <a href="{{ site.baseurl }}/examples/">collection of examples</a> or by exploring some of our favorites.</p>
-
- <div class="row bd-featured-sites">
- {% for showcase in site.data.showcase %}
- <div class="col-6 col-sm-3">
- <a href="{{ showcase.expo_url }}" target="_blank" rel="noopener" title="{{ showcase.name }}">
- <img src="{{ site.baseurl }}/assets/img/expo-{{ showcase.img }}.jpg" alt="{{ showcase.name }}" class="img-fluid">
- </a>
- </div>
- {% endfor %}
- </div>
-
- <hr class="half-rule mx-auto">
-
- <div class="text-center">
- <p>
- We showcase dozens of inspiring projects built with Bootstrap on the Bootstrap Expo.
- </p>
- <a href="{{ site.expo }}" class="btn btn-bd-purple">Explore the Expo</a>
- </div>
+ <img class="img-fluid mt-3 mx-auto" src="{{ site.baseurl }}/assets/img/bootstrap-themes.png" alt="Bootstrap Themes" width="1024" height="388">
+ <hr class="half-rule">
+ <a href="{{ site.themes }}" class="btn btn-outline-primary">Browse themes</a>
</div>
</div>