]> Untitled Git - bitcoindevkit.org/commitdiff
add very basic sponsors page
authorSteve Myers <steve@notmandatory.org>
Sun, 13 Sep 2020 05:52:39 +0000 (22:52 -0700)
committerSteve Myers <steve@notmandatory.org>
Sun, 13 Sep 2020 06:01:20 +0000 (23:01 -0700)
content/Supporters/_index.md [new file with mode: 0644]
layouts/shortcodes/sponsors.html [new file with mode: 0644]
publish_to_ghpages.sh
static/css/style.css
static/images/bitfinex.svg [new file with mode: 0644]
static/images/squarecrypto.svg [new file with mode: 0644]

diff --git a/content/Supporters/_index.md b/content/Supporters/_index.md
new file mode 100644 (file)
index 0000000..c5851a5
--- /dev/null
@@ -0,0 +1,11 @@
+---
+title: "Supporters"
+date: 2020-04-28T14:40:12+02:00
+draft: false
+weight: 10
+pre: '<i class="fas fa-heart"></i> '
+---
+
+The Bitcoin Dev Kit project is proudly supported by: 
+
+{{% sponsors %}}
\ No newline at end of file
diff --git a/layouts/shortcodes/sponsors.html b/layouts/shortcodes/sponsors.html
new file mode 100644 (file)
index 0000000..60e847a
--- /dev/null
@@ -0,0 +1,15 @@
+{{ $_hugo_config := `{ "version": 1 }` }}
+<div class="row justify-content-left supporters">
+    <div class="p-3">
+        <a href="https://www.bitfinex.com/" target="_blank" class="small">
+            <img src="/images/bitfinex.svg" style="width: 75px" alt="Sponsor Bitfinex">
+            <div>Bitfinex</div>
+        </a>
+    </div>
+    <div class="p-3">
+        <a href="https://twitter.com/sqcrypto" target="_blank" class="small">
+            <img src="/images/squarecrypto.svg" style="width: 75px" alt="Sponsor Square Crypto">
+            <div>Square Crypto</div>
+        </a>
+    </div>
+</div>
index 64b4af1d83d30cc7cfbb257318b790cdf8d29a83..ac370bedba3f27336b524e8cc19fc21d85a4095c 100755 (executable)
@@ -1,4 +1,5 @@
 #!/bin/sh
+# https://gohugo.io/hosting-and-deployment/hosting-on-github/
 
 if [ "`git status -s`" ]
 then
index a1fd8b0615956b88d399985496f93fa259b37345..1d8c4d648de10d77ee1827eb2218634e8c49e533 100644 (file)
 .descriptor-support-table > table > thead > tr > th:nth-child(1) {
     width: 25%;
 }
