From: XhmikosR Date: Fri, 11 Aug 2017 11:55:54 +0000 (+0300) Subject: Move inline SVGs to includes. (#23297) X-Git-Tag: v4.0.0-beta.2~404 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=10bb79a;p=thirdparty%2Fbootstrap.git Move inline SVGs to includes. (#23297) Also: * compress them with SVGOMG * add titles * add `focusable="false"` --- diff --git a/_includes/icons/bootstrap.svg b/_includes/icons/bootstrap.svg index ce8df77388..816028bd8e 100644 --- a/_includes/icons/bootstrap.svg +++ b/_includes/icons/bootstrap.svg @@ -1 +1 @@ -Bootstrap +Bootstrap diff --git a/_includes/icons/download.svg b/_includes/icons/download.svg new file mode 100644 index 0000000000..aa5f3f1bee --- /dev/null +++ b/_includes/icons/download.svg @@ -0,0 +1 @@ +Download icon diff --git a/_includes/icons/import.svg b/_includes/icons/import.svg new file mode 100644 index 0000000000..72a4b603bc --- /dev/null +++ b/_includes/icons/import.svg @@ -0,0 +1 @@ +Import icon diff --git a/_includes/icons/lightning.svg b/_includes/icons/lightning.svg new file mode 100644 index 0000000000..be6f475ef4 --- /dev/null +++ b/_includes/icons/lightning.svg @@ -0,0 +1 @@ +Lightning icon diff --git a/index.html b/index.html index f9afb1a850..caf7e417f8 100644 --- a/index.html +++ b/index.html @@ -32,9 +32,7 @@ layout: home
- - - + {% include icons/import.svg width="32" height="32" class="text-primary mb-2" %}

Installation

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.

@@ -55,9 +53,7 @@ bower install bootstrap#v{{ site.current_version }}
- - - + {% include icons/download.svg width="32" height="32" class="text-primary mb-2" %}

Bootstrap CDN

When you only need to include Bootstrap's compiled CSS or JS, you can use the Bootstrap CDN.

@@ -78,9 +74,7 @@ bower install bootstrap#v{{ site.current_version }}
- - - + {% include icons/lightning.svg width="32" height="32" class="text-primary mb-2" %}

Official Themes

Take Bootstrap 4 to the next level with official premium themes—toolkits built on Bootstrap with new components and plugins, docs, and build tools.