Add VividCortex
authorStephen Frost <sfrost@snowman.net>
Fri, 3 Mar 2017 15:29:11 +0000 (10:29 -0500)
committerStephen Frost <sfrost@snowman.net>
Fri, 3 Mar 2017 15:29:11 +0000 (10:29 -0500)
static/images/vc-logo-horizontal_071115.png [new file with mode: 0644]
templates/context.json
templates/pages/sponsors.html

diff --git a/static/images/vc-logo-horizontal_071115.png b/static/images/vc-logo-horizontal_071115.png
new file mode 100644 (file)
index 0000000..b2f7985
Binary files /dev/null and b/static/images/vc-logo-horizontal_071115.png differ
index 30d63a2dc31da15f1641aee5e9f56ce038179741..c78b29acbc68789c9cc32d2e046f1e1c127faa61 100644 (file)
        }
     ],
 
+    "gold": [
+       {
+           "name": "Vivid Cortex",
+           "logo": "vc-logo-horizontal_071115.png",
+           "largelogo": "vc-logo-horizontal_071115.png",
+           "badgelogo": "vc-logo-horizontal_071115.png",
+           "link": "https://www.vividcortex.com/",
+           "intro": "Vivid Cortex"
+       }
+    ],
+
        "blogposts": [
        {
                "title": "Blog Entry 1",
index 1a7a0a6c3e8a18c79e7c4cbaa72ae5079c642579..16ce2ba6e044780d3ca12e6a5fb0ddd1b87c29aa 100644 (file)
                                                {{ row_end.next() }}
                                        {% endif %}
                                {% endfor %}
+          </section>
+
+            <hr>
+
+               <section class="section">
+                       <h3>Gold</h3>
+                       {% set row_start = cycler('<div class="row text-center">','') %}
+                       {% set row_end = cycler('','</div>') %}
+
+                 {% for p in gold %}
+                 {{ row_start.next() }}
+                 <div class="col-md-6 {% if loop.revindex0 == 0 and loop.length
+                          is not divisibleby 2 %} col-md-offset-3 {% endif %}">
+                                       <!-- Gold -->
+                                               <a href="{{p.link}}" target="_blank"><img id="sponsors" src="{{media("images/" + p.largelogo)}}" alt="{{p.name}}"></a>
+      
+                                               <div class="caption">
+                                                       <small><em>{{p.intro}}</em></small>
+                                               </div>
+                                       </div>
+                                       {% if loop.revindex0 == 0 %}
+
+                                               </div>
+                                       {% else %}
+                                               {{ row_end.next() }}
+                                       {% endif %}
+                               {% endfor %}
                </section>
 
         </div>