+
+main .supporters {
+       max-width: 640px;
+       margin-left: auto;
+       margin-right: auto;
+}
+.justify-content-left {
+       justify-content: left !important;
+}
+.row {
+       display: flex;
+       flex-wrap: wrap;
+       margin-right: -15px;
+       margin-left: -15px;
+}
+.p-3 {
+       padding: 1rem !important;
+}
+small, .small {
+       font-size: 80%;
+       font-weight: 400;
+}
+.supporters img {
+       width: 75px !important;
+       height: 75px !important;
+       margin: 1rem auto !important;
+}
+img {
+       vertical-align: middle;
+       border-style: none;
+}
\ No newline at end of file
diff --git a/static/images/bitfinex.svg b/static/images/bitfinex.svg
new file mode 100644 (file)
index 0000000..8d7c3b1
--- /dev/null
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Generator: Adobe Illustrator 24.1.2, SVG Export Plug-In . SVG Version: 6.00 Build 0)  -->
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" [
+       <!ENTITY ns_extend "http://ns.adobe.com/Extensibility/1.0/">
+       <!ENTITY ns_ai "http://ns.adobe.com/AdobeIllustrator/10.0/">
+       <!ENTITY ns_graphs "http://ns.adobe.com/Graphs/1.0/">
+       <!ENTITY ns_vars "http://ns.adobe.com/Variables/1.0/">
+       <!ENTITY ns_imrep "http://ns.adobe.com/ImageReplacement/1.0/">
+       <!ENTITY ns_sfw "http://ns.adobe.com/SaveForWeb/1.0/">
+       <!ENTITY ns_custom "http://ns.adobe.com/GenericCustomNamespace/1.0/">
+       <!ENTITY ns_adobe_xpath "http://ns.adobe.com/XPath/1.0/">
+]>
+<svg version="1.1" xmlns:x="&ns_extend;" xmlns:i="&ns_ai;" xmlns:graph="&ns_graphs;"
+        xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 231.1 228.1"
+        style="enable-background:new 0 0 231.1 228.1;" xml:space="preserve">
+<style type="text/css">
+       .st0{fill:#98E35D;}
+       .st1{fill:#16B157;}
+</style>
+<metadata>
+       <sfw  xmlns="&ns_sfw;">
+               <slices></slices>
+               <sliceSourceBounds  bottomLeftOrigin="true" height="228.1" width="231.1" x="168" y="-781.1"></sliceSourceBounds>
+       </sfw>
+</metadata>
+<g id="Ebene_1">
+</g>
+<g id="svg446">
+       <g>
+               <path class="st0" d="M227.6,1.3c-0.8-0.3-86-12-170.3,42.3C4.9,77.3-2,126.6,0.4,159.5C122.9,145.8,224.8,5.1,227.6,1.3
+                        M8.7,195.9c10.5,18.5,90.1,60.5,160.6,2.6S233.9,35.1,227.6,1.3C225.3,6.2,148.4,174.7,8.7,195.9"/>
+               <path class="st1" d="M227.6,1.3c-0.8-0.3-86-12-170.3,42.3C4.9,77.3-2,126.6,0.4,159.5C122.9,145.8,224.8,5.1,227.6,1.3"/>
+       </g>
+</g>
+</svg>
diff --git a/static/images/squarecrypto.svg b/static/images/squarecrypto.svg
new file mode 100644 (file)
index 0000000..d874e94
--- /dev/null
@@ -0,0 +1,24 @@
+<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"  viewBox="0 0 500 500" enable-background="new 0 0 500 500" xml:space="preserve">
+                    <g>
+                      <g>
+                        <defs>
+                          <path id="SVGID_1_" d="M38.001,423.401C38.001,444.72,55.283,462,76.599,462c21.319,0,38.604-17.28,38.604-38.599
+                               c0-21.315-17.285-38.599-38.604-38.599C55.283,384.803,38.001,402.086,38.001,423.401 M192.399,384.803v77.194H418.65
+                               c23.939,0,43.348-19.408,43.348-43.347v-33.848H192.399z M38.001,288.603h269.6v-77.198h-269.6V288.603z M384.801,250.002
+                               c0,21.318,17.281,38.601,38.6,38.601s38.598-17.282,38.598-38.601c0-21.319-17.279-38.602-38.598-38.602
+                               S384.801,228.683,384.801,250.002 M38.001,76.604c0,21.314,17.281,38.598,38.597,38.598c21.319,0,38.604-17.283,38.604-38.598
+                               C115.203,55.286,97.917,38,76.599,38C55.283,38,38.001,55.286,38.001,76.604 M192.399,38v77.202h269.599V81.349
+                               C461.998,57.411,442.59,38,418.65,38H192.399z"></path>
+                        </defs>
+                        <clipPath id="SVGID_2_">
+                          <use xlink:href="#SVGID_1_" overflow="visible"></use>
+                        </clipPath>
+
+                        <linearGradient id="SVGID_3_" gradientUnits="userSpaceOnUse" x1="-0.9131" y1="500" x2="1.9136" y2="500" gradientTransform="matrix(150 0 0 -150 175 75250)">
+                          <stop offset="0" style="stop-color:#FF00FF"></stop>
+                          <stop offset="1" style="stop-color:#0000FF"></stop>
+                        </linearGradient>
+                        <rect x="38.001" y="38" clip-path="url(#SVGID_2_)" fill="url(#SVGID_3_)" width="423.997" height="424"></rect>
+                      </g>
+                    </g>
+                  </svg>
\ No newline at end of file