]> git.ipfire.org Git - thirdparty/bulma.git/commitdiff
2019 🎉
authorJeremy Thomas <bbxdesign@gmail.com>
Wed, 9 Jan 2019 22:02:39 +0000 (09:02 +1100)
committerJeremy Thomas <bbxdesign@gmail.com>
Wed, 9 Jan 2019 22:02:39 +0000 (09:02 +1100)
LICENSE
README.md
docs/_data/sponsors.json [new file with mode: 0644]
docs/_includes/index/sponsor.html
docs/images/sponsors/hebergeurweb.png [new file with mode: 0644]
docs/images/sponsors/hebergeurweb@2x.png [new file with mode: 0644]
docs/images/sponsors/hebergeurweb@3x.png [new file with mode: 0644]
docs/images/sponsors/themeisle.png
docs/images/sponsors/themeisle@2x.png [new file with mode: 0644]
docs/images/sponsors/themeisle@3x.png [new file with mode: 0644]

diff --git a/LICENSE b/LICENSE
index c5dfe88a6e22d94978743d5a6e7c18ab12d74015..e3cb0a9c3195e0ec0251a316f442191bd9f48288 100644 (file)
--- a/LICENSE
+++ b/LICENSE
@@ -1,6 +1,6 @@
 The MIT License (MIT)
 
-Copyright (c) 2018 Jeremy Thomas
+Copyright (c) 2019 Jeremy Thomas
 
 Permission is hereby granted, free of charge, to any person obtaining a copy
 of this software and associated documentation files (the "Software"), to deal
