]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Add Open Collective to header (#27916)
authorMartijn Cuppens <martijn.cuppens@gmail.com>
Sun, 23 Dec 2018 20:24:25 +0000 (21:24 +0100)
committerXhmikosR <xhmikosr@gmail.com>
Sun, 23 Dec 2018 20:24:25 +0000 (22:24 +0200)
_config.yml
site/_includes/docs-navbar.html
site/_includes/icons/opencollective.svg [new file with mode: 0644]

index 1cb0c816da2915dd8261132743619ae821f806ac..10c4b4a58e40a77630b545e76ec909c384002df6 100644 (file)
@@ -38,6 +38,7 @@ current_ruby_version: 4.2.1
 docs_version:         4.2
 repo:                 "https://github.com/twbs/bootstrap"
 slack:                "https://bootstrap-slack.herokuapp.com"
+opencollective:       "https://opencollective.com/bootstrap"
 blog:                 "https://blog.getbootstrap.com"
 expo:                 "https://expo.getbootstrap.com"
 themes:               "https://themes.getbootstrap.com"
index 5589ef8b594567c6bb25f39c62889bca55dc6d3c..21c481c5087887bb20f23c91af79ed9ebedaf9ac 100644 (file)
         {%- 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 (file)
index 0000000..cc17db8
--- /dev/null
@@ -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>