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
path: root/site
diff options
context:
space:
mode:
authorMartijn Cuppens <martijn.cuppens@gmail.com>2018-12-23 23:24:25 +0300
committerXhmikosR <xhmikosr@gmail.com>2018-12-23 23:24:25 +0300
commit4a5217c4c71a0b4e5e935cdf09b4dd9c7018453d (patch)
tree096090209c88db492a6a234ef7c19542babd1da2 /site
parente4fe18e4261268df290098dea8439d4aa3496ad7 (diff)
Add Open Collective to header (#27916)
Diffstat (limited to 'site')
-rw-r--r--site/_includes/docs-navbar.html5
-rw-r--r--site/_includes/icons/opencollective.svg1
2 files changed, 6 insertions, 0 deletions
diff --git a/site/_includes/docs-navbar.html b/site/_includes/docs-navbar.html
index 5589ef8b59..21c481c508 100644
--- a/site/_includes/docs-navbar.html
+++ b/site/_includes/docs-navbar.html
@@ -60,6 +60,11 @@
{%- include icons/slack.svg class="navbar-nav-svg" -%}
</a>
</li>
+ <li class="nav-item">
+ <a class="nav-link p-2" href="{{ site.opencollective }}/" target="_blank" rel="noopener" aria-label="Open Collective">
+ {%- include icons/opencollective.svg class="navbar-nav-svg" -%}
+ </a>
+ </li>
</ul>
<a class="btn btn-bd-download d-none d-lg-inline-block mb-3 mb-md-0 ml-md-3" href="{{ site.baseurl }}/docs/{{ site.docs_version }}/getting-started/download/">Download</a>
diff --git a/site/_includes/icons/opencollective.svg b/site/_includes/icons/opencollective.svg
new file mode 100644
index 0000000000..cc17db800d
--- /dev/null
+++ b/site/_includes/icons/opencollective.svg
@@ -0,0 +1 @@
+<svg{% if include.class %} class="{{ include.class }}"{% endif %} xmlns="http://www.w3.org/2000/svg" viewbox="0 0 40 41"{% if include.width %} width="{{ include.width }}"{% endif %}{% if include.height %} height="{{ include.height }}"{% endif %} focusable="false" role="img" fill="currentColor" fill-rule="evenodd"><title>Open Collective</title><path d="M32.8 21c0 2.4-.8 4.9-2 6.9l5.1 5.1c2.5-3.4 4.1-7.6 4.1-12 0-4.6-1.6-8.8-4-12.2L30.7 14c1.2 2 2 4.3 2 7z" fill-opacity=".4"/><path d="M20 33.7a12.8 12.8 0 0 1 0-25.6c2.6 0 5 .7 7 2.1L32 5a20 20 0 1 0 .1 31.9l-5-5.2a13 13 0 0 1-7 2z"/></svg>