index 4ba58877634f79efce0710277e5665e26a3729ef..b4ab58fa7301d015fc3b6faa7d07e53b57e01868 100644 (file)
--- a/README.md
+++ b/README.md
@@ -110,7 +110,7 @@ Browse the [online documentation here.](https://bulma.io/documentation/overview/
 
 ## Copyright and license
 
-Code copyright 2018 Jeremy Thomas. Code released under [the MIT license](https://github.com/jgthms/bulma/blob/master/LICENSE).
+Code copyright 2019 Jeremy Thomas. Code released under [the MIT license](https://github.com/jgthms/bulma/blob/master/LICENSE).
 
 [npm-link]: https://www.npmjs.com/package/bulma
 [awesome-link]:  https://github.com/awesome-css-group/awesome-css
diff --git a/docs/_data/sponsors.json b/docs/_data/sponsors.json
new file mode 100644 (file)
index 0000000..e6e78cd
--- /dev/null
@@ -0,0 +1,42 @@
+{
+  "by_id": {
+    "themeisle": {
+      "name": "themeisle",
+      "url": "https://themeisle.com/",
+      "width":"160",
+      "height":"40"
+    },
+    "tooltwist": {
+      "name": "tooltwist",
+      "url": "http://tooltwist.com/",
+      "width":"160",
+      "height":"51"
+    },
+    "dontpayfull": {
+      "name": "DontPayFull",
+      "url": "https://www.dontpayfull.com/",
+      "blend": true,
+      "width":"120",
+      "height":"60"
+    },
+    "devsquad": {
+      "name": "DevSquad",
+      "url": "https://devsquad.com/",
+      "width":"140",
+      "height":"31"
+    },
+    "hebergeurweb": {
+      "name": "HebergeurWeb.ca",
+      "url": "https://www.hebergeurweb.ca/",
+      "width":"41",
+      "height":"40"
+    }
+  },
+  "list": [
+    "themeisle",
+    "tooltwist",
+    "dontpayfull",
+    "devsquad",
+    "hebergeurweb"
+  ],
+}
index 5e30a2d306c3f86ac292eab4392aa3c967e07d0c..2ae07e6e1759ec032a32aad0e3976af93aded69a 100644 (file)
@@ -3,64 +3,31 @@
     <div class="bd-partnrs-list">
       <div class="bd-partner bd-is-sponsor">
         <p class="bd-partner-title">Sponsors</p>
-        <div class="bd-partner-sponsors">
-          <div class="bd-partner-sponsor">
-            <a href="https://themeisle.com/" target="_blank" rel="nofollow">
-              <img src="{{ site.url }}/images/sponsors/themeisle.png" alt="themeisle logo" width="160" height="40">
-            </a>
-          </div>
-
-          <div class="bd-partner-sponsor">
-            <a href="http://tooltwist.com/" target="_blank" rel="nofollow">
-              {%
-                include elements/responsive-image.html
-                path="sponsors/tooltwist"
-                extension="png"
-                alt="tooltwist logo"
-                width="160"
-                height="51"
-              %}
-            </a>
-          </div>
 
-          <div class="bd-partner-sponsor">
-            <a href="https://www.dontpayfull.com/" target="_blank" rel="nofollow" style="mix-blend-mode: multiply;">
-              {%
-                include elements/responsive-image.html
-                path="sponsors/dontpayfull"
-                extension="png"
-                alt="DontPayFull logo"
-                width="120"
-                height="60"
-              %}
-            </a>
-          </div>
-
-          <div class="bd-partner-sponsor">
-            <a href="https://hyper.host/" target="_blank" rel="nofollow">
-              {%
-                include elements/responsive-image.html
-                path="sponsors/hyper-host"
-                extension="png"
-                alt="Hyper Host logo"
-                width="150"
-                height="50"
-              %}
-            </a>
-          </div>
+        <div class="bd-partner-sponsors">
+          {% for sponsor_id in site.data.sponsors.list %}
+            {% assign sponsor = site.data.sponsors.by_id[sponsor_id] %}
+            {% assign sponsor_path = "sponsors/" | append: sponsor_id %}
+            {% assign sponsor_alt = sponsor.name | append: " logo" %}
 
-          <div class="bd-partner-sponsor">
-            <a href="https://devsquad.com/" target="_blank" rel="nofollow">
-              {%
-                include elements/responsive-image.html
-                path="sponsors/devsquad"
-                extension="png"
-                alt="DevSquad logo"
-                width="140"
-                height="31"
-              %}
-            </a>
-          </div>
+            <div class="bd-partner-sponsor">
+              <a
+                href="{{ sponsor.url }}"
+                target="_blank"
+                rel="nofollow"
+                {% if sponsor.blend %}style="mix-blend-mode: multiply;"{% endif %}
+                >
+                {%
+                  include elements/responsive-image.html
+                  path=sponsor_path
+                  extension="png"
+                  alt=sponsor_alt
+                  width=sponsor.width
+                  height=sponsor.width
+                %}
+              </a>
+            </div>
+          {% endfor %}
         </div>
       </div>
 
diff --git a/docs/images/sponsors/hebergeurweb.png b/docs/images/sponsors/hebergeurweb.png
new file mode 100644 (file)
index 0000000..816b788
Binary files /dev/null and b/docs/images/sponsors/hebergeurweb.png differ
diff --git a/docs/images/sponsors/hebergeurweb@2x.png b/docs/images/sponsors/hebergeurweb@2x.png
new file mode 100644 (file)
index 0000000..22f5473
Binary files /dev/null and b/docs/images/sponsors/hebergeurweb@2x.png differ
diff --git a/docs/images/sponsors/hebergeurweb@3x.png b/docs/images/sponsors/hebergeurweb@3x.png
new file mode 100644 (file)
index 0000000..a09b9e7
Binary files /dev/null and b/docs/images/sponsors/hebergeurweb@3x.png differ
index 73fa86325798d80db9a77475e444d17ef3a92f92..58de6b71444a1d00b7ad41c50aedf3cee86bd478 100644 (file)
Binary files a/docs/images/sponsors/themeisle.png and b/docs/images/sponsors/themeisle.png differ
diff --git a/docs/images/sponsors/themeisle@2x.png b/docs/images/sponsors/themeisle@2x.png
new file mode 100644 (file)
index 0000000..c144a98
Binary files /dev/null and b/docs/images/sponsors/themeisle@2x.png differ
diff --git a/docs/images/sponsors/themeisle@3x.png b/docs/images/sponsors/themeisle@3x.png
new file mode 100644 (file)
index 0000000..73fa863
Binary files /dev/null and b/docs/images/sponsors/themeisle@3x.png differ