From 3ea1b59506bf08e18da9cb09640619e97a17723a Mon Sep 17 00:00:00 2001 From: Basawaraj Date: Wed, 20 Jun 2018 10:55:42 +0530 Subject: [PATCH] Added Sponsorship details to conference page --- foundation/www/conf/2018/index.html | 60 ++++++++++++++++++++++++++++- 1 file changed, 58 insertions(+), 2 deletions(-) diff --git a/foundation/www/conf/2018/index.html b/foundation/www/conf/2018/index.html index 9b5440a3..5e53a378 100644 --- a/foundation/www/conf/2018/index.html +++ b/foundation/www/conf/2018/index.html @@ -4,6 +4,40 @@ {% from "templates/includes/media.html" import media %} +{% set platinum_sponsors = [{'country': 'India', + 'image': '/assets/foundation/img/conf/sponsors/mnt-logo.png', + 'title': 'MN Technique', + 'website_url': 'https://www.mntechnique.com'}] %} + +{% macro show_section(sponsors, with_img = False, color=False) %} +
+ {% for sponsor in sponsors %} + + {% if loop.index is divisibleby 3 %} +
+ {% endif %} + {% endfor %} +
+{% endmacro %} + {% block page_content %}
@@ -21,7 +55,29 @@ Send Your Proposal
-
+
+
+

Sponsored By

+

A big thanks to our awesome sponsors who make this event happen!

+ {% if platinum_sponsors %} +

Platinum Sponsors

+ {{ show_section(platinum_sponsors, color=True, with_img=True) }} + {% endif %} + {% if gold_sponsors %} +

Gold Sponsors

+ {{ show_section(gold_sponsors, with_img=True) }} + {% endif %} + {% if silver_sponsors %} +

Silver Sponsors

+ {{ show_section(silver_sponsors) }} + {% endif %} +
+

Become a patron for the conference and get associated with a global community + of tens of thousands of users and developers. Sponsors also get complimentary passes for the conference!

+ Become A Sponsor +

+
+

Dates and Venue

@@ -44,4 +100,4 @@
-{% endblock %} \ No newline at end of file +{% endblock %}